- In the Cline panel, close the previous task and start a new one. Select Plan Mode.
- Enter this prompt in the task input:
Create and add a new column "Destination" to the list report table - Press
Enterto begin. Cline will generate an Implementation Plan.
Note:
- Cline may ask additional questions to prepare the plan. Enter the following information only if cline asks for it:
- I have no destination fields in travel entity. Would you like to add destination field to the CDS data model ?
Yes - Where the column should appear in list report?
next to agency column - Would you like to include sample data?
yes
- I have no destination fields in travel entity. Would you like to add destination field to the CDS data model ?
- Review the plan when ready.
Note
The implementation plan generated by Cline may differ from the example shown below.
- Switch to Act mode.
- Cline will execute the implementation plan.
- After completion, confirm the destination column appears in the list report.
-
Close the current task. Start new task. Switch to Plan mode.
-
Enter prompt in the task input:
Add an analytical column chart to the List Report (ALP) that displays the average price per destination. Configure Price as an aggregated property in the analytical chart, and use the Views configuration to display the analytical chart above the table. Use fiori mcp -
Press
Enterto begin. Cline will generate an Implementation Plan. -
Make sure Cline uses fiori-mcp to understand best approach for analytical chart creation.
- Review the plan when ready.
Note
The implementation plan generated by Cline may differ from the example shown below.
- Enter prompt
show codeto review below technical plan in detail.
Key Technical Details:
Analytics Configuration:
@Aggregation.ApplySupported: {
Transformations: ['aggregate', 'groupby', 'filter'],
GroupableProperties: [Destination],
AggregatableProperties: [{Property: TotalPrice}]
}
@Analytics.AggregatedProperty #avgPrice: {
Name: 'avgTotalPrice',
AggregationMethod: 'average',
AggregatableProperty: 'TotalPrice',
![@Common.Label]: 'Average Price'
}
Chart Annotation:
@UI.Chart: {
$Type: 'UI.ChartDefinitionType',
Title: 'Average Price per Destination',
ChartType: #Column,
DynamicMeasures: ['@Analytics.AggregatedProperty#avgPrice'],
Dimensions: [Destination]
}
-
Switch to Act mode and wait for task completion.
-
After completion, verify the analytical chart and table both are displayed on the list report page.
-
If the Chart does not appear in the list report, Enter the prompt:
Use fiori mcp to verify correct manifest configuration to display chart above table -
If you see
[50017] - Invalid data binding. Enter prompt:Invalid data binding with chart





