Skip to Content
0
May 21, 2020 at 05:46 AM

Tree structure using annotations in CDS views

74 Views Last edit May 21, 2020 at 05:58 AM 2 rev

Hi,

I need to display a normal list report in UI5 with tree structure. The report should be display Header and Line items in the same page but as a tree structure.

Example:

1. Sales_order_no1

1.1 sales_order_no1 line_items_no ---

1.2 sales_order_no1 line_items_no ---

2. Sales_order_no2

1.1 sales_order_no2 line_items_no ---

1.2 sales_order_no2 line_items_no ---

Can this be done using CDS views using annotations as we will use odata.publish to create a odata service.

Please help.

Regards,

Jones