Implementing Business ADD-INS (BADLS)

Objectives

After completing this lesson, you will be able to:

  • Describe how to implement Business Add-Ins (BAdIs) for Purchase Orders based on Replenishment Orders

Business Add-Ins (BAdIs)

For certain custom requirements, SAP Ariba Cloud Integration Gateway, add-on for SAP ERP and SAP Ariba Cloud Integration Gateway, add-on for SAP S/4HANA provides BAdIs.

The BAdIs and methods described in this lesson can be used to achieve any customer-specific requirement in the following situations:

  • When sending the Product Activity Message to the Supplier
  • When receiving the Product Replenishment Message from the Supplier
  • When creating a purchase order based on a replenishment order sent by Supplier

How to Implement BAdIs

To implement each of the BAdIs required for the SMI process, complete the following steps:

  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
    • SAP Ariba Cloud Integration Gateway
    • Ariba 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.

    For Replenishment Order, choose, Replenishment Order, and choose BAdIs for Replenishment Order.

Select the boxes to show the fields.

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 Ariba 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
ARDCIG_BADI_PRODUCT_ACTIVITYUPDATE_PROA_DETAILSTo modify the Product Activity Message before sending data to Ariba Network
PROA_DETAILS_AFTER_POSTTo carry out any post-processing activities related to the Product Activity Message
DET_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 BAdI 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
SCH_LINES_POST_PROCESSTo achieve any custom requirement after creating the schedule lines
CREATE_PR_PRE_PROCESSTo pre-process the Product Replenishment Message before creating the purchase requisition
CREATE_PR_POST_PROCESSTo achieve any custom requirement after creating the purchase requisition
CHANGE_PR_PRE_PROCESSTo pre-process the Product Replenishment Message before changing the purchase requisition
CHANGE_PR_POST_PROCESSTo achieve any custom requirement after changing the purchase requisition

Implement BAdI to Modify Data When Creating a Purchase Order Based on a Replenishment Order Sent by the Supplier

When the buyer receives a replenishment order (inbound), a BAdI can be used to modify data in the replenishment order before or after creating the purchase order.

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

BAdI NameMethod NameMethod Purpose
ARBCIG_REPLENISHMENT_ORDERPRE_PROCESSI NGTo customize the replenishment order before creating the purchase order
POST_PROCESSINGTo customize the replenishment order after creating the purchase order

Log in to track your progress & complete quizzes