Ansicht
Dokumentation

ABENTABLE_CMPRHNSNS_SIMPLE_ABEXA - TABLE CMPRHNSNS SIMPLE ABEXA

ABENTABLE_CMPRHNSNS_SIMPLE_ABEXA - TABLE CMPRHNSNS SIMPLE ABEXA

CL_GUI_FRONTEND_SERVICES - Frontend Services   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

- Table Comprehensions, Basic Properties

This example demonstrates the basic properties of table comprehensions.

Source Code

Execute

Description

From an internal table itab1, the content of new internal tables is created in constructor expressions with one FOR expression each:

  • itab2 has the same line type as itab1. All columns of all lines are assigned that meet a WHERE condition.
  • itab3 has the same line type as itab1. All lines are assigned that meet a WHERE condition from a line.
  • itab4 has fewer columns than itab1. Only certain columns of a restricted number of lines are assigned.
  • itab5 has only one column. The addition BASE is used to first assign the table base and then the first column of itab1. This demonstrates the effect of specifying a sorted secondary key for this column.





Fill RESBD Structure from EBP Component Structure   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1340 Date: 20240423 Time: 103048     sap01-206 ( 22 ms )