Skip to Content

Selection of the batch at WM TO level

Hi All,

I would like to know if there is any suggested enhancements or code changes for selecting the batch at TO level.

currently there is no batch determination configured at WM level , but system is determining the batch while creating TO based on the Picking strategy FIFO. But User requirement is that system should not pick the batch , it should ask user to enter or scan the batch while picking the stock. I have checked configuration , but I guess this can't be controlled through configuration. so looking for any code changes.

Please advise.

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Posted on Feb 13, 2017 at 11:35 AM


    Could you please refer this Wiki link which provides further information about all the Enhancements in the WM area.

    You can also find further information through below link:

    SPRO -> Logistics Execution -> Warehouse Management -> Tools -> Develop User Exits for Warehouse Management : here click on 'IMG activity document' which provides documentation about the userexits.

    As per your initial description since it's a picking strategy, one of the following enhancements would be useful:

    • MWMTO003 Own stock removal strategy
    • MWMTO004 Own stock removal strategy
    • MWMTO008 Storage type search for stock removals


    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 13, 2017 at 11:55 AM

    I doubt that you have evaluated all customizing options, as not doing any strategy and not proposing any batch is probably the easiest case in general, so to say: if you have not done anything yourself then it is just achieved the way you want.

    Your story does not not tell anything for what you are actually do the picking, is it for an outbound delivery or a production staging?

    What makes you certain that it picks according to FIFO, is this setup so in the picking strategy for the storage type, have you already tried to remove it?

    Do you eventually do the batch determination already in the reference document?

    Add comment
    10|10000 characters needed characters exceeded

    • We are doing it for outbound delivery. But we would like to keep the FIFO strategy for the storage type as the storage type is having non batch managed stock as well. That is the reason we are looking for enhancements that could stop picking up the batch at TO level.

  • Posted on Feb 13, 2017 at 01:25 PM

    If you are using SU management, set up a Bulk storage type.. the batch will not be determined ahead of time, only the bin. If you are not, then write a custom RF program that shows the user only which bin to pick from. If the user scans the same batch as the TO, then all is good, confirm the TO as usual. If not, have the program delete the current TO (or TO line) and create a new TO with the actual batch being picked. It is a bit of ABAP work, but will work because the end-user does not see that complexity.

    Add comment
    10|10000 characters needed characters exceeded

    • There are no exits or enhancements. The function modules you will be using to create, confirm & cancel TOs all start with L_TO_*. Some of them are L_TO_CREATE_SINGLE, L_TO_CREATE_DN_MULTIPLE, L_TO_CONFIRM and L_TO_CANCEL. Depending on the situation you may use others too... they are all fairly well documented in SE37.