Ansicht
Dokumentation

ABENWITH_CTE_ABEXA - WITH CTE ABEXA

ABENWITH_CTE_ABEXA - WITH CTE ABEXA

Addresses (Business Address Services)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

WITH, Common Table Expressions

This example demonstrates how common table expressions are used in the statement WITH.

Source Code

Execute

Description

A common table expression +conns creates a table of flight connections. A further expression, +cnts, determines the number of entries in the result set of +conns. The closing main query combines the result sets of both common table expressions using a cross join. This makes available the number of entries in every row of the result set of the WITH statement. The common table expression +conns is used twice in the WITH statement.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 906 Date: 20240423 Time: 143817     sap01-206 ( 24 ms )