Ansicht
Dokumentation

ABENCDS_F1_CUSTOM_ELEMENT - CDS F1 CUSTOM ELEMENT

ABENCDS_F1_CUSTOM_ELEMENT - CDS F1 CUSTOM ELEMENT

Addresses (Business Address Services)   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

- DEFINE CUSTOM ENTITY, Element

... $[@element_annot1$]
    $[@element_annot2$]
    ...
    ${ $[KEY$] name      : typing $}
  $| ${      _assoc     : association $}
  $| ${      _compos    : composition $}
  $| ${      _to_parent : to_parent_assoc $} ...


Additions

1. ... @element_annot

2. ... KEY

Effect

Specifies an element name or exposes a CDS association _assoc, a CDS composition _compos, or a CDS-to-parent association _to_parent in the element list of a CDS custom entity. At least one element must be defined as a key element.

The element names name, _assoc, _compos, and _to_parent must specify a unique name that complies with the naming rules for names. It is recommended that the name of a CDS association, a CDS composition, or a CDS-to-parent association starts with an underscore _. The names of the elements are in the same namespace as the parameters of the custom entity. Furthermore, name cannot contain any slash (/) characters and cannot be a reserved name in ABAP Dictionary. The reserved names that cannot be used are specified in the DDIC database table TRESE.

  • An element name can optionally be defined as key element using the keyword KEY and it must be typed with an elementary data type typing. The typing determines the data type of the corresponding component of the structured data type represented by the CDS custom entity.
  • The addition to_parent_assoc is used to expose a CDS to-parent association with the name _to_parent. No component with the name _assoc, _compos, and _to_parent is created in the associated structured data type. Element names are not case-sensitive. The blanks in the semicolon-separated list are ignored and can be omitted.

Addition 1

... @element_annot

Effect

Specifies annotations for an element. The annotations can be specified in front of every element using @element_annot. Element annotations can be used to annotate the elements and CDS associations, CDS compositions, and CDS to-parent associations of a CDS custom entity with semantic attributes.

Addition 2

... KEY

Effect

KEY is used to define the current element as a key element of the current CDS custom entity. Those elements of the element list can be defined as key elements that are placed without gaps at the start of the list. At least the first element must be a key element.






Fill RESBD Structure from EBP Component Structure   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 6763 Date: 20240416 Time: 094145     sap01-206 ( 93 ms )