SAP WITH AGG UNION ABEXA



Get Example source ABAP code based on a different SAP table
  



WITH, Aggregation for Join Set
This example demonstrates how to use WITH for an aggregation.

ABAP_SOURCE_CODE
DEMO CL_DEMO_SELECT_UNION_SUM_CTE

ABAP_DESCRIPTION
This example has the same result as the executable example for a union with a global temporary table . The source code is almost identical. Here the global temporary table demo_sflight_agg has been replaced by a common table expression +agg and both SELECT statements are part of a WITH statement.