cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Implement Filter functionality in custom fiori app

Former Member
0 Likes
1,378

Hi Experts,

I am working on a custom Fiori App based on master detail application.I want to add the filter funtionality on the list of materials in the master screen.

I could not find any document with steps to implement the same.Please guide as what all changes are required at O data end and the fiori front end.

Regards

Radhika

Accepted Solutions (1)

Accepted Solutions (1)

tejasChouhan
Active Contributor
0 Likes

Hi Radhika,

Lets go step by step.

Implementing Filter criteria in odata.

Based on selection of materials -> Material detail should come.

For this you have to write a filter query in your dpc class. . This blog will show you step by step implementation.

Your URI should be like : /Zprojectname_Srv/EntitySet?$filter=Material eq '1000' (Check 4.5 section for more options : URI Conventions (OData Version 2.0) · OData - the Best Way to REST )

Response :

Material details

The same URI you need to configure in your UI5 code to consume the service.

Regards,

Tejas

Answers (1)

Answers (1)

Former Member
0 Likes

Hey Radhika,

Take a look at this link.

http://experience.sap.com/fiori-design/ui-components/

https://sapui5.hana.ondemand.com/sdk/explored.html

The first link shows the design elements for Fiori.  Choose UI Elements on the left hand side to see them all.

The second link is what the elements look like in action.  There is code you can use here too in your own application.

Hope this makes sense.

Cheers,

Kevin

Former Member
0 Likes

Hi Kevin,

Thank you for providing the details.I am tring to implement the kind of Filter functionality that comes with some standard apps.Please check below screenshots.

Regards

Radhika