Ansicht
Dokumentation

ABENCDS_F1_HIERA_ELEMENT_LIST - CDS F1 HIERA ELEMENT LIST

ABENCDS_F1_HIERA_ELEMENT_LIST - CDS F1 HIERA ELEMENT LIST

CPI1466 during Backup   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

- DEFINE HIERARCHY, element_list

... { element1, element2, ..., } ...

Effect

Defines the elements of a CDS hierarchy. The elements are specified in a comma-separated list enclosed in curly brackets { }.

The elements determine either the components of the result set of the CDS hierarchy and of the structured data type represented by the CDS hierarchy with respect to ABAP or they expose a CDS association.

The ABAP data types of the components of the structured data type are derived from the dictionary types of the elements in accordance with the associated mapping rules.

Example

Element list of a CDS hierarchy in which all possible hierarchy attributes are listed after the prefix $node.. The program DEMO_HIERARCHY_TREE_HIER_ATTR accesses the CDS hierarchy and uses to read all elements of the element list plus the additional hierarchy columns. When executed, the program demonstrates that the values of the hierarchy attributes and of the associated hierarchy columns are the same.






Fill RESBD Structure from EBP Component Structure   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2154 Date: 20240427 Time: 000245     sap01-206 ( 35 ms )