Professional Documents
Culture Documents
Mateus Moura
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
6/18/2020 Debugging XML from ECC to SRM | SAP Blogs
https://blogs.sap.com/2016/11/24/xml-debugging-from-ecc-to-srm/ 2/6
6/18/2020 Debugging XML from ECC to SRM | SAP Blogs
8- Run again
Follow RSS feed Like
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
6/18/2020 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
Follow RSS feed Like
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
6/18/2020 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
View more...
Related Questions
Distribution of Contract from SRM to ERP - Screen output without connection to user.
By Former Member , Dec 24, 2012
SRM PO IDOC Creation
By M M , Oct 07, 2015
Plant name missing in PO line item details (Delivery address tab)
By Former Member , Nov 15, 2010
Add Comment
https://blogs.sap.com/2016/11/24/xml-debugging-from-ecc-to-srm/ 5/6
6/18/2020 Debugging XML from ECC to SRM | SAP Blogs
Newsletter Support
https://blogs.sap.com/2016/11/24/xml-debugging-from-ecc-to-srm/ 6/6