AS ABAP Release 753, ©Copyright 2019 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP - Dictionary → ABAP CDS in ABAP Dictionary → ABAP CDS - Data Definitions → ABAP CDS - Views →ABAP CDS - Table Buffering of CDS Views
For a CDS view in ABAP CDS, the following CDS annotations can be used to specify how table buffering works:
Table buffering of CDS views is done for the CDS database view derived from the data definition of the CDS view, and the same prerequisites apply as for classic database views. To meet these prerequisites, a CDS view can only be buffered if the following applies:
Only the key fields of the CDS database view are respected in SAP buffering of CDS database views. By default, these are not the key elements of the CDS entity defined using KEY (unless the value true is specified for the view annotation AbapCatalog.preserveKey.
Note
In client-specific views, the client column must be explicitly included or added to the number in the specification for the annotation @AbapCatalog.buffering.numberOfKeyFields.
Example
Enables full buffering for a CDS view.