Debugging XML From ECC To SRM - SAP Blogs PDF
Debugging XML From ECC To SRM - SAP Blogs PDF
Products
Products Industries
Industries Services Support
Services and Support Training
Training Community
Community Developer
Developer
Partner
Partner About
About
Ask a Question Write a Blog Post Login
Former Member
November 24, 2016 2 minute read
This blog will show how to debug XML that are transferred from ECC to SRM in the below scenarios:
XML is successfully transferred to SRM but some data information is not correctly mapped
XML is in error and you need to know what is the error/cause/solution
Scenario 1:
To start here, let’s imagine the rst scenario where a Purchase Requisition is transferred to SRM and the XML
is successfully transmitted. Then, you want to check what is being created and mapped from the XML to the
cart.
https://blogs.sap.com/2016/11/24/xml-debugging-from-ecc-to-srm/ 1/6
7/10/2019 Debugging XML from ECC to SRM | SAP Blogs
https://blogs.sap.com/2016/11/24/xml-debugging-from-ecc-to-srm/ 2/6
7/10/2019 Debugging XML from ECC to SRM | SAP Blogs
8- Run again
9- Click on XML editor and paste the XML captured in SXMB_MONI (view source)
10- Click on pretty printer and check the form (F9) – It shall give you a positive message saying that XML is
well-formed
11- Change the XML content that you pasted in the XML editor in this eld: <ID> PR NUMBER </ID> to another
PR number (E.g. <ID>11656092 </ID>)
https://blogs.sap.com/2016/11/24/xml-debugging-from-ecc-to-srm/ 3/6
7/10/2019 Debugging XML from ECC to SRM | SAP Blogs
IMPORTANT: make sure this PR does not exist in SRM yet. You can look on BBP_PD to ensure that
Scenario 2:
Now, let’s imagine the second scenario where a Purchase Requisition is transferred to SRM and the XML is in
error at SRM side. Then, you want to check which/why error is happening in SRM side.
Follow all the steps above, except step 11. There is no need to change the PR number since the original
document has not been created in SRM.
Some relevant class/methods that you can put a BP to debug are listed below:
https://blogs.sap.com/2016/11/24/xml-debugging-from-ecc-to-srm/ 4/6
7/10/2019 Debugging XML from ECC to SRM | SAP Blogs
Alert Moderator
Assigned tags
SAP Supplier Relationship Management | SAP enhancement package for SAP Supplier Relationship Management | abap
debugging | abap troubleshooting | debug |
View more...
Related Questions
https://blogs.sap.com/2016/11/24/xml-debugging-from-ecc-to-srm/ 5/6
7/10/2019 Debugging XML from ECC to SRM | SAP Blogs
Sitemap Newsletter
https://blogs.sap.com/2016/11/24/xml-debugging-from-ecc-to-srm/ 6/6