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.
To generate a CDS view, you must activate the DDL source.
ProcedureTo activate the DDL source from the DDL source editor ...
Alternatively, you can use the keyboard shortcut Ctrl + F3.
To activate the DDL source from the Project Explorer ...
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 Core Data Services folder of the selected package.