I need help regarding issue where i need to change the idoc status to ERROR(51),to reprocess it using program RBDMANI2(this program processes idocs only with status 51(Error)).
I am using function module EDI_DOCUMENT_CLOSE_EDIT to close the idoc after the changes are made to the "Idoc data". Inside this function module the status record table for Idoc "EDIDS" is filled.
So I need to change status record to "ERROR" to reprocess it using the program mentioned above.
Please help to solve this issue.
Thanks & Regards,