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