Implementation of Business Add-Ins (BAdI)

A Business Add-In is used to integrate the online checks of customers, vendors, material documents, service orders, and goods issue postings. A BAdI is also used for the asynchronous check of business partners.

To implement the Business Add-Ins:

  1. Start the transaction SE19.
  2. Go to the Create implementation field group and mark the Classic BAdI box. Under BAdI name, enter the BAdI name (see table).
  3. Click the Create impl. button. In the next window, enter any name in the Z or Y namespace for the implementation (such as ZAEB_MB_DOCUMENT_BADI).
  4. Enter a short text and save the implementation.
  5. You will then be prompted to select a package.
  6. Select the development class or package that you have created (see Implementing customer exits).
  7. Next, you will be prompted to select a transport.
  8. You may have to select the development class or package and transport twice.
  9. Switch to the Interface sheet and double-click on the corresponding method (see table).
  10. When you have pasted the code, save the method and click the Back button. Now click the button to activate the BAdI.

This completes the BAdI implementation.

 

Business object

BAdI name

Method name

Material document

MB_DOCUMENT_BADI

mb_document_before_update

Service order

WORKORDER_UPDATE

before_update

Customer

CUSTOMER_ADD_DATA

save_data

Vendor

VENDOR_ADD_DATA

save_data

Delivery: Goods issue posting

LE_SHP_DELIVERY_PROC

delivery_final_check