Is there any Function Module using which I can delete an IDoc generated in SAP system. The FM should take IDoc number as input.
Asked
Active
Viewed 1,209 times
-1
-
3Googling for `function module delete idoc` returns this name `EDI_DOCUMENT_DELETE`. – Jagger Nov 20 '15 at 08:11
-
When asking a question on stackoverflow please: Provide details. **Share your research.** – Gert Beukema Nov 20 '15 at 16:37
-
IDocs can be deleted via archiving as detailed here: https://help.sap.com/doc/saphelp_nwpi71/7.1/en-US/dc/6b821443d711d1893e0000e8323c4f/content.htm?no_cache=true – L.P. Blake Jul 01 '19 at 15:30
2 Answers
0
No there is no specific FM to delete an IDOC, but why do you want to delete IDOC's?
SAP uses IDOC status to control IDOC's . If you don't want IDOcs to be processed you may set a status to provide that.

Bernhard Lascy
- 69
- 3