Hierarchy
⤷ EHS (Application Component) Environment, Health and Safety
⤷ /TDAG/CP (Package) Compliance for products
IMG Activity
ID | /TDAG/CP_BADI_001 | BAdI: Enhancement of the Compliance Workbench |
Transaction Code | /TDAG/80000067 | BAdI: Enhancements of Compliance Wor |
Created on | 20060524 | |
Customizing Attributes | /TDAG/CP_BADI_001 | BAdI: Enhancement of the Compliance Workbench |
Customizing Activity | /TDAG/CP_BADI_001 | BAdI: Enhancement of the Compliance Workbench |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | /TDAG/CP_BADI_001 |
Use
This Business Add-In (BAdI) is used in the SAP Product and REACH Compliance component. This BAdI enables you to enhance the compliance workbench in the following ways:
- Add or modify functions in the toolbar of the result list
- Add or modify functions in the toolbar of the product structure
- Add or modify entries in the context menu of the product structure
- Add or modify columns in the product structure
You can use the following methods:
- CLEANUP
You can use this method to automatically clean up the workbench and release resources after quitting. - INITIALIZATION
You can use this method to automatically initialize and request resources after starting the workbench controller.
Requirements
Standard settings
In the standard system, the Business Add-In is not activated.
BAdI Implementations
- /TDAG/CL_EXM_IM_CP_BADI_001 (example implementation)
The example implementation uses the ABAP class /TDAG/CPCL_MGR_EXTENSION. If you want to create a customer-specific implementation, you must create an equivalent for the ABAP class or an implementation class for the BAdI that uses the previously created class.
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.
Note: You must also implement another OO-ABAP class. It contains different event handler methods for events in the compliance workbench. The methods contain the coding of the enhanced functionality for the workbench.
Example
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_001 | 0 | HLA0100681 | Product Safety |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | FLEISCHER | 20091013 |
SAP Release Created in | 0207B0406C |