Get Example source ABAP code based on a different SAP table
• /at ABAP_EA
ABAP_CDS_DDL - entity_annot>
ABAP_SYNTAX ... @annotation> ...>
What does it do? Specifies an annotation> annotation>> as an entity annotation in front of the statement in the definition of a CDS entity>. Can be used for the following entities:
DEFINE VIEW ENTITY>>
DEFINE VIEW ENTITY AS PROJECTION ON>>
DEFINE TABLE FUNCTION>>
DEFINE HIERARCHY>>
DEFINE CUSTOM ENTITY>>
DEFINE ABSTRACT ENTITY>>
DEFINE VIEW>> The character @> must be placed in front of the name annotation> of the annotation. The annotation should be defined as a CDS object in a CDS annotation definition> and the annotation definition annotation @Scope>> should be specified here using the value #ENTITY>.