ABAP Keyword Documentation → ABAP − Reference → ABAP Syntax → ABAP Statements → Operands → Functions and Expressions in Operand Positions → Operand Positions for Functions and Expressions → Reading Positions for Functions and Expressions
Functional Operand Positions
Functional operand positions are reading positions in which suitable data objects and functional method calls or method chainings plus constructor expressions and table expressions whose return values or results have a suitable data type, can be specified. The following functional operand positions exist:
- Functional operand positions in ABAP Objects
- Operand
oref
of the statementSET HANDLER ... FOR oref
.
- Functional operand positions in relational expressions
- Operand
ref
of the predicate expression... ref IS [NOT] BOUND ...
- Functional operand positions in assignments
- Operand
struc1
of the statementMOVE-CORRESPONDING struc1 TO ...
- Operand
val
of the statementCLEAR ... WITH val
- Function Operand Positions in String Processing and Byte String Processing
- Operand
itab
of the statementCONCATENATE LINES OF itab INTO ...
- Operand
itab
of the statementFIND ... IN TABLE itab ...
- Function operand positions in statements for internal tables
- Internal table
itab
of the statementREAD TABLE itab ...
- Work area
wa
of the statementREAD TABLE ... FROM wa ...
- Internal table
itab
of the statementLOOP AT itab ...
- Internal table
jtab
of the statementINSERT LINES OF jtab INTO ...
- Work area
wa
of the statementCOLLECT wa INTO ...
- Internal table
jtab
of the statementAPPEND LINES OF jtab TO ...
- Work area
wa
of the statementDELETE TABLE ... FROM wa ...
- Function operand positions in statements for time stamps
- Operand
tz
of the statementCONVERT UTCLONG time_stamp TIME ZONE tz INTO...
- Operands
dat
,tim
,dst
, andtz
of the statement
CONVERT DATE dat TIME tim DAYLIGHT SAVING TIME dst INTO UTCLONG ... TIME ZONE tz
- Operands
time_stamp
andtz
of the statement
CONVERT TIME STAMP time_stamp TIME ZONE tz INTO ...
- Operands
dat
,tim
,dst
, andtz
of the statement
CONVERT DATE dat TIME tim DAYLIGHT SAVING TIME dst INTO TIME STAMP ... TIME ZONE tz
- Functional operand positions in message processing
- Operand
oref
of the statementMESSAGE oref ...
- Operands
dobj1
todobj4
of the statementMESSAGE ...WITH dobj1 ... dobj4
- Function operand positions in statements for checkpoints
- Operands
val1 val2
of the statementASSERT ... FIELDS val1 val2 ...
- Operands
val1 val2 ...
of the statementLOG-POINT ... FIELDS val1 val2 ...
Other versions: 7.31 | 7.40 | 7.54
Notes
- Alongside the regular functional operand positions, three extended functional operand positions exist that can be used to specify certain built-in functions. These operand positions are obsolete and should no longer be used.
- Special functional operand positions are all places in which a relational expression can be specified. A single functional method call can be specified as a predicative method call here. Other expressions (with the exception of predicate functions or single data objects (with the exception of an obsolete short form)), on the other hand, cannot be specified as predicates of a relational expression.
- In any expressions in string templates embedded in the
formatting options,
(dobj)
andexpr
for fixed values (if specified) represent a summary functional operand position.
Example
Calls a functional method cl_abap_tstmp=>normalize
in a functional operand position.
DATA ts TYPE timestamp.
...
CONVERT TIME STAMP cl_abap_tstmp=>normalize( ts ) TIME ZONE 'UTC'
INTO DATE DATA(date) TIME DATA(time).