SAP NEWS-740-OPERAND POSITIONS



Get Example source ABAP code based on a different SAP table
  



Operand Positions in ABAP Release 7.40, SP02
ITOC

ABAP_MODIFICATION_NN Declaration Positions

The new inline declarations can be made in the new declaration positions.

ABAP_MODIFICATION_NN Operand Position in CALL FUNCTION ... EXPORTING

Actual parameters specified after CALL FUNCTION ... EXPORTING have now become a general expression position.

ABAP_MODIFICATION_NN Operand Position After CASE

The operand position after CASE was changed to a general expression position.

ABAP_MODIFICATION_NN 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.

ABAP_MODIFICATION_NN Operand Positions in Statements for Internal Tables

The following changes have been made:
The operands after the addition WITH TABLE KEY of the statements READ TABLE itab and DELETE 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:
APPEND wa TO ...
INSERT wa INTO ...
MODIFY ... FROM wa ...
The internal table itab specified in the statements READ TABLE itab ... and LOOP 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.

ABAP_MODIFICATION_NN Operand Positions for Events in ABAP Objects

The following changes have been made:
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 after SET HANDLER ... FOR is now a functional operand position.

ABAP_MODIFICATION_NN Operand Positions After 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 through dobj4 after WITH are now character-like expression positions or functional operand positions.

ABAP_MODIFICATION_NN 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 built-in function, a functional method call or method chaining, or a constructor expression If the return value/result meets the conditions for dobj.
A string expression.
Arithmetic expressions and bit expressions cannot be specified directly, but can be specified as embedded expressions in string templates.