Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Obsolete Language Elements →  Obsolete Processing of External Data →  Obsolete Database Access →  Obsolete ABAP SQL 

Obsolete Access to CDS Views in ABAP SQL

Other versions: 7.31 | 7.40 | 7.54

Obsolete Syntax

SELECT ... FROM cds_db_view ...


Specifies a CDS view using its name CDS_DB_VIEW 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 database view is accessed directly and handled like any classic 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 database view is accessed.


  • 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.