SAP TABLE CMPRHNSNS LOCALS ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_ITAB - Table Comprehensions, Local Helper Fields
This example demonstrates how local helper fields are used in table comprehensions.

ABAP_SOURCE_CODE
DEMO CL_DEMO_TABLE_COMPRH_LOCALS

ABAP_DESCRIPTION
From a single column table array, a three-column table itab is created whose column content is calculated from the respective line content in array. The local helper fields in this example are the work area x of the FOR expression and the helper field off defined in a LET expression.