cancel
Showing results for 
Search instead for 
Did you mean: 

CDS Field Group Annotation within Fiori List Report

jbreen
Explorer
0 Kudos
847

Hi All,

We are following the SAP ABAP Programming Model for SAP Fiori for NW 7.5 found here. From this documentation, we are attempting to group fields within the "data point" by customer general details and customer change details. We have written the code below within the CDS view and are consuming this view via a Fiori List Report within Web IDE. In theory, this code should be called when navigating to the details of a line item. We can see the data point title and the value for the field. Unfortunately, this is not grouping the fields or showing the label defined. Is this the correct approach to grouping fields? Any help would be appreciated. Thanks.

@UI.dataPoint: {title: 'Chg Name' } 
@UI.fieldGroup: {qualifier: 'CHG', groupLabel: 'Change Details', position: 10, type: #AS_DATAPOINT}
ernam as Ernam,

@UI.dataPoint: {title: 'Chg Date' } 
@UI.fieldGroup: {qualifier: 'CHG', position: 20, type: #AS_DATAPOINT}
erdat as Erdat,<br>

John

Accepted Solutions (0)

Answers (0)