Application Development and Automation 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: 
Read only

Require a Function Module or a BAPI

Former Member
0 Likes
333

Hi,

Does anyone in here knows a FM or a BAPI(preferred) that would take the Material Number & Plant as input and return the available quantity available under different storage location for the plant.

No logic is to be written. Strict usage of FM or BAPI.

Suggestions welcomed.

Thanks & Regards,

Rajesh

2 REPLIES 2
Read only

Former Member
0 Likes
298

Hi,

Please try BAPI_MATERIAL_GET_DETAIL

Regards

Amole

Read only

Former Member
0 Likes
298

BAPI_MATERIAL_GET_DETAIL can be used.

If you change your mind sometime,

here is the code for it

select matnr

werks

lgort

LABST

from mard

into table it_mard

where matnr in s_matnr

and werks in s_werks.

Regards,

ravi