SAP TABLE EXP ITAB CHANGING ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_ITABEXP - Write Positions
This example demonstrates table expressions in write positions.

ABAP_SOURCE_CODE
DEMO CL_DEMO_TAB_EXP_CHANGING

ABAP_DESCRIPTION
In a DO loop, the content of an internal table
is passed component by component to an IMPORTING parameter and EXPORTING parameter of a method using two table expressions. This modifies one column of the current line.
is passed line by line to a CHANGING parameter of a method using one table expression. This modifies one column of the table line.
The second method is quicker, of course, since only one read is performed on the internal table instead of two.