Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> UserExit>MWMRP001



Using this customer exit, you can change the internal table of the delivery items of the report Replenishment planning for fixed bins (RLLNACH2). This report creates transfer requirements in advance for the replenishment of fixed bins. Here stock removals based on deliveries for a forecast period are also taken into consideration.

The report also considers for the stock situation all planned stock removals through fixed bin picking. You can limit the respective deliveries that initiate these stock removals using the forecast period and other selection criteria. Replenishment transfer requirements that were already created are viewed as future stock.

You can use this report to create, at the end of the day, all the replenishment transfer requirements for supplying the fixed bins for the following day. In this way, you get an overview of the planned replenishments. The report does not perform any exact planning or controlling of replenishments. The initiation and execution of the physical replenishment transports must be organized. The replenishment postings in the system take place when a transfer order is created for the transfer requirement and is confirmed after execution.

Not all items of the selected deliveries are relevant for fixed bin replenishment since not all stock removals are taken from fixed bins. Therefore, there is a selection performed in the system of the delivery items relevant for the fixed bin. This selection is based on the parameters set for the material and the fixed bin storage type.

EXIT_RLLNACH2_001: Changing the table of the delivery items

Using the customer exit EXIT_RLLNACH2_001, you can change the records of the delivery items selected by the system.

To fill the function module with data, you must create the include ZXLRPU01.


Import parameters: None

Export parameters: None

Table parameters: T_LIPOS
Table T_LIPOS contains the delivery items selected by the system and has the following structure:
MATNR: Material number
VBELN: Number of the delivery
POSNR: Number of the delivery item
LGMNG: Quantity of delivery item yet to be picked
BEDMNG: Requirement quantity; quantity of delivery item determined by the system that is relevant for removal from the fixed bin
LGPLA: Storage bin number of the fixed bin of the delivery item
NSMNG: Replenishment quantity of Table MLGT (material data per storage type)
MAMNG: Control quantity of table MLGT (material data per storage type)

The table is sorted according to MATNR, VBELN and POSNR in ascending order. In the customer exit, you can page through the entire table, record by record, and change the requirement quantity according to individual rules. All the other fields should no longer be changed. Entire records can also be deleted. For records with requirement quantity = 0, there is no further processing when the transfer requirements are created since through them the total of the requirement quantity per material is not changed.

  • EXIT_RLLNACH2_001: Create TransReqmts for Fixed Bin Replenishment: Change Del. Items Selected