Menu

SAP Function Module SWB_EXPRESSION_EVAL

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 SWB_EXPRESSION_EVAL () is a standard Function Module in SAP ERP and is part of the function group SWB2 within the package SWB.

Technical Information

Function Module SWB_EXPRESSION_EVAL
Short Text
Function Group SWB2
Package SWB
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CONTAINER_IF CLASS IF_SWF_CNT_CONTAINER
EXPR_1 LIKE SWAEXPDEF-EXPR Operand 1
EXPR_2 LIKE SWAEXPDEF-EXPR Operand 2
OPERATOR LIKE SWD_SNODES-PARAMETER2 Arithmetic or comparison operation to be performed
RESULT_DECIMALS_IN LIKE DFIES-DECIMALS SPACE
RESULT_ELEMENT LIKE SWCONT-ELEMENT SPACE Container element for result
RESULT_IS_TABLE_IN LIKE SWCONTDEF-TABELEM SPACE
RESULT_LENGTH_IN LIKE SWCONT-ELEMLENGTH SPACE ABAP length of result element (default)
RESULT_TYPE_IN LIKE SWCONT-TYPE SPACE ABAP type of result element (default)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CONTAINER_LINES_DELETED LIKE SWWCOMMIT-DELETEFLAG
ERRORCOUNT LIKE SWAEXPEDIT-ERRORCOUNT Number of errors evaluating operand 1/2
EXPR1_IS_NIL LIKE SWWCOMMIT-COMMITFLAG 1st expression/operand has no value (zero)
EXPR1_VALUE LIKE SWCONT-VALUE
EXPR1_VALUE_EXT LIKE SWCONT-VALUE
EXPR2_IS_NIL LIKE SWWCOMMIT-COMMITFLAG 2nd expression/operand has no value (zero)
EXPR2_VALUE LIKE SWCONT-VALUE
EXPR2_VALUE_EXT LIKE SWCONT-VALUE
RESULT_DECIMALS LIKE DFIES-DECIMALS Decimal points of result element
RESULT_IS_TABLE LIKE SWCONTDEF-TABELEM
RESULT_LENGTH_OUT LIKE SWCONT-ELEMLENGTH Act. length of result element after calculation
RESULT_TYPE_OUT LIKE SWCONT-TYPE ABAP type of result element after calculation
RESULT_VALUE LIKE SWCONT-VALUE Result (value)
WORST_MESSAGETYPE LIKE SWAEXERROR-MSGTY Expression evaluation: 'Worst' message type

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CONTAINER LIKE SWCONT
EXPRESSION_ERRORS LIKE SWAEXERROR Error messages (sy. msg. structure)
RESULT_TABLE LIKE SWACONVAL Result table if RESULT_Element is a table

Exceptions

This function module does not define any Exceptions.