I have to get the available stock.The client requirement is like the below.
The field Available Quantity = MARD-LABST minus all commitments. To see all the commitments, you must retrieve from R/3, you can call transaction MMBE for each Plant and Storage Location. Calling this transaction is the only way I know to gather all the commitments that SAP calculates. Every item on this list must be deducted from the unrestricted stock figure (which is the first line in the box when you double click on the inventory).
In this list there are several tables mard,mska,mkol,mslb,mspr and also the structure RMMMB. For the tables i think we will get somehow based on the inputs .But for a structure, How we will get the data from the Structure? I done the debugging for that, but i couldnt able to find that . So, if any oneone have worked on this before or knows just give me your suggestions.
Thanks & Regards,
Himantha Kumar S