‎2011 Jan 31 12:45 PM
Hi,
I'm trying to modify the status of an Inbound IDoc using FMs 'EDI_DOCUMENT_OPEN_FOR_EDIT', EDI_DOCUMENT_CLOSE_EDIT.
But the message that I'm passing in STATXT field of structure EDI_DS40(used in FM EDI_DOCUMENT_CLOSE_EDIT) that is not being reflected in the IDoc when I'm checking it through WE05.
regards,
Sarbajit.
‎2011 Jan 31 1:00 PM
Have you passed
do_commit = 'X'
do_update = 'X'
write_all_status = 'X'
‎2011 Jan 31 1:05 PM
‎2011 Jan 31 1:11 PM
Check whether you have populated the table correctly.
For example you can refer link:[http://www.erpgenie.com/sapedi/idoc_abap.htm]
‎2011 Jan 31 10:26 PM
Hello Sarbajit
In order to "delete" IDocs (i.e. status = 68) I use fm IDOC_STATUS_WRITE_TO_DATABASE.
Not sure if it will work in your context but you may give it a try.
Regards
Uwe