SAP FUNCTIONS EXPRESSIONS
Get Example source ABAP code based on a different SAP table
Functions and Expressions for Operand Positions ITOC
Write PositionsThe following expressions can be specified in
write positions>:
Declaration expressions>
... DATA(...)> ...>
... FINAL(...)> ...>
... FIELD-SYMBOL(...)> ...>
Writable expressions>
The constructor expressions> NEW class( ... )->attr>> and CAST type( ... )->dobj> >
Table expressions> itab[ ... ]>> and their chainings>
Read Positions
Functions that can be specified in a read position include the following:
Built-in functions> ... func( arg )> ...>
... ... func( val = arg p1 = arg1 p2 = arg2 ... )> ...>
Functional methods> ... meth( )> ...>
... meth( a )> ...>
... meth( p1 = a1 p2 = a2 ... )> ...>
... meth( $[EXPORTING p1 = a1 p2 = a2 ...$]>
$[IMPORTING p1 = a1 p2 = a2 ...$]>
$[CHANGING p1 = a1 p2 = a2 ...$] )> ...>
Method chaining>
Chained method call:
... ...->meth1( ... )->meth2( ... )->...->meth( ... )> ...>
Chained attribute access:
... ...->meth1( ... )->meth2( ... )->...->attr> ...>
The following expressions can be specified in read positions:
Calculation expressions>:
Arithmetic expressions>
... arith_exp> ...>
Bit expressions>
... bit_exp> ...>
String Expressions>
... string_exp> ...>
Constructor expressions>:
Instance operator>
NEW>>
Value operator>
VALUE>>
Conversion operator>
CONV>>
Component operator> CORRESPONDING>>
Casting operator>
CAST>>
Reference operator>
REF>>
Lossless operator>
EXACT>>
Reduction operator>
REDUCE>>
Filter operator>
FILTER>>
Conditional operator>
COND>>, SWITCH>>
Table expressions> itab[ ... ]>> and their chainings>
Latest notes:
Functions with numeric return values and arithmetic expressions are summarized as numeric expressions >.
Functions with character-like return values and string expressions are summarized as character-like expressions>.
NON_V5_HINTS
Functions with a byte-like return values and bit expressions are summarized as byte-like expressions >.
ABAP_HINT_END
ABAP_EXAMPLE_VX5
Numeric expression used for specification of a table index for an internal table.
ABEXA 01043
ABAP_EXAMPLE_END