Menu

SAP Function Module EVAL_FORMULA

Analysis of a syntactically correct formula

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

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.

Technical Information

Function Module EVAL_FORMULA
Short Text Analysis of a syntactically correct formula
Function Group CALC
Package SUTL
Module Type Normal Module

Importing Parameters

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

Exporting Parameters

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

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

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