Get Example source ABAP code based on a different SAP table
VERSION 5 IN
grouping set Grouping sets are used in the GROUP BY clause of a query. A grouping set is specified either as an empty grouping set or as a comma-separated list. Columns and SQL expressions can also be used in the list. The GROUP BY addition GROUPING SETS makes it possible to define multiple grouping sets under a GROUP BY clause. The grouping sets are aggregated separately and merged into one result set. ABAP_MORE_INFO