2006 Feb 23 5:11 PM
Hi experts,
You Know some FM that checks the available stock of some material in somer Storage Location ?
Thanks in advance.
Alexandre Nogueira
2006 Feb 23 5:27 PM
2006 Feb 23 5:15 PM
2006 Feb 23 5:16 PM
No, it's not that simple, I need a FM that check the reservations, and everything.
Alexandre Nogueira
2006 Feb 23 5:23 PM
2006 Feb 23 5:28 PM
Yeap, I need to check availibility.
But I know there is a FM that do this ATP check, but I cant find it out!!
thanks,
Alexandre Nogueira
2006 Feb 23 5:36 PM
Have you checked into this BAPI yet?
report zrich_0003.
data: iwmdvsx type table of bapiwmdvs with header line,
iwmdvex type table of bapiwmdve with header line.
parameters: p_matnr type mara-matnr,
p_werks type marc-werks,
p_meins type mara-meins.
call function 'BAPI_MATERIAL_AVAILABILITY'
exporting
plant = p_werks
material = p_matnr
unit = p_meins
* CHECK_RULE =
* STGE_LOC =
* BATCH =
* CUSTOMER =
* DOC_NUMBER =
* ITM_NUMBER =
* WBS_ELEM =
* STOCK_IND =
* IMPORTING
* ENDLEADTME =
* AV_QTY_PLT =
* DIALOGFLAG =
* RETURN =
tables
wmdvsx = iwmdvsx
wmdvex = iwmdvex.
check sy-subrc = 0.
Oops, looks like I'm a tad late. Oh well.
Regards,
RIch Heilman
2006 Feb 23 5:27 PM
2006 Feb 23 5:35 PM