Ansicht
Dokumentation

ABENCDS_VIEW_PUFFERING - CDS VIEW PUFFERING

ABENCDS_VIEW_PUFFERING - CDS VIEW PUFFERING

TXBHW - Original Tax Base Amount in Local Currency   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

- Table Buffering of CDS Views

The following CDS annotations can define table buffering for a CDS view associated with a CDS managed DDIC view:

Table buffering of CDS views is done for the associated CDS managed DDIC view and the same prerequisites apply as for DDIC database views in ABAP Dictionary. To meet these prerequisites, a CDS view can only be buffered if the following applies:

  • The required key fields must be listed directly in the SELECT list. Key fields that only occur as arguments of expressions cannot be evaluated.

Only the key fields of the CDS managed DDIC view are respected in SAP buffering of CDS managed DDIC 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.

@AbapCatalog.sqlViewName: '...'
@AbapCatalog.Buffering.status: #ACTIVE
@AbapCatalog.Buffering.type: #FULL
  define view ...
   as select from ...
   { ... }





BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 4966 Date: 20240416 Time: 083621     sap01-206 ( 47 ms )