SAP ABAP Data Element L_FORMEL (Long formula text)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       GBSE (Package) FI-SL sets
Basic Data
Data Element L_FORMEL
Short Description Long formula text  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type L_FORMEL    
Data Type CHAR   Character String 
Length 250    
Decimal Places 0    
Output Length 250    
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 FormulaTxt 
Medium 15 Formula text 
Long 20 Formula text 
Heading 55 Formula text 
Documentation

Definition

In formula processing you can:

  • use variables in variables. These variables must already exist and be suitable for using in formulas. When you enter variables in formulas, you must enter apostrophes around them (' '). You also have the option to place the character & before the variable name. The formula entries 3 + 'VAR' - 2 and 3 + '&VAR' - 2 both have the same meaning. The variable VAR must already be defined so that the system can process the formula. The variable VAR can itself contain one or more existing variables.

  • use exits in variable formulas

Example 1 for a formula: 2 + '#S001'.

S001 is an exit in the report RGSVS000. The exit is enclosed in ' ' and the character # is placed before the exit name. Report RGSVS000 is an SAP standard exit. The exits created by SAP are stored in the report. The names of all the exits used in RGSVS000 consist of four characters, beginning with S followed by any three-digit number. When the formula is evaluated, the system reads the exit and determines the current value. This value is then integrated into the formula.

Example 2 for a formula: 2 + '#S001' + '#U001'.

U001 is an exit from the report RGSVU000 (the report may still have to be created). You can create your own exits in this program and then use them in variable formulas. You must comply with the naming convention for these type of exits: each exit begins with the letter U followed by a three-digit number. The exit must also be enclosed in ' ' and preceded by the character # so that it can be used in variable formulas.

  • If the results from the formula evaluation are not whole numbers, they are rounded to whole numbers.

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