0% found this document useful (0 votes)
334 views6 pages

Debugging XML From ECC To SRM - SAP Blogs PDF

Uploaded by

Sujith Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
334 views6 pages

Debugging XML From ECC To SRM - SAP Blogs PDF

Uploaded by

Sujith Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

7/10/2019 Debugging XML from ECC to SRM | SAP Blogs

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

Debugging XML from ECC to SRM


Follow RSS feed Like

0 Likes 715 Views 0 Comments

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

1- Go to tx SXMB_MONI in SRM system


2- Go to Monitor for Processed XML Messages
3- Look for the time frame and open the XML correspondent (Take note of the sender interface and sender
namespace which should be http://sap.com/xi/SRM/SE/Global –
PurchaseRequestERPSourcingRequest_In)
4- Go to the main document (under Inbound -> Payload) and right click in the XML (lower right window) ->
select view source

5- Copy the XML that will open in notepad


6- Go to tx SPROXY
7- Look for the interface you want to debug (In this example: PurchaseRequestERPSourcingRequest_In) and run
it

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

12- Put a BP in methods from class /SAPSRM/CL_SOA_PUR_REQ (Suggestion:


/SAPSRM/IF_SOA_PUR_REQ~PROCESS and /SAPSRM/IF_SOA_PUR_REQ~CREATE)
13- Execute the XML (F8) and start debugging it.

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:

XML not updating the Shopping Cart Status:


Class: /SAPSRM/CL_CH_SOA_BO_MAPPER_PO
Method: UPDATE_STATUS_FROM_TRANSFER
Updating Shopping Cart from Purchase Requisition:
Class: /SAPSRM/CL_CH_SOA_BO_MAPPER_PO
Method: UPDATE_STATUS_FROM_TRANSFER
Purchase Requisition Mapping:
Class: /SAPSRM/CL_CH_SOA_DO_PR_ITM~MAP_TO_PDO
Method: /SAPSRM/IF_CH_SOA_DO_PR_ITM~CHANGE

Additional debugging hints are also found in this KBA here.

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 Blog Posts

PDP Issue – PR is not getting Transfer from ECC to SRM


By Former Member , Feb 23, 2013
Commonly used ESOA Services related to Central contracts in SRM
By Former Member , Nov 13, 2015
Postprocessing Desktop – Edit Order
By Former Member , Jan 28, 2014

Related Questions

Contract check while processing ECC PO from SRM


By Former Member , Oct 27, 2016

Vendor details missing in SRM MDM Data Manager


By Vetrrivel Sundarrajan , Jun 15, 2019

Hierarchy Display in SRM Portal (Version 7.01)


By Ashish Kumar Madanram Shah , Nov 27, 2017

Be the rst to leave a comment

You must be Logged on to comment or reply to a post.

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

Share & Follow

Privacy Terms of Use

Legal Disclosure Copyright

Trademark Cookie Preferences

Sitemap Newsletter

https://blogs.sap.com/2016/11/24/xml-debugging-from-ecc-to-srm/ 6/6

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy