SAP NEWS-740-OPERAND POSITIONS

Get Example source ABAP code based on a different SAP table
  



Operand Positions in Release 7.40

1 Declaration positions 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

ABAP_MODIFICATION_1 Declaration Positions


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

ABAP_MODIFICATION_2 Operand Position in CALL FUNCTION ... EXPORTING


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

ABAP_MODIFICATION_3 Operand Position Behind CASE


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

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

ABAP_MODIFICATION_5 Operand positions in statements for internal tables
The operands behind 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_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 after SET HANDLER ... FOR is now a functional operand position.

ABAP_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 through dobj4 behind WITH are now character-like expression positions or functional operand positions.

ABAP_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.
A string expression.

Arithmetic expressions and bit expressions cannot be specified directly, but can be specified as embedded expressions in string templates.