Skip to Content
1

date in filter option of the sapui5 list report

Apr 24, 2017 at 01:21 PM

280

avatar image
Former Member

Hi Experts,

I have created sapui5 list report using list report template, i have one field "As on Date" in the selection fields of the report. this fields is showing as Multiinput instead of Datepicker on the screen. I want to show that field in

- There is no annotation coming from backend system.

- filed is type date (Edm.DateTime) in the backend.

- in metdata file i have maintained sap:display-format="Date" property

-Metadata file:

<Property Name="Dmdt" Type="Edm.DateTime" Nullable="false" Precision="7" sap:label="As on date" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:display-format="Date"/>

I want to show field as Datepicker.

Please suggest way forward.

Regards,

Saurabh

10 |10000 characters needed characters left characters exceeded

Hello Saurabh,

I checked the smart filter bar code and it looks for display-format annotation. Can you share the snippet of the code to check further.

Thanks and Regards,

Veera

0
Former Member
Veeraraghavan Narasimhan

Hi,

Below is the snippet:

this is my metadata file:

I have added display-format ="Date" for date field but it is not showing me 'Datepicker' on the selection screen

snippet.jpg (41.6 kB)
0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Olivier Souksamran Jan 23 at 02:53 PM
0

Hello Saurabh,

Did you figure it out ?

Thank you mate !

Olivier

Share
10 |10000 characters needed characters left characters exceeded