Skip to Content

Debug inbound IDOC in real time

Dear All,

I have an error in IDoc and while re-processing I am getting an authorization issue because it calls a PO change bapi Inside code.

Is there any way we can debug in real time? As in if I do a transaction in prod and while posting the entry in sap it should stop.?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 30, 2017 at 07:03 AM

    Hi Nitin,

    • You can set a breakpoint at the beginning of the function module associated with the process code configured for the IDoc in the partner profile and re-trigger the posting with T-Code BD87
    • You could process a copy of the idoc in foreground using t-code WE19.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      The only way I know how you would get into a "real-time" debugging session for an IDoc that is not triggered through re-processing is by setting up an external breakpoint for the user that posts the IDoc to SAP. However, external breakpoints are only possible for dialog users and subsystems posting IDocs would typically be configured with a system user that cannot start a dialog process.