Ansicht
Dokumentation

ABENVALUE_ITAB_ABEXA - VALUE ITAB ABEXA

ABENVALUE_ITAB_ABEXA - VALUE ITAB ABEXA

Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

VALUE, Operator for Internal Tables

This example demonstrates the value operator VALUE for internal tables.

Source Code

Execute

Description

The example shows various effects when using the left side of an assignment in line specifications of the operator VALUE in the construction of internal tables.

  • In the construction of itab1, the left side is used after BASE. Here, it is passed the original three lines as a start value before the line specifications are evaluated. Two single lines are then appended to this start value.
  • In the construction of itab2, the left side is initialized before the line specifications are evaluated. This is why no lines are inserted by LINES OF itab2 and the table contains only two single lines.
  • In the construction of itab3, the left side is given its original three lines as a start line using BASE. They are then appended again using LINES OF, before the two single lines are appended.
  • In the construction of itab4, the left side is saved in the helper variable x before it is initialization and is then used in LINES OF. The result is the same as when the left side is used after BASE.





BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1589 Date: 20240427 Time: 031933     sap01-206 ( 34 ms )