Spend Management Blog Posts by Members
Check out community member blog posts about spend management and SAP Ariba, SAP Fieldglass, and SAP Concur solutions. Post or comment about your experiences.
cancel
Showing results for 
Search instead for 
Did you mean: 
Niraj_Panchal
Newcomer
350

Reading time: 2 min

Issue Description :

At times when a user does a punchout session and exports the cart to our SAP Ariba Buying solution we often see below error msg.

Niraj_Panchal_1-1743765102851.png

This is because the supplier might be sending a Non-standard UOM(or commodity) which is not defined in the customer’s system.

In such cases, we would want to know what data the Supplier is sending so we can map its value to our Internal UOM defined in our system.

However, there is no direct method to get the payload and look at the data sent from the Supplier’s system (External System).

---------------------------------------------------------------------------------------------------------------------------------------------

In this Blog I will explain you how to retrieve the PunchOutOrderMessage (don’t worry just a technical term to describe the shopping cart) and look for the data sent.

Resolution :

Start as usual by punching in into the Supplier’s web shop and once you are ready with your cart, before sending it back to the Ariba site start the inspect element.

Right click -> Click on Inspect. The Inspect window opens up.

Niraj_Panchal_2-1743765102857.png

 

Click on the “Network tab” and enter method: POST. (HTTPS uses the POST method to send the data to Ariba to create the PR.Our aim is to get hold of this)

Remember to check the preserve log checkbox (very imp otherwise you may lose the request as the logs build up)

 

Niraj_Panchal_3-1743765102864.png

 

Once this setup is ready you can send the cart to Ariba. As you do the check out the inspect tool will keep on logging the entries.

The one that we are looking for is “punchout?client=”. The PunchOutOrderMessage is present in this request and has the payload(cXML) sent from supplier webshop. Click to open.

 

Niraj_Panchal_4-1743765102874.png

 

Check under Payload-> Form data. Here is our data.

Niraj_Panchal_5-1743765102883.png

 

Sometimes you might see a base64 encoded version of the payload like below. In that case you can use any decoder tool to decode the xml.

Niraj_Panchal_6-1743765102892.png

Below is one such Encoder/Decoder tool available online.

Niraj_Panchal_7-1743765102905.png

 

To improve readability you can further copy paste the decoded text and do a pretty printer in notepad++ (often not required).

Niraj_Panchal_8-1743765102910.png

 

Here the supplier is sending UOM as RL which is not a std UOM in the customer’s system.

Niraj_Panchal_9-1743765102915.png

So we have to map this to our internal UOM using the UnitOfMeasureMap.csv file.

Niraj_Panchal_10-1743765102918.png

 

Upload the file using the below import task.

Niraj_Panchal_11-1743765102924.png

Delete the existing cart and Redo the punch out. The error should be gone now..!

Niraj_Panchal_12-1743765102927.png

That's it, in this blog you have learnt how to retrive the newtwork logs and resolve a common issue.

-----------------------------------------------------------------------------------------------------------------------------------------------

All efforts has been made to keep the content as simple as possible so the newbies can understand as well.

Please feel free to drop your valuable feedback, any improvements, suggestions or corrections which would help the community.

Thank you so much!

2 Comments