08-23-2012 9:31 AM
Hi all,
We triggered a job which create multiple idocs.
then i want to see all the messages with respect to idocs if it fails. This i can see using transaction MM90.
But i want to download all these failure messages (idocs), for furthur analysis.
Do you know the table name where these messages will be stored for this MM90 transaction.
Thanks & Regards,
Venkat
08-23-2012 9:36 AM
08-23-2012 9:57 AM
You can make use of the SAP tables EDIDC- for control records,EDID4-for Data Records and EDIDS-for Status records.
Open SE11 and give the table name as EDIDS, search for the records with idoc status and time and username.
or else open t-code we02 or we05.
see the records after the time of job run.
you will get list of idocs that are processed.
08-23-2012 10:05 AM
Make a modification to your job program....
after the idoc has been successfully posted write a sql query from table EDIDS to fetch all status records of processed idocs. inside the query pass time as range (sy-uzeit), and username. Save all the records into a local internal table and call the function module "GUI_DOWNLOAD" to download it into a flat file.
Hope this is useful to you...
Regards,
SUDHEER KUMAR CH S M.