Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

regarding Stock

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

<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

8 REPLIES 8

Former Member
0 Kudos

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

0 Kudos

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.

0 Kudos

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

0 Kudos

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.

0 Kudos

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

0 Kudos

hi thanks but still i am not getting the values i want to be display,

can u send full prog ?

thanks

Regards,

Navin S.

0 Kudos

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

Former Member
0 Kudos

<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