In practice, there are various situations that occur that can influence your use of the data transfer program.
A completely new warehouse is implemented. Inventory Management (IM) and Warehouse Management (WM) are to be used for this new warehouse. IM is already used for other storage locations.
Procedure:
· You do not need to transfer existing stocks.
· Define a new MM storage location.
· Activate WM for this storage location.
· To do this, you need to create the Warehouse Management view for material masters, amongst others. You can use program RLMG0020 and a batch input session to create the Warehouse Management view in material masters that already exist in IM. You maintain new material masters manually, or you use the transfer program for the material master.
· If you want to transfer stocks from other warehouses, you should start with a stock transfer in Inventory Management.
The Warehouse Management System should manage an existing warehouse, with summary management in IM and storage bin management in an external system.
Procedure:
· Define a new MM storage location.
· Here also you need to create the Warehouse Management view for material masters, amongst others. Because plant data already exists for the materials, you can use report RLMG0020 to create these views using a batch input session.
· Transfer post the stocks that the WM system should manage, from the previous MM storage location to the new MM storage location.
· Post the stocks from the WM stock transfer interim area to the actual storage bins. Copy the following data from the file in the SAP system:
¡ Company code
¡ Plant
¡ Material number
¡ Batch number
¡ Quantity
¡ Storage bin
¡ Goods receipt date
· In the “movement types” table, a special movement type (311) is set up for the business case “Warehouse with summary management in IM". This movement type recognizes the storage type and storage bin of the interface and the storage type of the reserve warehouse.
· After you have posted all the bin quantities according to the warehouse register, the stock transfer interface must be empty, insofar as the stock levels must match in IM and in the warehouse register. You can control this, for example, using report RLS10030 (bin status report).
The Warehouse Management System should manage an existing warehouse, with summary management in IM and storage bin management in an external system.
Procedure:
· The process flow is basically the same as for the above case 2.
· As is case 2, creating a material warehouse view is supported with program RLMG0020.
· In this case you can automate creating storage bins using report RLPLAT00. This report reads a data set into the structure RLPLA and creates a batch input session for creating storage bins. For this, you must already create a file in the SAP structure RLPLA in your existing IT system and then, for example using file transfer, move the file to the relevant SAP folder (see additional programs for data transfer in the Warehouse Management System) and rename the file.
· The booking in from the stock transfer interface to the storage bins is not performed manually. Instead, it is performed automatically using the information about the storage bins that is stored in the DP file of the external system. For each storage bin stock you create a record with a specific structure (structure RLBES).
· You use report RLBEST00 to create the batch input session for transferring the stocks.
An external inventory management system and warehouse management system should be decoupled from the component IM and the Warehouse Management System.
Procedure:
· First, transfer the material masters into the inventory management system (see Customizing for IM)
· Then, as in case 3, transfer the material masters warehouse view.
· Create the storage bins as in case 3.
· For each storage bin stock in the DP file of the external system, create a record with a specific structure (structure RLBES). You use report RLBEST00 to create a batch input session. To create the transfer orders, use a WM movement type that performs the following posting:
· FROM opening interface TO actual storage bin
· There have been no changes to the total stock in the Warehouse Management System after the batch input session has run (total stock = 0). The total of the materials is in the opening interface with a negative quantity.
· Check whether this negative quantity was posted to the opening interface.
· If this is the case, post the stocks in IM as a stock opening.
· If, in exceptional cases, there are no negative quantities in the opening interface, then you normally need to perform a detailed check of the steps described above.
Replacing an R/2 warehouse management system with an ECC warehouse.
SAP supports two options in this case:
a. SAP ECC contains several function modules that create datasets with the structures LDK30 (name of the function module:
¡ L_DATASET_CREATION_LDK30),
¡ LDK31 (L_DATASET_CREATION_LDK31),
¡ LDK33(L_DATASET_CREATION_LDK33), and
¡ LDK34(L_DATASET_CREATION_LDK34).
To do this, you must have installed the necessary Basis components (Remote Function Call) in R/2.
b. If you use PC Connection in your company, you can also use this components to transport data from R/2 to ECC.
Procedure for a:
Case 5 does not differ essentially from case 4. However, SAP does offer other transfer programs here.

You must not deviate from the sequence of programs described below!
§ Transfer storage bins:
In R/2, create a data set with the structure LDK34 and transport the data set into the ECC environment. Report RLMG0000 converts LDK34 into the structure RLPLA. You can start report RLPLAT00 from RLMG0000, which generates the batch input session for generating the storage bins. After you run program RLPLAT00, you can use program RLMG0001 to transfer the inventory data (for more information, see under “Additional programs for data transfer in the Warehouse Management System).
§ If you want to transfer specific material master data in the warehouse number view from the R/2 system, use the ECC report RLMG0050. This report reads a data set with structure LDK30 and creates a batch input session for creating the material master’s warehouse number view.
§ If you want to transfer a fixed storage bin type, you also require additional material master data in the warehouse type view. You can copy this data using a batch input session in ECC with the program RLMG0060 (structure LDK31).
§ Transfer stocks:
In R/2, create a data set in the structure LDK33. Report RLMG0010 converts LDK33 into the structure RLBES. You can start report RLBEST00 from RLMG0010, which generates the batch input session for putting away the materials. After you run RLBEST00 you can use RLMG0011 from the data set for structure LDK33 to transfer the inventory data (see additional programs for data transfer in the Warehouse Management System)