Hierarchy

⤷

⤷

IMG Activity
ID | /TDAG/CP_BADI_003 | BAdI: Decoupling of Address Management and Vendor Master |
Transaction Code | /TDAG/80000088 | IMG activity: /TDAG/CP_BADI_003 |
Created on | 20071019 | |
Customizing Attributes | /TDAG/CP_BADI_003 | BAdI: Decoupling of Address Management and vendor master |
Customizing Activity | /TDAG/CP_BADI_003 | BAdI: Decoupling of Address Management and vendor master ??? |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | /TDAG/CP_BADI_003 |
Use
This Business Add-In (BAdI) is used in the SAP Product and REACH Compliance component. This BAdI enables you to determine which table to use for saving vendor data. Since the standard system uses the SAP vendor master to store the vendor data, the purpose of the BAdI is to maintain the vendors outside of the vendor master.
This BAdI provides the following methods:
- GET_SUPPL_TAB_INFO
You can use this method to get the name of the vendor table. It can be used internally to determine the active implementation. - CREATE_SUPPL
You can use this method to create a new vendor master record. - VALIDATE_SUPPL_BY_ID
You can use this method to check if there is an existing supplier with this ID. - GET_SUPPL_ID_BY_NAME
You can use this method to determine a vendor ID by the vendor name. - GET_SUPPL_DATA_BY_ID
You can use this method to read vendor details for a vendor ID. - GET_SUPPL_DATA_BY_ID_LIST
You can use this method to read vendor details for multiple vendor IDs. - GET_SUPPL_DATA_BY_DIV
You can use this method to get vendor details using various criteria, for example, supplier ID and supplier name. - CALL_SUPPL_HOTSPOT_NAV
You can use this method to specify how the vendor management is called. You can, for example, program the system to display a dialog box from an external system when you select a supplier with data in that external system.
Requirements
Standard settings
In the standard system, the Business Add-In is activated. The default code is executed automatically. If you activate your own implementation, the default code is automatically deactivated.
BAdI Implementations
/TDAG/CL_DEF_IM_CP_BADI_003 (default implementation)
/TDAG/CL_EXM_IM_CP_BADI_003 (example implementation)
Activities
After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.
If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:
- In the dialog box, enter a name for the implementation of the Add-In and choose Create.
The system displays the initial screen for creating Business Add-In implementations. - On this screen, enter a short description for your implementation in the Implementation Short Text field.
- If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
- Save your entries and assign the Add-In to a package.
- To edit a method, double-click its name.
- Enter your implementation code between the
method <Interface Name>~<Name of Method>.
andendmethod.
statements. - Save and activate your code. Navigate back to the Change Implementation screen.
Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step: - Choose Activate.
When the application program is executed, the code you created is run through.
Example
The example implementation references vendors from the SAP address management.
Business Attributes
ASAP Roadmap ID | 204 | Establish Functions and Processes |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | /TDAG/CP_BADI_003 | 0 | HLA0100681 | Product Safety |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | HAU | 20090304 |
SAP Release Created in | 222_46C |