I am looking for sorting / splitting the Transfer Order based on Destination Storage type. I could sort TOs created for picking, but not working for TO for stock placement. Currently Transfer Orders are being created in the sequence of TR line items
Tried creating sort profile at LE-WM-Activities-Define Print Control- Sort Profile and also at LE-WM-Activities-Transfers-Processing Performance data/TO Split-Define profile and assigned this to Print Code, Still unable to split TO creation / Printing based on destination storage type
Request for inputs please
Split TO for Putaway cannot be achieved from customizing. You have to use the user exit MWMTO012 -Correction of Sorting and Split Transfer Order in this case. This user exit can also be used in Picking if customizing cannot meet your requirements. For more information see the system documentation on this user exit.
Reward if helpful.
For standard TO processing, sort profile doesnt help much as the sorting is already done at the time of Transfer Order creation. Please check the SAP IMG documentation of print control OMLV below,
The sort profile sets the sequence of the transfer order items for printing. As of Release 4.1A, this only applies to printing in multiple processing, since during "standard" TO processing the sorting is set already when the TO is created. Furthermore, you can decide during multiple processing printing whether there should be a control break, that is, whether printing should continue on a new page if the field content changes.
User exit MWMD0001 and MWM0002 can be used to extend the functionality of the print program RLVSDR40 (general print program) and RLKOMM40 (multiple processing) respectively.
I guess you would have to activate user exit "MWMTO012" Function Module "EXIT_SAPLL03A_012" which would be triggered before even the TO is created. Also, check to see if you can enhance print programs to achieve this.