SAP ABAP Data Element AP_FORTXT (Formula)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       CR (Package) R/3 Application development: PP Resources
Basic Data
Data Element AP_FORTXT
Short Description Formula  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type TDOBNAME    
Data Type CHAR   Character String 
Length 70    
Decimal Places 0    
Output Length 70    
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 Formula 
Medium 15 Formula 
Long 20 Formula 
Heading 55 Formula 
Documentation

Definition

Formula used to determine:

  • execution time
  • capacity requirements
  • costs per activity at the work center
  • the total quantity of a production resource/tool or
  • the total usage value of a production resource or tool

Procedure

To enter a formula bear in mind the following points:

  • Formula parameters or constants are valid as operands in the formula.
  • The formula can be entered in three lines maximum.
  • As well as the basic functions +, -, *, / and the arithmetic functions SIN and COS one can also perform integer division with DIV or MOD, calculate square roots with SQRT, exponents with EXP and natural logs with LOG.
  • At least one blank must be between the operand and the operator. Exception: Brackets after a function (for example SIN( A ) ).
  • The syntax of the ABAP-key word COMPUTE is valid for formulas (also see HELP COMPUTE in the ABAP-editor). However formulas do not end with a period.
  • The system converts units of measure automatically so the conversion does not need to be taken into consideration in the formula.

Examples

Formula with parameters    Formula with values    Result

A + B * C    30 MIN + 6 MIN * 100    10,5 HRS

A * ( B - 1 ) DIV 100    10 MIN * ( 300 - 1 ) DIV 100    20 MIN

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