Show TOC

Activating DDL SourcesLocate this document in the navigation structure

Prerequisites

Make sure that the DDL source you wish to activate is syntactically correct. The system performs a syntax check of the entire object before it is activated.

Context

To generate a CDS view, you must activate the DDL source.

Procedure

To activate the DDL source from the DDL source editor ...

  1. Open the relevant DDL source in the DDL editor.
  2. Click the icon (Activate the ABAP Development Object) in the toolbar.
    Tip

    Alternatively, you can use the keyboard shortcut Ctrl + F3.

To activate the DDL source from the Project Explorer ...

  1. Select the node of the relevant DDL source in the ABAP project in the Project Explorer.
  2. Open the context menu and choose Activate.

Results

In the selected package, the ABAP back-end system creates an active version of the CDS view and stores it in the ABAP Dictionary. The corresponding CDS database view is added to the Start of the navigation path Dictionary End of the navigation path folder of the selected package.

Note You can specify the client dependency of the CDS view using the @ClientHandling CDS annotation, which is available since SAP NetWeaver 7.5 SPXX. If the CDS view is client-dependent, the client field is automatically added to the CDS database view.