CALL FUNCTION func

Syntax

CALL FUNCTION func { parameter_list
                   | parameter_tables }.

Effect

This statement calls the function module specified in func. The identifier func must be a character-type data object, which contains the name of a function module in uppercase letters during the statement execution. Each function module of an ABAP system has a unique name, which is why you need not specify the function group.

Use additions parameter_list or parameter_tables (as of release 6.10) to statically or dynamically assign actual parameters to the formal parameters of the function module and return values to the non-class-based exceptions.

Note

If the name of a function module is specified by a constant or as a literal, the extended syntax check can check the statement.

Exceptions

Catchable Exceptions

CX_SY_DYN_CALL_ILLEGAL_FUNC

CX_SY_DYN_CALL_ILLEGAL_TYPE

CX_SY_DYN_CALL_PARAM_MISSING

CX_SY_DYN_CALL_PARAM_NOT_FOUND