Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

How to annotate an OData Attribute with sap:display-format="Date"

$
0
0

Hello experts,

 

for a Fiori SmartFilterBar I need an Edm.DateTime attribute to be recognized as a Date field.

Intention: From the annotation the Filterbar recognizes, that a Datepicker needs to be displayed.

 

I got the idea with the Annotation from here:

Re: Rules for OData datetime properties

 

 

The Annotation (display-format) is of course mentioned here:

SAP Annotations for OData Version 2.0

 

 

I do not see any option to set this Annotation for my attribute in transaction segw.

The explanations on the second link confused me quite a bit.

 

Any hints appreciated.


Viewing all articles
Browse latest Browse all 2823

Trending Articles