SAP ABAP IMG Activity E_IPPE_STRUCT_MATCH (BAdI: Matching Algorithm for Comparison)
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_IPPE_STRUCT_MATCH BAdI: Matching Algorithm for Comparison  
Transaction Code S_AEN_10000584   (empty) 
Created on 20050310    
Customizing Attributes E_IPPE_STRUCT_MATCH   BAdI: Matching Algorithm for Comparison 
Customizing Activity E_IPPE_STRUCT_MATCH   BAdI: Matching Algorithm for Comparison 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name IPPE_STRUCT_MATCH    

Use

Appication Component: AP-PPE.

Function Group: PPEUISOP2

You can use the BAdI IPPE_STRUCT_MATCH (BAdI: Options for Configuration Comparison) to define which objects are to be compared in the iPPE configuration comparison. In the algorithms contained in the BAdI methods, you define the objects to be compared as well as the object attributes that determine when the objects are identical.

Requirements

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

If object ABC in structure 1 is to be compared with object XYZ in structure 2, then the field PGUID_MATCH at object ABC in structure 1 must contain the value XYZ; the field PGUID_MATCH at object XYZ in structure 2 must contain the value ABC.

The comparison pairs are always in a 1:1 ratio. This means that an object can only be compared with one other object in the other structure.

You can view a matching algorithm example in the SAP default type function module, function group PPEUISOP2, FORM matching_build_mat.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050622 
SAP Release Created in 600