cancel
Showing results for 
Search instead for 
Did you mean: 

I can't set sorting and grouping using by annotation file in WebIDE

I am a beginner in WebIDE and OData services, I try to create ListReport with Northwind OData service v2. Setting in my annotation file I add below.

Grouping is not working. But if I set this by icon setting in the right top corner, all is working correctly.

Can somebody advise what I do wrong.

Accepted Solutions (0)

Answers (5)

Answers (5)

rohith_deraje
Employee
Employee

Hi ,

Grouping from selection presentation variant (SPV) annotation is presently a gap in LROP V2 and is in plan to be bridged.

Regards,

Rohith

former_member66
Advisor
Advisor
0 Kudos

Hi Rohith,

Is it still the case, that Grouping from SPV annotation is not possible in LROP V2?

Can I track the progress on this somewhere?

Regards,

Lena

rohith_deraje
Employee
Employee
0 Kudos

Hi Lena,

It is still to be supported. I am not aware of other channel to track the progress. However you can use this tread to track/post queries.

Regards,

Rohith

max_1234
Explorer
0 Kudos

Hi Rohith,

please tell me, if grouping is still to be supported or when it will be available.
Are there any workarounds in place?

Regards,
Mario

Hi,

I know that this is an old question but do you managed to fix this issue. I still get the same behavior where grouping cannot be done from the annotation but it works when using the settings icon of the table.

Sorting works correctly.

I've added the Visualizations annotation too with effect.

Thanks

David

0 Kudos

Hi,

for me either - and I tried all possible table types. I am using OData v2 and my XML annotation look exactly like in this blog post: https://blogs.sap.com/2018/01/11/fiori-elements-list-report-sorting-grouping-and-table-types/

Is it still an open issue from SAP side maryana.naboka? Or is there a known workaround for that?

Thanks a lot,

Svea

maryana_naboka
Active Participant
0 Kudos

Please be aware, that sorting is not possible in some types of a smart table.

You can find the overview of the supported features per table type here:

https://help.sap.com/viewer/468a97775123488ab3345a0c48cadd8f/7.52.4/en-US/148892ff9aea4a18b912829791...

You can find the information on how to set up the table type in the list report and object page here: https://help.sap.com/viewer/468a97775123488ab3345a0c48cadd8f/7.52.4/en-US/7f844f1021cd4791b8f7408eac...

Hope this helps

0 Kudos

Hi Mariana,

thanx for your answer, sorting method, which I set according to your advice, works correctly now, but grouping still not. 🙂

Jaromir

maryana_naboka
Active Participant
0 Kudos

Hi Jaromir,

can I have a look at your project? Or at least at a screenshot of your up-to-date annotation file in AM with all the relevant rows expanded?

Best Regards,

Mariana

0 Kudos

Hi Mariana, below I attach 2 pic of complete annotation file.

maryana_naboka
Active Participant
0 Kudos

Hi Jaromír,

you have set it correctly, so it looks like a bug in Fiori Elements List Report. Please open a ticket for the component CA-UI5-ST-LR and colleagues responsible for developing Fiori Elements will look into it.

If you have any questions or feedback on Annotation Modeler in SAP Web IDE, please let me know.

Best Regards,

Mariana

maryana_naboka
Active Participant
0 Kudos

Hi Jaromir,

The root cause of the problem is that the mandatory visualization property is not defined in the UI.PresentationVariant, so the app does not know where to apply it to. Here is what you need to do:

  1. In UI.PresentationVariant, click "+" next to the Visualizations property and select to add Item.
  2. In the newly added Item row, select @UI.LineItem as an annotation path

Do not forget to save your changes.

Run the application again to see the changes. The grouping should work.

Hope this helps

Mariana Naboka