Skip to Content
0
Jul 02 at 02:10 PM

Global filter in SAP Fiori Overview Page

136 Views

Hi,

We are developing an SAP Fiori Overview Page with the help of CDS Views. We are facing a problem with the Global Filters. Here is the link to the relevant documentation: https://sapui5.hana.ondemand.com/sdk/#/topic/73d96937ae94468da04cf0d32eb4c6ee

We are not able to set a global filters to the OVP cards.We would like to filter the date and country. The configuration in our manifest.json file is :

"sap.ovp": {
		"globalFilterModel": "mainService",
		"globalFilterEntityType": "PackagingEPRFeesVolumesView",
		"containerLayout": "resizable",
		"enableLiveFilter": false,
		"considerAnalyticalParameters": false,
		"filterSettings": {
			"dateSettings": {
				"fields": {
					"deliveryItemDate": {
						"customDateRangeImplementation": "com.sap.sus.smrdp.eprdashboard.ui.ext.controller.customDateRangeType"
					}
				}
			}
		},
		"cards": {
			"donutCard": {
				"model": "mainService",
				"template": "sap.ovp.cards.charts.analytical",
				"settings": {
					"targetUri": "https://rdp-exp-features.eu20.footprint.sustainability.cloud.sap/launchpad#ReportCategories-add",
					"title": "{{donutCardHeaderTitle}}",
					"subTitle": "{{donutCardHeaderSubTitle}}",
					"entitySet": "PackagingEPRFeesVolumesView",
					"chartAnnotationPath": "com.sap.vocabularies.UI.v1.Chart#DonutCard",
					"defaultSpan": {
						"cols":2
					}
				}
			}
			
		}
	}
}

On the OVP we use the global filter fields for changing the date and country but if we fire the go button nothing happens. Can you please tell us, how can we proceed in order to implement a global filters in the right way and use it in the overview page?

Thanks,

Marina