on 03-01-2012 3:14 PM
Dear Gurus,
I'm looking for a way to pick up stock in storage type that allow negative stock with out creating negative stock
Example :
Transfer request of 10 item of the material A
Stock :
2 items in storage type 001 -> No stock negative allowed
2 items in storage type 002 -> Stock negative allowed
6 items in storage type 003 -> No stock negative allowed
Search sequence 001, 002, 003
In the standard during the creation of the transfer order the system will create the transfer order :
2 items in 001 and 8 items in 002
I haven't find any clue in the customizing in order to force the picking of the quantity available only.
the second solution can be to implement user exit ;
MWMTO001 | Enhancements for end of transfer order generation |
MWMTO002 | Enhancements at end of transfer order confirmation |
EXIT_SAPLL03T_001
EXIT_SAPLL03T_002
What are your recommendation ?
Thanks.
As per search sequence system checks the stock in storage type and cretes transafer order as per stock.
You are right..You need to choose any one user exit and insert logic if any one has stock then create the transfer against that storage type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Frenchy and Sridhar for your quick answer.
I agree on the fact that only interim storage type should have the possibility to have negative stock, and for sure the WM structure is wrong.
After reading of the documentation of the user exit, I think it's not possible to modify the TO.
MWMTO001
"All database changes due to the transfer order
have already been performed. The transfer order is created.
With this user exit, you can update your own tables or trigger follow-up
actions. Although changes made to table T_LTAP_VB do not have any
effect, they should still not be made"
MWMTO002
"With this user exit, you can update your own tables or trigger follow-up
actions. Although changes to table T_LTAP_VB are without any meaning,
they should still not be made"
So I think that the last option and the "best option" is to change the structure do not allow negative stock.
Thanks for your feedback. I close this subject.
Antoine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The only storage types that should allow negative stocks should be the interim ones 901 , 902 etc
If you allow negative stocks then the TO will keep picking from the storage type and will never go anywhere else
If you must allow negative stock them maybe that st type should be the last in your strategy so that it picks from the other storage types first
I dont understand why you would allow negative stocks
How can you pick something that is not there?
I hope that this helps
Frenchy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.