SAP ABAP IMG Activity VC2HL_COPY_VALUES (BAdI: Object Type Definition and Search Result)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-VC-WUI (Application Component) Variant Configuration Web User Interface
     VC2HL_UI (Package) High Level Variant Configuration - Web User Interface
IMG Activity
ID VC2HL_COPY_VALUES BAdI: Object Type Definition and Search Result  
Transaction Code S_EB5_05000401   (empty) 
Created on 20090925    
Customizing Attributes VC2HL_COPY_VALUES   Object Type Definition and Search Result 
Customizing Activity VC2HL_COPY_VALUES   BAdI: Object Type Definition and Search Result 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name EX_VC2HL_LC_OBJECT_TYPE    

Use

You can use this Business Add-In (BAdI) to change the definition of the object types used in the Copy Values function on the value assignment screen.

You can add or delete object types or change the object types proposed by the system. The default object type can be changed as well.

You can check the user input in the key fields of the object type, add content for the description fields, and change the search result.

You can specify default values for the copy settings and the comparison settings.

For more information about implementing the BAdI, see the interface method documentation.

Requirements

Within the enhancement spot implementation you have to maintain a filter for the leading application type. The BAdI implementation is only called for the defined leading application type.

If new object types are added, these object types must be maintained in table T371F and the configuration of these objects must be based on materials, not on classes.

For each object type, the following structures must be maintained:
The field name must be the same as the object type name.

  • VC2HL_S_LC_SEARCH_CRIT

    This structure contains a field with the name of the object type .

    The fields are typed with a structure containing all fields which should be shown as selection fields for this object type and the corresponding description fields which will be displayed in the search result. The input fields and description fields are automatically generated on the UI.

  • VC2HL_S_LC_HITS_GEN

    This structure contains a field with the name of the object type.

    The fields are typed with a table type which corresponds to the search result table for this object. This table must contain at least the field CUOBJ and the key fields of the object type. The field CUOBJ should be in the first column since this column will be set to invisible in the UI. The tables for displaying the search results are automatically generated on the UI.

Standard settings

Activities

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional 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  20090925 
SAP Release Created in 605