‎2009 Dec 12 6:43 PM
Hi All,
I am writing the user exit to do the following :
When receiving a material in the warehouse search all storage bins for the same material
check if the receiving material can be put in the existing bin if space is left in the existing bin
otherwise get an empty bin
Any sample code would be helpful.
Thanks
Meghna
‎2009 Dec 14 7:41 AM
Hi,
You can use following Logic.
1. Fire Select on LQUa with material to get storage Bins
2. Fire query on LGPA to get details of BIN
3. If (Max weight (LGPA-LGEWI) <> Occupied Weight(MGEWI) and Total Cap(LKAPV) <> Cap used(BKAPV)) -- You can consider Bin for use. (If above values not initial)
Hope this helps
Nag
Edited by: Naga Mohan Kummara on Dec 14, 2009 9:49 AM