The Function Module EVAL_FORMULA (Analysis of a syntactically correct formula) is a standard Function Module in SAP ERP and is part of the function group CALC within the package SUTL.
Function Module | EVAL_FORMULA |
Short Text | Analysis of a syntactically correct formula |
Function Group | CALC |
Package | SUTL |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
DEGREES | LIKE | SPACE | Operators for angle function specified in GRAD | |
FORMULA | LIKE | Formula to be calculated | ||
NO_EXISTENCE_CHECK | LIKE | SPACE | 'X' if existence of program/routine is not to be checked | |
PROGRAM | LIKE | SPACE | Program for value assignment to a variable | |
ROUTINE | LIKE | SPACE | Routine for value assignment to a variable | |
UNIT_OF_MEASURE | LIKE | SPACE | Unit of measurement for calculated value |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
VALUE | LIKE | calculated value of the formula |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
DIVISION_BY_ZERO | Division by zero |
EXP_ERROR | Invalid argument for exponential function |
FORMULA_TABLE_NOT_VALID | Invalid formula set |
INVALID_EXPRESSION | Syntax errors |
INVALID_VALUE | Invalid Value |
LOG_ERROR | Invalid argument for logarithmic function |
MISSING_PARAMETER | Program or Routines Missing for Variables |
PARAMETER_ERROR | Invalid parameter |
SQRT_ERROR | Invalid argument for root function |
UNITS_NOT_VALID | Invalid unit of measure |