ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Release 7.40 → Changes in Release 7.40, SP02
Operand Positions in Release 7.40, SP02
2. Operand position in CALL FUNCTION ... EXPORTING
3. Operand position behind CASE
4. Operand position in dynamic ASSIGN
5. Operand positions in statements for internal tables
6. Operand positions for events in ABAP Objects
7. Operand positions behind MESSAGE
8. Operand position in WRITE
and WRITE TO
Other versions:
7.31 | 7.40 | 7.54
Modification 1
Declaration Positions
The new inline declarations can be made in the new declaration positions.
Modification 2
Operand position in CALL FUNCTION ... EXPORTING
Actual parameters specified after CALL FUNCTION ... EXPORTING
have now become a
general expression position.
Modification 3
Operand Position Behind CASE
The operand position behind CASE
was changed to a
general expression position.
Modification 4
Operand Position in Dynamic ASSIGN
The operand comp
in the statement ASSIGN COMPONENT comp OF STRUCTURE
is now a
character-like or
numeric expression position.
Modification 5
Operand positions in statements for internal tables
-
The operands behind the addition
WITH TABLE KEY
of the statementsREAD TABLE itab
andDELETE TABLE itab
are now general expression positions. -
The work area
wa
of the following statements was changed from functional operand positions to general expression positions:
-
The internal table
itab
specified in the statementsREAD TABLE itab ...
andLOOP AT itab ...
is now a functional operand position. -
In the statement
SORT itab
, the internal table(otab)
can now be specified for dynamic sorts as the result of an expression or functional method call.
Modification 6
Operand positions for events in ABAP Objects
-
The operand positions for formal parameters of the statement
RAISE EVENT
are now general expression positions. Functions and expressions can now also be passed to event handlers as actual parameters. -
oref
specified afterSET HANDLER ... FOR
is now a functional operand position.
Modification 7
Operand Positions Behind MESSAGE
The following operand positions of the statement MESSAGE
were changed:
-
oref
is now a functional operand position. -
text
is now a character-like expression position. -
dobj
throughdobj4
behindWITH
are now character-like expression positions or functional operand positions.
Modification 8
Operand Position in WRITE and WRITE TO
Until now, the statements WRITE
and WRITE TO
could only be used
to produce or assign a single data object dobj
. Now the following can also be specified instead of dobj
:
- A predefined function, a
functional method call or
method chaining, or a
constructor expression If the return value/result meets the conditions for
dobj
.
Arithmetic expressions and bit expressions cannot be specified directly, but can be specified as embedded expressions in string templates.