Debugging Guide For XML Processing: Purpose
Debugging Guide For XML Processing: Purpose
Community WIKI SAP Community Welcome, Guest Login Register Search the Community
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.
1. In transaction SXMB_MONI you can find the XML that you would like to debug.
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:
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.
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
https://wiki.scn.sap.com/wiki/display/SRM/Debugging+guide+for+XML+processing 4/4