2007 Feb 27 12:46 PM
I need to write an ABAP report which uses the details on the MD04 Stock Requirements List detail screen for those items which have an Exception Message number (10, 20,30 etc..). The screen shows this data is held in a structure called MDEZ. I have tried performance tracing and ABAP debugging but can't find the actual database table where this data is held.(I'm a newbie).
Can anyone help with the relevant table name or appropriate function module?
2007 Feb 27 3:14 PM
Try BAPI_MATERIAL_STOCK_REQ_LIST
or
MD_STOCK_REQUIREMENTS_LIST_API
Regards,
Ravi
2007 Feb 27 3:11 PM
Check form AUFBEREITUNG_ANZEIGE in main program SAPMM61R, include MM61RF40 in particular - forms aufbauen_mdpsx & mdezx_aufbauen.
They use 2 FMs to retrieve data, but these FMs require proper values to be passed in... so check all code in the form AUFBEREITUNG_ANZEIGE.
As an option - you may try to call this form like
perform AUFBEREITUNG_ANZEIGE(SAPMM61R). and then use field symbol, to access MDEZX.
assign ('(SAPMM61R)MDEZX[]') to <fs_mdezx>.
I hope this helps.
2007 Feb 27 3:14 PM
Try BAPI_MATERIAL_STOCK_REQ_LIST
or
MD_STOCK_REQUIREMENTS_LIST_API
Regards,
Ravi
2007 Jul 10 1:24 PM
So, what is the table name? Does it exist? I'm trying to do a SQ01 query to pick up the exceptions on the MD04 screen, but all I can trace back to is the MDEZ structure.