Implementing Business Add-Ins (BAdIs)

Objective

After completing this lesson, you will be able to Implement Business Add-Ins (BAdIs).

Implement Business Add-Ins (BAdIs)

For certain custom requirements, SAP Ariba Cloud Integration Gateway, add-on for SAP ERP and add-on for SAP S/4HANA provide Business Add-Ins (BAdIs).

Let's look at how to implement Business Add-Ins (BAdIs) for Product Activity Message to the supplier.

How to Navigate to the BAdI Implementation Screen

  1. Run transaction code SPRO.

    The Customizing: Execute Project screen appears.

  2. Click SAP Reference IMG .

    The Display IMG screen appears.

  3. Navigate to Integration with Other SAP Components

    Managed Gateway for Spend&Network for Buyer

    SAP Business Network Integration

    Business Add-Ins(BAdIs)

  4. For Product Activity Message, choose Product Activity Message, and choose BAdIs for Product Activity Message .

    For Product Replenishment Message, choose Product Replenishment Message, and choose BAdIs for Product Replenishment Message.

Implement BAdI to Modify Data

Implement BAdI to Modify Data When Sending the Product Activity Message to the Supplier

When the buyer sends a Product Activity Message to the supplier (outbound), a BAdI can be used to modify data before or after sending data to SAP Business Network, or to determine the correct logical port.

The methods available in the BAdI to modify data are listed in the table.

BAdI NameMethod NameMethod Purpose
ARBCIG_BADI_PRODUCT_ACTIVITYUPDATE_PROA_DETAILSTo modify the Product Activity Message before sending data to SAP Business Network
ARBCIG_BADI_PRODUCT_ACTIVITYPROA_DETAILS_AFTER_POSTTo carry out any post-processing activities related to the Product Activity Message
ARBCIG_BADI_PRODUCT_ACTIVITYDET_LOGICAL_PORTTo determine the correct logical port for the Product Activity Message

Implement BAdI to Modify Data When Receiving the Product Replenishment Message From the Supplier

When the buyer receives a Product Replenishment Message from the supplier (inbound), a BAdI can be used to modify data before or after creating the schedule lines.

The methods available in the BAdIs to modify data are listed in the table.

BAdI NameMethod NameMethod Purpose
ARBCIG_SMI_REPLENISHMENT_BADISCH_LINES_PRE_PROCESSTo achieve any custom requirement before creating the schedule lines
ARBCIG_SMI_REPLENISHMENT_BADISCH_LINES_POST_PROCESSTo achieve any custom requirement after creating the schedule lines
ARBCIG_SMI_REPLENISHMENT_BADICREATE_PR_PRE_PROCESSTo pre-process the Product Replenishment Message before creating the purchase requisition
ARBCIG_SMI_REPLENISHMENT_BADICREATE_PR_POST_PROCESSTo achieve any custom requirement after creating the purchase requisition
ARBCIG_SMI_REPLENISHMENT_BADICHANGE_PR_PRE_PROCESSTo pre-process the Product Replenishment Message before changing the purchase requisition
ARBCIG_SMI_REPLENISHMENT_BADICHANGE_PR_POST_PROCESSTo achieve any custom requirement after changing the purchase requisition
ARBCIG_SMI_REPLENISHMENTPROCESS_REPLENIISHMTTo process replenishment message other than SMI

Log in to track your progress & complete quizzes