on 06-27-2007 7:54 AM
Hi,
I want to know the table name for MD04 transaction data. in that transaction i am giving Material, Plant. its showing MRP values and stock. i need to know where it is storing?
points will be rewarded for helpful answers.
Regards,
Balu
Hi,
Just Use:
CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'
EXPORTING
PLSCN = "Planning Scenario of Long-Term Planning
matnr = <t_marc>-matnr "Material Number
werks = <t_marc>-werks "Plant
inper = 'M' "For Months
ergbz = s_ergbz-low
BERID = "MRP Area
IMPORTING
E_MT61D =
E_MDKP =
E_CM61M =
E_MDSTA =
TABLES
MDPSX = t_mdps
mdezx = t_mdez
mdsux = t_mdsu "Summary table
EXCEPTIONS
material_plant_not_found = 1
plant_not_found = 2
OTHERS = 3.
Please it is exactly replica of MD04, so whatever is possible in MD04 e.g. setting the filter, everything is possible in this FM as it has got all the required parameters. In the above example I am retrieving the 'Summary' data monthwise.
I hope this helps,
Regards
Raju Chitale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
10 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.