SAP ABAP IMG Activity E_PPELISGENN (BAdI: Status Checks/Enhancements at GEN Node)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   LO-MD-PPE (Application Component) Integrated Product and Process Engineering
     CPPER3E_WB (Package) System-Specific Parts of the iPPE Workbench
IMG Activity
ID E_PPELISGENN BAdI: Status Checks/Enhancements at GEN Node  
Transaction Code S_AEN_10000427   (empty) 
Created on 20050224    
Customizing Attributes E_PPELISGENN   BAdI: Status Checks/Enhancements at GEN Node 
Customizing Activity E_PPELISGENN   BAdI: Status Checks/Enhancements at GEN Node 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PPELISGENN    

Use

Appication Component: AP-PPE.

With this BAdI, you can execute customer-specific checks and preassign values to the status fields for a GEN node.

The methods of this BAdI are called up in the class CL_PPELISGENN_CNTL. You have the following options:

  • You can preassign values to the status fields of a GEN node. These values will appear in the status when a status for a GEN node is created.
  • You can execute you own check before changing a status or a precondition for a status. If the customer-specific check results in errors, the status and the precondition for the status are not changed.

Requirements

You must provide an active implementation of the BAdI PPELISGENN. You must also implement the interface IF_EX_PPELISGENN for the class CL_PPELISGENN_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.

  1. To do so, choose the IMG activity by double-clicking @15@.

    Or

  2. 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.

  3. In this dialog box, choose Create.

    The system branches to the dialog box BAdI Builder: Create Implementation.

  4. Enter an implementation name and choose Continue.

    The screen Business Add-In Builder: Change Implementation appears.

  5. In the field Implementation Short Text enter a short desctiption.
  6. 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.

  7. Save your entries and assign the implementation to a package.
  8. Position the cursor on one of the methods. Access the class builder with a double click.
  9. Enter the coding for the implementation between the instructions method <Interface-Name>~ <Method nAME>.and endmethod.
  10. Save and activate your coding and return to the screen Change Implementation.
  11. 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.

  12. Choose Aktivate.

During the execution of the application program, the system now runs through the coding you saved in the method.

You can also call the documentation on the BAdI method via the menu, by carrying out the following steps:

  1. Choose the tab page Interface.
  2. Double-click on the relevant method.
  3. Click on the right mouse button and choose Component documentation.

Further notes

The BAdI provides the following methods:

PRECOND_CHECK

STATUS_CHECK

STATUS_CREATE

Example

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
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