SAP CDS ANNOTATION ARRAY ABEXA
Get Example source ABAP code based on a different SAP table
ABAP_CDS , Annotation Array
This example shows how an
ABAP_SOURCE_CODE
DEMO CL_DEMO_CDS_ANNOTATION_ARRAY
ABAP_DESCRIPTION
The class reads the element annotations of the following CDS view entity:
DDLS DEMO_CDS_ANNOTATION_ARRAY
An
The annotation array is a subannotation of a
{
...
filter
{
...
hierarchyBinding : array of
{
type: String(12) enum { ELEMENT;
PARAMETER;
CONSTANT;
USER_INPUT;
SYSTEM_FIELD; };
value : String(512);
variableSequence : Integer;
};
};
};>
In the case of elements of the annotation array, square brackets are specified in the