07-03-2007 11:23 AM
Hi All ,
I want to check the stock as per posting date , in which table i can find the related data .
Please tell me ASAP.
Regards,
Navin S.
07-03-2007 11:50 AM
<b>MARD</b> (Storage Location Data for Material )
<b>T001L</b> (Storage Locations)
posting date (<b>MKPF-BUDAT</b>) and material.
reward points if it is usefull ....
Girish
07-03-2007 11:28 AM
Hi,
MARD (Storage location wise details for the material) and MBEW (Material valuation) tables. This might satisfy your needs.
MARDH
Use FM BAPI_MATERIAL_AVAILABILITY to get availability of stock on particula date.
<b>Reward points</b>
Regards
07-03-2007 11:39 AM
hi thanks for ur qiuck reply,
can u send code for the FM cos im facing problem for using that function module,
Thanks again,
Regards,
Navin S.
07-03-2007 11:45 AM
Hi,
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.
<b>Reward points</b>
Regards
07-03-2007 11:52 AM
hi SKK ,
Thanks for code but it was not working can u tell me more or any other way to get the relevent data.
Thanks,
Regards,
Navin S.
07-03-2007 11:56 AM
Hi,
after calling BAPI use
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
Refer the link
https://forums.sdn.sap.com/click.jspa?searchID=3612717&messageID=403529
<b>Reward points</b>
Regards
07-03-2007 12:02 PM
hi thanks but still i am not getting the values i want to be display,
can u send full prog ?
thanks
Regards,
Navin S.
07-03-2007 12:08 PM
Hi,
You can enter the name of the FM in se37 then click on the where-used-list you will get the program names where this fm used
check the program
MMWE0F01
<b>Reward points</b>
Regards
07-03-2007 11:50 AM
<b>MARD</b> (Storage Location Data for Material )
<b>T001L</b> (Storage Locations)
posting date (<b>MKPF-BUDAT</b>) and material.
reward points if it is usefull ....
Girish