cancel
Showing results for 
Search instead for 
Did you mean: 

Date display format in SAP Fiori overview page

ujwal541
Explorer
0 Kudos

Hello Experts,

I am building an overview page application that has a date field in the global filter. My requirement is that this date field should show only the period ( month and year) but not the complete date.

I am using annotation display-format as 'Date' in the backend. Is there a way to achieve this in an overview page application.

Thanks

Ujwal

Accepted Solutions (1)

Accepted Solutions (1)

Joseph_BERTHE
Active Contributor
0 Kudos

Hello,

It is not possible to do what you want without extension. But by annotation you can a Dynamic Date field which could cover a part of your requirement.

Dynamic Date annotation

Regards,

Joseph

ujwal541
Explorer
0 Kudos

Thanks Joseph. Can you please let me know how to make a field mandatory in global filter.

Also can you let me know how to make a field as dropdown ?

Thanks a lot for you reply.

Joseph_BERTHE
Active Contributor
Hello,

For a drop-down list : https://help.sap.com/saphelp_uiaddon20/helpdata/en/2a/0a630e50c7472b803fb94dab922d18/content.htm?no_... (please use google next time 😉 )

To make a field mandatory for search it will not easy. In your entity set there is a property which says search field mandatory, but it doesn't specify which field is mandatory. Thus, in the smart filter, it is not possible without extension to have a visual indicator.

Regards,

Joseph

ujwal541
Explorer
0 Kudos

Can you please let me know how this can be done using an extension?

Answers (1)

Answers (1)

ujwal541
Explorer
0 Kudos

Thanks a lot for your answer, Joseph.

One last question, How can we make global filter screen fields dynamic. Meaning, if a select a value in the dropdown then two selection fields should be visible . otherwise, they should be hidden.

Thanks

Ujwal Ratakonda