Skip to Content
Author's profile photo Vijay Vital

LL02 – How to handle Freight condition from Ariba into SAP

Hello,

This document cover how you can handle freight on purchase order confirmation and supplier invoices.

Purchase order confirmation:

Ariba Adapter supports estimated shipping cost on the order confirmation. However, SAP has no option to validate the freight conditions for confirmations. When we did the implementation, we enhanced the adapter to validate estimated shipping cost passed through confirmation from Ariba with that of the planned fright conditions on purchase order. If they don’t match, then we error the cXML message on to the forward error handling.

Logic: If the sum of all freight condition on the purchase order does not match the estimated freight condition on cXML then we error using Forward error handling (FEH). The buyer then adds the fright cost on the purchase order as a planned freight and processes the confirmation document.

Error handling.JPG



Supplier Invoice:


Ariba Adapter supports line item freight cost (Allowance/charges) but not at the header. This mean if you header cXML had allowance or charge you get the error in SAP – “The cXML invoice contains amount modifications (allowances/charges) at invoice header level (cXML element InvoiceHeaderModifications). Amount modifications are not supported in the inbound processing of invoices from Ariba Network.”


InvError.JPG


If we had charge/allowance at the item level, it is mapped to unplanned delivery cost (regardless of purchase order conditions) and invoice get posted. This didn’t satisfy our business requirements. We enhanced the adapter with the follow logic.

1) If the purchase order had fright condition totals and the sum of the item charge/allowance amounted matched with that of the purchase order, we posted the invoice as per the value on the purchase order rather than unplanned delivery.

2) If the purchase order had fright condition totals and the sum of the header charge/allowance amounted matched with that of the purchase order, we posted the invoice as per the value on the purchase order rather than error.


3) If the purchase order had fright condition and the sum of the item  or header charge/allowance amounted didn’t matched with that of the purchase order, we populate them in the unplanned delivery and park the invoice.

4) All unplanned delivery was enhanced to park.

Thus we were able to get most of invoice with freight successfully.

Good luck enhancing the adapter to your business needs.

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Vijay: Its a pleasure reading you blogs. They are informative and thorough.

      I am currently working on a Ariba-Seller integration and would like to understand more about how to capture scenarios where you have no standard adaptors. For example, an inbound and outbound update to/from a z-table. What would be your recommendation in this case ? 

      Author's profile photo Vijay Vital
      Vijay Vital
      Blog Post Author

      Hello Amit,

      Happy New Year 2017, Can you please elaborate on your question. Do you want to send custom fields?

      Thanks

      Vijay

       

      Author's profile photo Former Member
      Former Member

      Vijay I am trying to learn Ariba but couldn't find good resource.I realize reading your blogs you have a pretty good experience in Ariba..Can you please guide me where I can start ? I mean documentations or links.I have around 12 yrs of experience in SAP  P2P and SD.

      Author's profile photo Vijay Vital
      Vijay Vital
      Blog Post Author

      Hello Ren,

       

      Please find all documentation available for add-on on  help.sap.com/bni If you are looking for learning Ariba I suggest you look for Learning HUBB Subscription.

       

      Regards

      Vijay Vital

      Author's profile photo Former Member
      Former Member

      Thanks for the quick response ! I just checked the link and I see lot of documents are there for integration .

      What's HUBB ? Do you have a document or link more on functional side ?

       

      BR

      Ren

      Author's profile photo Vijay Vital
      Vijay Vital
      Blog Post Author

       

      SAP Learning Hub - SAP Training

      https://training.sap.com/shop/learninghub
      Its a subscription based SAP course for Business and technical.
      Regards
      Vijay