SAP ABAP Data Element ARDB_VF_TYPE (Table Analysis: Value Determination Type of a Virtual Field)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-TAN (Application Component) Transaction TAANA for Table Analysis
     S_ARCH_DB_ANALYZE (Package) Table Analysis
Basic Data
Data Element ARDB_VF_TYPE
Short Description Table Analysis: Value Determination Type of a Virtual Field  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type ARDB_VF_TYPE    
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 ValDeterm. 
Medium 20 Value Determination 
Long 40 Value Determination of a Virtual Field 
Heading 20 Value Determination 
Documentation

Definition

Use

There are two ways you can determine the value of a virtual field:

  • Choose As Subfield, if the value of the virtual field can be determined from the value of another field in the same table, which is called the reference field. Enter this name in Reference Field. Virtual fields cannot be reference fields.
    Also enter which part of the reference field represents the value of the virtual field. There are two options for entering this information:
    • Choose Offset/Length and enter the offset and the length based on the reference field. The value of the virtual field is the same as the value of the reference field starting at the offset in the length you entered.
    • Choose Reference Field Year or Reference Field Month if the virtual field is the year or the month of the reference field.
  • Choose In BAdI, if the value cannot be determined through one of the previously named methods. You can carry out more complicated processes for determining the value of a virtual field in a Business Add In (BAdI) Implementation.

    The area Optional Fields lists all the fields for a specific table (virtual fields cannot be optional fields). In the area Fields required for the value determination include the fields that you need in the BAdI Implementation to determine the value of the virtual field. If you need to access additional tables you must do so in the BAdI Implementation.

    Choose Create Implementation and enter an implementation name that is within your customer namespace for the shown definition name TAANA_VIRTUAL_FIELDS. (All implementations must be carried out for this definition of a Business Add In.) Choose Enter.

    More information is available when you call up an implementation: (Screen: BAdI-Builder: Create (Change, Display) Implementation <Name>) under Help -> Definition Docu -> Display, and under Goto -> Example Coding -> Display.

Dependencies

Example

History
Last changed by/on SAP  20040312 
SAP Release Created in 630