Ansicht
Dokumentation
ABENSQL_EXPR_OVER_ABEXA - SQL EXPR OVER ABEXA
CL_GUI_FRONTEND_SERVICES - Frontend Services SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
- Window Expressions
This example demonstrates simple window expressions.
Source Code
Description
The example demonstrates how different window functions are applied to windows of a result set of a query defined using PARTITION. The content of the columns CHAR1 and CHAR2 is used as a window criterion. All rows that have identical content in these columns form a window. The result of a window function for a row is determined from all rows of the window this row is a part of. The final column perc demonstrates how a window function can be used as arguments of an SQL expression and hence produce row-dependent results, in this case the percentage of the value of the column NUM1 as part of the entire window.
ABAP Short Reference Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 1078 Date: 20240426 Time: 170653 sap01-206 ( 30 ms )