Ansicht
Dokumentation

ABENABAP_SQL_CDS_OBSOLETE - ABAP SQL CDS OBSOLETE

ABENABAP_SQL_CDS_OBSOLETE - ABAP SQL CDS OBSOLETE

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

Obsolete Access to CDS Views in

Obsolete Syntax

SELECT ... FROM cds_db_view ...

Effect

Specifies a that is associated with a CDS-managed DDIC view using its name CDS_DB_VIEW that is defined in the annotation @AbapCatalog.sqlViewName as a data source data_source of the SELECT statement. If the name CDS_DB_VIEW is used, the CDS-managed DDIC view is accessed directly and handled like a DDIC view. More specifically, the following applies:

  • Any CDS roles defined for CDS access controls are applied only when the CDS entity is accessed and not when the CDS-managed DDIC view is accessed.
  • The key fields of the DDIC database view are used for the syntax check and not the key fields of the CDS entity in the addition ORDER BY PRIMARY KEY.

Notes

  • To keep the behavior consistent and to use only the defined properties of a CDS view, only the name of the CDS entity should be used to access a CDS view.
  • Direct access to a CDS-managed DDIC view is forbidden instrict mode from Release .






TXBHW - Original Tax Base Amount in Local Currency   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2765 Date: 20240424 Time: 172107     sap01-206 ( 38 ms )