SAP TABLE EXP ITAB LINE ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_ITABEXP - Line Specification
This example demonstrates how the line is specified in table expressions.

ABAP_SOURCE_CODE
DEMO CL_DEMO_TAB_EXP_LINE

ABAP_DESCRIPTION
Table expressions that specify different lines are used as input parameters of the method WRITE_DATA of the output class CL_DEMO_OUTPUT. The following output is produced: The first line of the primary table index The first line of the secondary table index that is assigned to the secondary table key cities . A line with specific content in the columns CARRID and CONNID . Searches using a free key are not optimized and the associated syntax check warning is hidden here using a pragma. The same line as before, but with a read optimized using the secondary hash key id. A line with specific content in the columns CITYFROM and CITYTO with searches optimized using the secondary sorted key cities.