Get Example source ABAP code based on a different SAP table
Group Level Processing with Nested Groups This example demonstrates nested groups in group level processing in internal tables.
ABAP_SOURCE_CODE DEMO CL_DEMO_INT_TBLS_AT_NESTED
ABAP_DESCRIPTION The sorted table sflight_tab> is filled with flight data from the database table SFLIGHT>>. The respective sum is calculated and displayed at the end of nested line groups for the columns CARRID> and CONNID> and at the end of the complete loop. The content of the lines in a group level can be displayed optionally. The executable example Grouping with Nesting> shows how the same function can be provided using the addition GROUP BY>>.