SAP ABAP Data Element QFORMEL (Formula Field)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       QA (Package) QM master data
Basic Data
Data Element QFORMEL
Short Description Formula Field  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type QFORMEL    
Data Type CHAR   Character String 
Length 60    
Decimal Places 0    
Output Length 60    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name FORMULA_FIELD   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Formula 
Medium 15 Formula 
Long 20 Formula 
Heading 55 Formula 
Documentation

Use

To calculate a value for a calculated characteristic, enter a formula in this field. The formula will be evaluated by the SAP formula interpreter in the following places:

  • In the task list (checked for correct syntax)
    The function module CHECK_FORMULA checks whether a formula stored as a literal or as variable has the correct syntax.
  • In results recording (when the value of the calculated characteristic is to be calculated)

Example

A formula can be structured as follows (with the standard settings):

Characteristic 10 stands for the length and characteristic 20 stands for the width. Characteristic 30 represents the area and is to be calculated from characteristics 10 and 20.
Characteristic 30 is therefore a calculated characteristic with the following formula:

  • General: Area = Length * Width
  • Formula interpreter: Area = ppnnnn * ppnnnn
    The variable 'pp' defines the formula parameter and 'nnnn' represents the characteristic from which the value of the formula parameter is taken.
  • Example: Area = C00010 * C00020
    'C0' stands for the arithmetic mean value and '0010' or '0020' for the respective characteristic.

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