Mapping cXML Partner to ERP Invoicing Party

Objective

After completing this lesson, you will be able to map cXML Partner to ERP Invoicing Party to change the default vendor ID in the invoice from SAP Business Network to another vendor ID.

Mapping cXML Partner to ERP Invoicing Party

In the SAP ERP or SAP S/4HANA (on-premise) system, multiple parties are involved in the invoicing process (for example, Invoicing Party, Payee, Goods Supplier, Buyer, Bill-to, Ship-to, Remit-to). These parties need to be correctly recognized when documents flow to and from between the SAP system and the SAP Business Network. Since SAP Business Network communicates using cXML messages, the system must map internal ERP partner functions to the standard cXML partner roles.​

By default, the invoicing party is the same as the vendor in the purchase order. However, in the invoice integration from SAP Business Network to the SAP ERP or SAP S/4HANA (on-premise) system using the Managed Gateway for Spend&Network, you can change the default vendor ID or invoicing party ID in the invoice from SAP Business Network to another invoicing party ID—one that differs from the vendor specified in the purchase order. To do this, you must configure the alternative invoicing party ID in the ERP Invoicing Party field of the Incoming Invoice:Map cXML Partner to ERP Invoicing Party table in the buyer’s SAP system.​

When mapping cXML Partner to SAP ERP Invoicing Party, you can specify a different invoicing party for incoming cXML invoices. This is useful if you want to post an incoming invoice to a vendor other than the one in the purchase order. The system uses the name transferred in the cXML tag "InvoicePartner" (with role "from"), combined with the technical sender of the cXML message (identified by VendorID in "From"Credential), to determine the invoicing party.​

In the Name column of ERP Invoicing Party, you must specify the SAP ERP vendor ID that you want to be set as the invoicing party. If you want outgoing documents such as CC invoices, payment advices, or status updates to be sent to the original vendor in the purchase order, select the Reverse Mapping checkbox.​

This customization is optional.​

In this video, you’ll learn the steps to map cXML Partner to ERP Invoicing Party:

Summary

In SAP ERP or SAP S/4HANA systems, correctly recognizing multiple parties involved in the invoicing process is crucial. These parties include the invoicing party, payee, goods supplier, buyer, bill-to, ship-to, and remit-to. Integration between the SAP system and the SAP Business Network requires mapping internal ERP partner functions to standard cXML partner roles.​

By default, the invoicing party is the same as the vendor in the purchase order. However, using the Managed Gateway for Spend&Network AddOn, you can configure an alternative invoicing party ID that differs from the default vendor. This entails specifying the alternative invoicing party in the "Incoming Invoice: Map cXML Partner to ERP Invoicing Party" table. This mapping allows incoming cXML invoices to be posted to a different vendor if needed, based on the cXML tag "InvoicePartner" and sender credentials.​

Outgoing documents can still be routed to the original vendor by selecting the Reverse Mapping checkbox. This customization is optional but provides flexibility in handling invoicing parties.