-1

Is there any Function Module using which I can delete an IDoc generated in SAP system. The FM should take IDoc number as input.

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
AKS
  • 39
  • 1
  • 8
  • 3
    Googling 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 Answers2

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.

0

RFC EDI_DOCUMENT_DELETE can be used to delete the IDoc number.

AKS
  • 39
  • 1
  • 8