Ansicht
Dokumentation

ABENFOR_GROUP_BY_AGGREGATES_ABEXA - FOR GROUP BY AGGREGATES ABEXA

ABENFOR_GROUP_BY_AGGREGATES_ABEXA - FOR GROUP BY AGGREGATES ABEXA

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

- Grouping with FOR for Aggregates

This example demonstrates aggregates with FOR expressions.

Source Code

Execute

Description

This example works in the same way as the executable example for group loops with member loops and the executable example for group loops without member loops. Here, the group loop is also replaced by a FOR expression. The aggregates are calculated in a VALUE expression, to avoid having to specify the name of the structure too often. The descending sort of the member table members must be passed to a method here, since there is no corresponding additions in table comprehensions.






General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1189 Date: 20240501 Time: 232855     sap01-206 ( 37 ms )