Ansicht
Dokumentation

ABENLOOP_GROUP_BY_LVLS_NST_ABEXA - LOOP GROUP BY LVLS NST ABEXA

ABENLOOP_GROUP_BY_LVLS_NST_ABEXA - LOOP GROUP BY LVLS NST ABEXA

PERFORM Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

- Grouping with LOOP, Nesting

This example demonstrates nested group level processing using GROUP BY.

Source Code

Execute

Description

This example works in the same way as the executable example for group level processing with nested groups. The member loop of the outer group loop is itself a group loop using the addition GROUP BY and contains a further member loop. The group keys of the outer and inner grouping are constructed by specifying the required columns explicitly and, unlike in group level processing, do not depend on the structure of the table and its sorting. The totals of the space used per group are calculated explicitly.

The executable example for grouping with FOR demonstrates how the nested group loops can be implemented using expressions.






CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1439 Date: 20240426 Time: 044511     sap01-206 ( 33 ms )