Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
vijay_vital
Active Participant
2,673

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.



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."



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.

6 Comments
Labels in this area