cancel
Showing results for 
Search instead for 
Did you mean: 

AS ABAP 7.52 SP01 : About @VDM annotation

former_member25364
Participant
0 Kudos

Hello

I have installed the AS ABAP 7.52 SP01 Developer Edition (based on ASE 16) to try a tutorial about CDS views and Fiori.

In this tutorial, I define a view and I set different annotations:

"@AbapCatalog", "@AccessControl.authorizationCheck", "@EndUserText.Label".

In the tutorial, there is the annotation "@VDM.viewType". So I type it but it appears in red in my code.

I try to only type "@" and search in the annotation list which appears and I do not find it.

I have also check the ABAP Documentation for release 7.51, and 7.52.

And the VDM annotation has disappeared.

Anyone can confirm and give a reason, please ?

Accepted Solutions (1)

Accepted Solutions (1)

former_member412549
Participant

Hi Emmanuel Dacosta,

Sometimes, it happens when we try to add some annotations it comes red in color but after adding the annotation when we try to activate the CDS view, it activates successfully. In ABAP 7.51 documentation, the VDM annotation is available, but you are correct about ABAP 7.52 documentation, currently it doesn't show up there may be documentation is not updated fully.

My suggestion to you is just try to activate the CDS view after adding the @VDM annotation even if it comes in red. Give it a try and please do let know how it goes.

Thanks & Regards,

Tushar Sharma

Answers (1)

Answers (1)

former_member25364
Participant
0 Kudos

Hello

Thank you for your answer.

I have activated my CDS views without problem.

I do not like when my code is colored in red...that stresses me ; )

Emmanuel