11-05-2012 6:42 AM
I need to rule out default picking strategy while TO creation using LT03.
for it am trying to use exit MWMTO004.
here i am trying to fetch the corresponding details from LQUA table and then passing same to t_qmat table.
my intention is to rule out default picking strategy and do picking based on Storage unit number.
but I am gettting error
"System cannot find source storage bin".
If any one has possible solution please let me know or if any pne has done this earlier please explain.
Thanks a lot !!
Ankitesh Khare
11-05-2012 7:29 PM
Ankitesh,
What is your current picking strategy in config? is userexit active?
SAP (in ECC 5.0) says that userexit can be active for only 'F' or ' ' picking strategies.
As far as i know, populating T_QMAT from LQUA in the userexit would be sufficient for custom picking strategy.
Thanks
VM
11-06-2012 5:10 AM
hi Venkat,
In cofig the strategy is F and the user exit is also active there.
still this is not working.
11-05-2012 7:45 PM
Hi,
I think the issue is not with user exit.
Normally this error comes if you have an incorrect Batch Search Strategy at WM level.
Use below steps -
1. Using tcode OMK1 unassign any Batch search procedure maintained at WM level
2. Be sure that your storage type picking strategy is F
This will make TO to get batches as part of FIFO picking strategy.
Thanks
Anubhav
11-06-2012 5:08 AM
Hi Anubhav,
I tried to check using OMK1 and found that we are not using any batch search procedure..
I have cross checked and found that the picking strategy is F.
I tried to hard code a break point in the exit and found that the control goes again and again into the exit and each time after refreshing Qmat table it is filling same entry in it.
11-07-2012 2:46 AM
Ankitesh,
The user exit is triggered for each storage type searchsequence defined.
Check config at SPRO -> Logistics Execution -> WM -> Strategies -> Activate Storage type search
If the system is unable to find a bin for the first storage type, it tries for the next Storage type defined, executing user exit each time. There could be many reasons why it is unable to find a bin, perhaps not enough quantity.
Hope it helps!
Thanks,
VM.
.