ODATA Service exposed by Custom CDS View not showing Entity Set
I Have created one custom CDS and teh corresponding Odata Service has been added in Gateway through T Code - /iwfnd/maint_service and metadata has been loaded successfully. Now, when I try to Create KPI using KPI Design in Fiori Launchpad, I am getting my Custom CDS View and Odata Service but When I try to fetch corresponding EntitySet its shows "No Data".Then I manually write the entity set, on selecting the value measure I get the popup failed to load metadata.
When I try to fetch Odata Servie the metadata uri has no extention "/EntitySets" because of which I think it is not fetching entity sets. Could you please advice how to rectify.