Implementing BAdI to Set Up the Interface for SAP Business Network Integration

Objective

After completing this lesson, you will be able to implement the BAdI to set up the interface for SAP Business Network Integration (optional).

Implementing BAdI to Set Up the Interface for SAP Business Network Integration

While configuring the interface, you have an option to implement a BAdI for parameter modification. This BAdI is universally applicable across all SAP Ariba solutions. The parameter IP_SOLUTION serves to identify the specific SAP Ariba solution you are targeting. Depending on your desired solution, select one of the available values in the IP_SOLUTION field:​

  • BUY for SAP Ariba Buying and Invoicing
  • SRC for SAP Ariba Sourcing and SAP Ariba Contracts
  • AN for SAP Business Network

Specifically for SAP Business Network, use the value "AN" in the "IP_SOLUTION" parameter.

To implement the BAdI, use the following steps:

  1. Using the transaction code SPRO, navigate to Integration with Other SAP Components > Managed Gateway for Spend&Network for Buyer > SAP Business Network Integration > General Settings > Set Up the Interface.
  2. Expand the node and select IMG-Activity for the BAdIs for Setting Up the Interface.
  3. In the Create Enhancement Implementation pop-up, implement the BAdI, ARBCIG_AUTO_INTERFACE. Refer to the Implementation Method table.
Implementation MethodUsage
CHANGE_MESSAGE_OUTTo change message parameters for outbound IDocs​
CHANGE_MESSAGE_INTo change message parameters for inbound IDocs
CHANGE_PARTNER_HEADERTo change partner header for IDocs
CHANGE_OUT_IDOC_INTo change outbound IDocs message control
CHANGE_PROXYTo change parameters when setting up service name or logical port for proxies

Note

For more information about implementing a BAdI, refer to the SAP Documentation article, How to Implement a BAdI.

Log in to track your progress & complete quizzes