on ‎2015 Jul 07 11:35 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.