
To create a new data definition, proceed as follows:
- Right-click on your project in the Project Explorer.
- Choose New → ABAP Repository Object …
- From the list, choose Core Data Services → Data Definitions.
Hint
You can use the input field below Project to type a search term, for example data def.
- Choose Next.
- Enter the name of an existing package, and a name and description for the new data definition.
Hint
If you enter the name of a database table or the name of a CDS View entity as Referenced Object, the new view will read all fields from that referenced object.

If your package already contains a data definition, you can use the following shortcut:
- In the Project Explorer, expand the subnode Core Data Services → Data Definitions of the favorite package.
- Right-click Data Definitions and choose New Data Definition.