SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Predefined Types, Data Objects, Functions, and Constructors → Predefined Functions →Predefined Functions - Syntax
In the second case, there is usually a main argument val and additional, possibly also optional, arguments. The following sections show the general syntax for calling predefined functions.
Functions with an Unnamed Argument
Syntax
... func( arg ) ...
The syntax for functions with an unnamed argument is the same as the syntax for calling functional methods with an input parameter. func is the predefined function and the argument arg is an operand whose data type matches the function. The blank spaces after the opening and before the closing parentheses are relevant.
Functions with Named Arguments
Syntax
... func( val = arg p1 = arg1 p2 = arg2 ... ) ...
Functions with one or more named arguments are bound to keyword parameters in the same way as calling functional methods with multiple input parameters. Operands can be specified for the arguments, the data type of which matches the corresponding parameter. The blank spaces after the opening and before the closing parentheses are relevant. If one of these functions only has one argument or only the main argument is to be populated, the syntax can be simplified as follows:
... func( arg ) ...