Ansicht
Dokumentation

ABENCDS_F1_RETURN_LIST_ELEMENT - CDS F1 RETURN LIST ELEMENT

ABENCDS_F1_RETURN_LIST_ELEMENT - CDS F1 RETURN LIST ELEMENT

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

- DEFINE TABLE FUNCTION, element

... $[@element_annot1$]
    $[@element_annot2$]
    ...
      $[KEY$] name : typing
    $[@element_annot1$]
    $[@element_annot2$] ...


Additions

1. ... @element_annot ... @element_annot

2. ... KEY

Effect

Specifies an element in the list of elements of a CDS table function. name expects a unique element name that complies with the naming rules. The names of the elements are in the same namespace as the parameters of the table function. 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.

Each element must be typed with an elementary data type typing. This typing determines the data type of the corresponding component of the structured data type represented by the CDS table function and the associated column of the tabular return value result of the associated AMDP function implementation.

It is not case-sensitive. The blanks in the comma-separated list are ignored and can be omitted.

Addition 1

... @element_annot ... @element_annot

Effect

Specifies annotations for the element. The annotations can be specified before the element using @element_annot or after the element using @element_annot.

Note

An ABAP annotation can be used to assign further technical and semantic attributes to an element for evaluation by the ABAP runtime framework. Framework-specific annotations can be used to give the element specific semantic attributes for other SAP frameworks.

Addition 2

... KEY

Effect

KEY is used to define the current element as a key element of the current CDS table function. Elements of the element list can be defined as key elements, which are coherently grouped at the beginning of the list, whereby the client field of a client-dependent CDS table function is ignored.

Apart of that, the key elements of the CDS entity are used to document the semantics of the data model. The addition KEY is then ignored when the CDS table function is activated and when other accesses are performed in program executions.

Notes

  • In the syntax check, the key elements are used in places where the key is respected.
  • The key elements are not relevant for the uniqueness of rows within the result set of the CDS table function, which means that exceptions can be raised when making assignments to internal tables with appropriately unique table keys.





ROGBILLS - Synchronize billing plans   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 5558 Date: 20240420 Time: 084929     sap01-206 ( 87 ms )