Purpose
Help developers to find CDS annotation examples, especially when this error message appears in ADT: Text search services are not supported, because it is not available / not configured in the backend.
I created it to help my students to find samples and for myself when dealing with the many possible annotations listed on the SAP Help Site, which explain all the properties of them. Unfortunately samples for them are split across the multiple developer guides of the corresponding frameworks. Why not to see a real use case right in the system ?!
Features
- Search for CDS header / field / parameter annotations
- Type ahead value help for annotations existing in the system within CDS Entities
- Opens ADT, when running embedded, otherwise shows Data Definition in a popup
Usage
Run report ZSAPDEV_CDS_FIND_ANNO in ADT / SE38 / SA38 / SE80 and start typing to find an annotation you’re looking for.
Execute (F8), then select a CDS Entity and press the Show CDS button.
In case You executed it in ADT, it will open a new Tab, otherwise the Data Definition Source code will be displayed in a popup window.
Installation
Install this repository using ABAPGit online / offline
https://github.com/attilaberencsi/cdsfindanno
You will find here a more interactive demo as well.
Tested on ABAP Platform 1909, and the same time good bye, such tool cannot be developed in the Trial Cloud for fun.
I wish You a joyful CDS and Fiori Development !
🙂