SAP ABAP Data Element CONV_FORM (Conversion routine of the field)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-SL-IS (Application Component) Information System
     GRWT (Package) Report Painter / Report Writer
Basic Data
Data Element CONV_FORM
Short Description Conversion routine of the field  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FORMNAME    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
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 Conv.form 
Medium 15 Conv.routine 
Long 20 Conversion routine 
Heading 30 Conversion routine 
Documentation

Definition

You can convert a field into another field using this routine. By doing so, fields relevant for the user can be reproduced internally onto technincal fields. For example, the fields cost center, activity type, internal order and project in the controlling area (table CCSS) are reproduced to the technical field object number.

The name of the target field in which the coversion will take place, must be entered in the 'Determining field' field.

The rountine must be contained in the formpool which is stored in table T804A. The rountine has the following transfer parameters:

TABLES TAB_IN TAB_OUT

--> TAB    Current table from which is read

--> CNV_FLD1_MIN    From value of 1 conversion parameters

--> CNV_FLD1_MAX    To value of 1 conversion parameters

--> CNV_FLD2_MIN    From value of 2 conversion parameters

--> CNV_FLD2_MAX    To value of 2 conversion parameters

--> CNV_FLD3_MIN    From value of 3 conversion parameters

--> CNV_FLD3_MAX    To value of 3 conversion parameters

The conversion parameters are optional.

TAB_IN is an internal RANGES table that is filled with the values of the field to be converted when the routine is called up. The conversion routine must fill the RANGES table TAB_OUT with the converted values.

If a conversion routine has been specified, a fill routine must also be specified. The fill routine must carry out the appropriate return conversion. The Report Writer calls up the conversion routine before reading the database table. For every data record read, the fill routine is called up in order to return the conversion of the field used in the report.

History
Last changed by/on SAP  20010607 
SAP Release Created in