FAQ KB0524257
Email
How to collect the trace to investigate issues with Invoice attachments sent from AN to ERP through Managed Gateway for Spend&Network in IDOC?
Symptom

When an Invoice is sent from SAP Business Network to ERP via SAP Integration Suite, managed gateway for spend management and SAP Business Network with an attachment, the attachment is sent in the IDOC from Managed Gateway for Spend&Network to ERP but it isn't visible in the ERP.


Resolution

The following steps should be taken to collect the trace:

  1. Go to WE02 TCode and copy the IDOC number of an example that is having the issue.
  2. Go to SWELS TCode and enable the trace (make sure that there isn’t any restriction). Note that when the button shows “Switch off” it means that the trace is enabled.
  3. Go to WE19 TCode, paste the IDOC number collected in step number 1 and execute.
  4. Go to SWEL TCode to visualize the result of the trace.
  5. Add the value IDOCINVOIC in the label for the 'Creator' object type and execute (Please take a screenshot of the result of the execution).
  6. If you see an entry for IDOCINVOIC, please double-click in the event (take a screenshot of the screen that will show up).
  7. Repeat steps 5 and 6 searching for IDPKINVOIC instead of IDOCINVOIC and provide the screenshots as well for this new search (the result of the execution and the screen shown if you double click in the entry).
  8. After these steps, go to SWETYPV and take a screenshot of the configuration done for all the object types found in the trace.

With all the screenshots taken, please feel free to log a Service Request for the SAP Ariba Cloud Integration Support team.

Note that before collecting the trace, it is highly important to double-check the KBA Why the attachment sent in the Invoice from SAP Business Network to ERP through Managed Gateway for Spend&Network isn't visible in the ERP? and make totally sure that all configuration mentioned there is correctly in place. If all the configuration mentioned is correctly in place, then the trace can be collected and the Service Request created.


See Also

Please refer to the configuration guide How to enable attachments and comments for invoices | SAP Help Portal for more information about this part of the configuration.



Applies To

SAP Integration Suite Managed Gateway > Managed Gateway for Business Network

Terms of Use  |  Copyright  |  Security Disclosure  |  Privacy