How can I analyze a failed IDoc when the status is "51" and the message is " application document not posted"?
In table EDIFCT there is the combination of message type and IDoc type assigned to a function module to processs the IDoc. Find this function and put a break-point in it. Then reprocess the IDoc with BD87 (or the ABAP RBDINPUT to save an extra step) and debug from where the procedure stops. From here, you are in the application and can to see what goes awry.
Dig Deeper on SAP integration
Related Q&A from Axel Angeli
An SAP user is receiving an error message while integrating SAP iDoc PORDCR1 for a purchase order. Continue Reading
SAP expert Axel Angeli explains how to update the "further dates" tab information in am SAP transaction through an SAP IDoc. Continue Reading
An SAP R/3 4.7 user wants looking to post a document entry using different trading partner fields for credit and debit for function FB01. Continue Reading