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

Function Module for MD04

Former Member
0 Likes
2,192

Hi ,

I am looking for a function module that will give the values that MD04 transaction shows.

I need the Planned Independent Requirement (PIR ) and the available qty thats gets displayed in MD04 transaction .

The function module 'MD_STOCK_REQUIREMENTS_LIST_API' gives what i want in the tables parameter 'mdsux' . But the issue is this FM takes only one plant and one material as the input.

But i have like 1000's of material and to get the PIR and available qty i need to loop them and call this FM for each material. It takes lot of time.

Is there any FM /BAPI that will give the same value as MD04 trnasaction but for 'N' number of materials at one time ?

Or is ther any table where i can read the values ?

I really appreicate your help.

2 REPLIES 2
Read only

GauthamV
Active Contributor
0 Likes
845

check these tables.

MDKP,MDPS

Read only

Former Member
0 Likes
845

Hi Sudha,

Check out the reply in the link below.

[For multiple materials|]

Hope this will help you, Cheers....

Regards,

Amit.