‎2010 Feb 14 12:16 PM
Hi All
Please find my requirement below:
I have created a program to confirm the TO. For this I'm calling L_TO_CONFIRM FM to confirm TO. But my client asks to perform Zero Stock Check, as in LT12, in my program befor TO confirm. Please tell me how to do this?
And, the condition for this is I need to check if the Bin doesn't have any more quantities. For this, I'm asked to activate this check when the TO quantity and BIN quantity is equal. Please tell me how to check this as well with Technical field names.
Thanks in advance.
Skysen
‎2010 Feb 14 10:30 PM
Hi,
you can get list of all quants for selected material with BAPI BAPI_WHSE_STOCK_GET_LIST. BAPI BAPI_WHSE_STOCK_GET_DETAIL will give you an information about quant. You should be able to do zero stock check from data retrieved by these two BAPIs. Another way is to debug LT12 to figure out how SAP does zero stock check.
Cheers
‎2010 Jun 07 8:52 AM
Hi
Thaknks all.
I just enabled a parameter to activate 0 stk check.
Regards
Senthil
‎2013 Oct 11 6:35 AM
‎2013 Oct 18 7:31 AM