SAP ABAP Data Element CNV_10020_KEY (Indicator for key membership)
Hierarchy
DMIS (Software Component) DMIS 2011_1
   CA-GTF-BS (Application Component) Business Application Support
     CNV_10020 (Package) CNV package 10020
Basic Data
Data Element CNV_10020_KEY
Short Description Indicator for key membership  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CNV_10020_XFELD    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Key 
Medium 15 Key membership 
Long 20 Key membership 
Heading Key 
Documentation

Definition

This indicator is used to control the output to the log table CNV_10020_LOG and the output of messages. For easier understanding the output to the log table is explained. The output of messages works accordingly.

It often happens that the same kind of information is written multiple times to the log table. To avoid this, you can set the indicator key membership in order to act the according parameter field as a key field. Information for the same combination of key field values are stored only the first time they occur.

Example

The structure of the non-transparent field 'Object key' (AWKEY) depends on the 'Reference procedure' (AWTYP). You want to create an evaluation rule for the component 'Fiscal year' (GJAHR). You specified all the values of AWTYP where a fiscal year appears in AWKEY. You also specifed all the values of AWTYP where no fiscal year appears. There might be some values of AWTYP you do not know so far (for example in a higher release). If such an unknown value appears when converting a table, you want the system to write a record to the log table that contains the value of AWTYP. With the value of the non-transparent field you might beable to decide if it contains a fiscal year. As parameter 1 you use the description "AWTYP, as parameter 2 you use AWTYP to output the value of the field AWTYP.

This is how the log table could look like without a key membership set.

TABNAME    FIELDNAME    COMPNAME    CNUMBER    EVAL    PARAM1    PARAM2    ITR_VALUE

COES    AWKEY    GJAHR    01    @09@    AWTYP    JVAM    004000000110002007

COES    AWKEY    GJAHR    02    @09@    AWTYP    JVAM    004000000210002007

COES    AWKEY    GJAHR    03    @09@    AWTYP    JVAM    004000000310002007

COES    AWKEY    GJAHR    04    @09@    AWTYP    JVAM    004000000410002007

COES    AWKEY    GJAHR    05    @09@    AWTYP    RMRP    00000020002004

COES    AWKEY    GJAHR    06    @09@    AWTYP    JVAM    004000000510002007

COES    AWKEY    GJAHR    07    @09@    AWTYP    JVAM    004000000610002007

COES    AWKEY    GJAHR    08    @09@    AWTYP    RMRP    00000030002004

COES    AWKEY    GJAHR    09    @09@    AWTYP    RMRP    00000040002004

This is how the log table looks like with the indicator set for parameter 2. There is only one log entry for each reference type.

TABNAME    FIELDNAME    COMPNAME    CNUMBER    EVAL    PARAM1    PARAM2    ITR_VALUE

COES    AWKEY    GJAHR    01    @09@    AWTYP    JVAM    004000000110002007

COES    AWKEY    GJAHR    02    @09@    AWTYP    RMRP    00000020002004

This is how the log table looks like with the indicator set for parameter 1. There is only one log entry for each description. Because the description is always the same, there is only one log entry.

TABNAME    FIELDNAME    COMPNAME    CNUMBER    EVAL    PARAM1    PARAM2    ITR_VALUE

COES    AWKEY    GJAHR    01    @09@    AWTYP    JVAM    004000000110002007

Notes

If you leave all key membership indicators initial, each information is stored.

History
Last changed by/on SAP  20141030 
SAP Release Created in 2010_1_46C