‎2011 Feb 06 3:07 AM
Hi ABAP Gurus,
I have requirement to find real availability stock (status is not reserved nor in PO status).
I've tried using FM 'BAPI_MATERIAL_AVAILABILITY'. It gave me not only the real availability stock, but also stock that still in PO (committed qty).
Are there any FM or table to accommodate my requirement?
I'm not so sure about MARD table. It has Unrestricted stock field. Is that field can accommodate my requirement?
Thanks for the help.
Best Regards
::gaantz::
‎2011 Feb 08 8:25 AM
Hi,
Check the function module MD_STOCK_REQUIREMENT_LIST_API. It's the same that tcode MD04 uses. Filter the records that you want and build your own algorithm of availability.
Regards
Eduardo
‎2011 Feb 08 3:13 PM
It gave me not only the real availability stock, but also stock that still in PO (committed qty).
Then you need to use or configure a different checking rule to match. See the SD->Basic Functions section of the IMG.