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.
In an S/4HANA® system, the extensions for customers and vendors are not needed.
To implement the Business Add-Ins:
- Start the transaction SE19.
- Go to the Create implementation field group and mark the Classic BAdI box. Under BAdI name, enter the BAdI name (see table).
- 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).
- Enter a short text and save the implementation.
- You will then be prompted to select a package.
- Select the development class or package that you have created (see Implementing customer exits).
- Next, you will be prompted to select a transport.
- You may have to select the development class or package and transport twice.
- Switch to the Interface sheet and double-click on the corresponding method (see table).
- 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 |