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

Extend Fiori App based on RAP (F4832) to add custom filter

taphafall015
Explorer
0 Likes
1,621

Hi experts,

I have requierement to extend Fiori App based on RAP (F4832) to add custom filter with custom value help.

Please lets me know how to achieve this. 

Note : we are on SAP S4hana Onpremise 2022 

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
SAP Champion
SAP Champion
0 Likes
taphafall015
Explorer
0 Likes

Hi,

Thanks for the blog. I already done this king of extension. 

Now we would like to extend apps using backend like extending CDS view with association and adding annotations like : 

@Consumption.valueHelpDefinition: [{ entity: { name: 'ZI_ProductHierarchyVH', element: 'ProductHierarchyNode' }}].

For this exemple adding filters and columns works fine, but no data in value help list since CDS entiy ZI_ProductHierarchyVH is not part of ODATA of the original apps.

junwu
SAP Champion
SAP Champion
0 Likes
you can just extend the service to expose the value help cds.
taphafall015
Explorer
0 Likes

Hi,

Thanks for your return. But it's not as simple as you think...

We also did the solution proposed by André Fisher via his blog : https://community.sap.com/t5/technology-blogs-by-sap/how-to-redefine-rds-based-odata-services/ba-p/1...

The problem with this solution is : you do it the first time it works well, then you come back a few months to add a new filter and then the ODATA is completely lost it no longer recognizes the SADL...

If you have already extend a Service or an FIORI elements apps which adds custom filter with specific value help, please let me know how do you achieve this !

Kindly

Regards

junwu
SAP Champion
SAP Champion
0 Likes
it is as simple as that.