You are on page 1of 4

11/9/2018 Debugging guide for XML processing - Supplier Relationship Management - SCN Wiki

Getting Started Store

Community WIKI SAP Community Welcome, Guest Login Register Search the Community

Supplier Relationship Management / … / ESOA - Enterprise Service Oriented Architecture

Debugging guide for XML processing


Created by Former Member, last modified by Daniel Marlen on Oct 02, 2018

Purpose
This page is to guide You through XML processing in debugging mode. If You face error during XML processing in SAP SRM, You can use this guide to find out the root cause of the error.

Overview
To debug the XML process, it is necessary to download the XML from SXMB_MONI (or SRT_MONI) and to process it using transaction SPROXY.

Debugging Guide example


In this example, You will see XML processing of Purchase Requisition document, arriving from ECC MM in SRM. The resulting document will be a Shopping cart. The XML processing failed on the first
run. We would like to find out why.

1. In transaction SXMB_MONI you can find the XML that you would like to debug.

2. Open the Interface in transaction SPROXY:

https://wiki.scn.sap.com/wiki/display/SRM/Debugging+guide+for+XML+processing 1/4
11/9/2018 Debugging guide for XML processing - Supplier Relationship Management - SCN Wiki
3. Inside the provider class set a breakpoint (or set a different desired breakpoint, where you would like to start the analysis):

4. Download the XML message from transaction SXMB_MONI. You need to open the payload and download the MainDocument using button Window 2:

5. Go back to SPROXY and execute (F8) the Interface.

https://wiki.scn.sap.com/wiki/display/SRM/Debugging+guide+for+XML+processing 2/4
11/9/2018 Debugging guide for XML processing - Supplier Relationship Management - SCN Wiki
6. In the pop-up window press F8.

7. Load the XML document and execute it.

https://wiki.scn.sap.com/wiki/display/SRM/Debugging+guide+for+XML+processing 3/4
11/9/2018 Debugging guide for XML processing - Supplier Relationship Management - SCN Wiki
8. The debug will start and your breakpoints will stop.

srm-ebp-esa

Contact Us SAP Help Portal


Privacy Terms of Use Legal Disclosure Copyright Cookie Preferences Follow SCN

https://wiki.scn.sap.com/wiki/display/SRM/Debugging+guide+for+XML+processing 4/4

You might also like