cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori list report - Adding datepicker value help

former_member636171
Participant
0 Kudos
5,573

Hi all,

Is there a way to add a datepicker with time period value help like in the attached picture to a fiori list report based on a CDS view?
If so is there any documentation on how to do it?

Thanks,
Birgir

View Entire Topic
pfefferf
Active Contributor

To my knowledge there is not CDS annotation which allows to define that. In a Fiori Elements app you can define it like described here.

former_member636171
Participant
0 Kudos

Hmm this seems like it should work but it doesn't.
The metadata is like this:

<Property sap:label="Date" Name="workDate" sap:display-format="Date" Type="Edm.DateTime" sap:filter-restriction="interval" Precision="0"/>

And the manifest:

"pages": {
	"ListReport|ZCATSDB_VIEW": {
		"entitySet": "ZCATSDB_VIEW",
		"component": {
			"name": "sap.suite.ui.generic.template.ListReport",
			"list": true,
			"settings": {
				"filterSettings": {
					"dateSettings": {
						"useDateRange": true
					}
				},
				"tableType": "AnalyticalTable",
				"smartVariantManagement": true,
				"condensedTableLayout": true
			}
		}
	}
}


I'll give it a try in a fresh project and see if it works there.