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.

CDS%20Opened%20in%20ADT

CDS Opened in ADT

 

CDS%20Opened%20in%20GUI

CDS Opened in GUI

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 !

🙂

Sara Sampaio

Sara Sampaio

Author Since: March 10, 2022

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x