SAP-samples / fiori-elements-feature-showcase

Sample application that demonstrates and documents a broad variety of features of SAP Fiori elements for OData V4. Developers can play around with the new features and learn how to implement them.
https://community.sap.com/topics/fiori-elements
Apache License 2.0
212 stars 74 forks source link

AnalyticalTable samples? #15

Open wozjac opened 1 year ago

wozjac commented 1 year ago

Hello,

I struggle to set an AnalyticalTable (in the object page in my case) based on the information for V4 CAP from here https://sapui5.hana.ondemand.com/sdk/#/topic/7f844f1021cd4791b8f7408eac7c1cec

Do you have a working sample?

BR, Jacek

schiwekM commented 1 year ago

Hi @wozjac, please excuse the late response. I will pick this up and see when we can add an example for it. In V4 CAP you have to enable the new parser, as the analytical table uses $concat, $top, $skip and I think also $order within $apply which is only implemented with the new parser. https://cap.cloud.sap/docs/advanced/odata?q=odata_new

After enabling it you should be good to go. When I tried it out the analytical table worked on the OP, but I am not sure if also in Edit mode. Will pick this up too.

Hope that helps already & BR, Marten