Hierarchy

⤷

⤷

IMG Activity
ID | E_PPELISCMPV | BAdI: Status Checks/Enhancements at CMP Variants |
Transaction Code | S_AEN_10000587 | (empty) |
Created on | 20050310 | |
Customizing Attributes | E_PPELISCMPV | BAdI: Status Checks/Enhancements at CMP Variants |
Customizing Activity | E_PPELISCMPV | BAdI: Status Checks/Enhancements at CMP Variants |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | PPELISCMPV |
Use
Appication Component: AP-PPE.
With this BAdI, you can execute your own checks and preassign fields for the status management for variants of the product structure.
The methods of this BAdI are called up in the class CL_PPELISCMPV_CNTL. You have the following options:
- You can preassign values to the status fields. If a status for a variant of a product structure is created, the values are entered here.
- You can execute customer-specific checks before changing a status or changing a precondition for a status. If an error occurs during a customer-specific check, the status and the precondition for the status are not changed.
Requirements
You must provide an active implementation of the BAdI PPELISCMPV. You must also implement the interface IF_EX_PPELISCMPV for the class CL_PPELISCMPV_CNTL.
Standard settings
- The Business Add-In is not active in the standard system.
- The Business Add-In cannot exist at several positions.
- The Business Add-In is not filter-dependent.
Activities
To activate the Business Add-In, you have to create an active implementation.
- To do so, choose the IMG activity by double-clicking @15@.
Or
- To do so, choose the following menu in the SAP Easy Access Menu Tools -> ABAP Workbench -> Utilities -> Business Add-Ins -> Implementation.
If implementations already exist for the selected BAdI, the system braches to a dialog box displaying a list of the existing implementations.
- In this dialog box, choose Create.
The system branches to the dialog box BAdI Builder: Create Implementation.
- Enter an implementation name and choose Continue.
The screen Business Add-In Builder: Change Implementation appears.
- In the field Implementation Short Text enter a short desctiption.
- Select the tab page Interface.
In this tab page, the field Name of implementing class is filled automatically as the system assigns the class name using the name of the implementation.
- Save your entries and assign the implementation to a package.
- Position the cursor on one of the methods. Access the class builder with a double click.
- Enter the coding for the implementation between the instructions method <Interface-Name>~ <Method nAME>.and endmethod.
- Save and activate your coding and return to the screen Change Implementation.
- Save your data again.
Note: It is possible to create an implementation for a BAdI and activate it later. In this case, you should exit processing here.
- Choose Aktivate.
During the execution of the application program, the system now runs through the coding you saved in the method.
You can find additional information in the SAP Library under SAP NetWeaver Components -> SAP Web Application Server -> ABAP Workbench (BC-DWB)-> Changing the SAP Standard (BC) -> Business Add-Ins -> Implementing a Business Add-In.
Example
Further notes
The BAdI provides the following methods:
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20050323 |
SAP Release Created in | 600 |