<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Date format in FIORI Elements List Report  using Local Annotations in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/date-format-in-fiori-elements-list-report-using-local-annotations/qaa-p/683134#M181690</link>
    <description>&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;Check the link below&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/questions/745501/change-data-format-edmdatetime-to-show-only-date-i.html" target="test_blank"&gt;https://answers.sap.com/questions/745501/change-data-format-edmdatetime-to-show-only-date-i.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;</description>
    <pubDate>Wed, 06 Feb 2019 13:59:21 GMT</pubDate>
    <dc:creator>maheshpalavalli</dc:creator>
    <dc:date>2019-02-06T13:59:21Z</dc:date>
    <item>
      <title>Date format in FIORI Elements List Report  using Local Annotations</title>
      <link>https://community.sap.com/t5/technology-q-a/date-format-in-fiori-elements-list-report-using-local-annotations/qaq-p/683130</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;we have a OData service generated for list report in which one of the field in metadata.xml is Edm.String which is maintained as in back end which is a 8 character field as below&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;Property Name="Start_date" Type="Edm.String" MaxLength="8" sap:display-format="NonNegative"/&amp;gt;&amp;lt;Property Name="End_date" Type="Edm.String" MaxLength="8" sap:display-format="NonNegative"/&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;This field when used as a UI DataField in local annotations as below&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;Record Type="UI.DataField"&amp;gt;
&amp;lt;PropertyValue Property="Value" Path="voyage_start"/&amp;gt;
&amp;lt;PropertyValue Property="Label" String="Voyage Start"/&amp;gt;
&amp;lt;/Record&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;we are getting the format as string as below&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/247559-capture.jpg" /&gt;&lt;/P&gt;
  &lt;UL&gt;
   &lt;LI&gt;Can we format the date string in Fiori list report from UI side .&lt;/LI&gt;
   &lt;LI&gt;Maintain the column width to accommodate more fields in UI as if we have more than 8 fields all the fields are displayed down .&lt;/LI&gt;
  &lt;/UL&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Prasad&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 06:43:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/date-format-in-fiori-elements-list-report-using-local-annotations/qaq-p/683130</guid>
      <dc:creator>prasad</dc:creator>
      <dc:date>2018-12-14T06:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in FIORI Elements List Report  using Local Annotations</title>
      <link>https://community.sap.com/t5/technology-q-a/date-format-in-fiori-elements-list-report-using-local-annotations/qaa-p/683131#M181687</link>
      <description>&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;I can see that the property metadata shows it is of type string. It ideally should of type date time then SAP will automatically converts it for you.&lt;/P&gt;&lt;P&gt;You can change the property type to datetime and check the output. But if you don't want to do that, then you have to do a column extension and do the formatting manually I guess so better update the property&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 07:34:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/date-format-in-fiori-elements-list-report-using-local-annotations/qaa-p/683131#M181687</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2018-12-14T07:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in FIORI Elements List Report  using Local Annotations</title>
      <link>https://community.sap.com/t5/technology-q-a/date-format-in-fiori-elements-list-report-using-local-annotations/qaa-p/683132#M181688</link>
      <description>&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Can you share me the details for column extension example . would like to do at front end and also is there any way we can adjust the column width for the list report?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 09:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/date-format-in-fiori-elements-list-report-using-local-annotations/qaa-p/683132#M181688</guid>
      <dc:creator>prasad</dc:creator>
      <dc:date>2018-12-14T09:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in FIORI Elements List Report  using Local Annotations</title>
      <link>https://community.sap.com/t5/technology-q-a/date-format-in-fiori-elements-list-report-using-local-annotations/qaa-p/683133#M181689</link>
      <description>&lt;P&gt;&lt;A href="https://ui5.sap.com/#/topic/28e95702b5854b938ac51c4bc2d078ab" target="test_blank"&gt;https://ui5.sap.com/#/topic/28e95702b5854b938ac51c4bc2d078ab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can generate extensions using webide as well.&lt;/P&gt;&lt;P&gt;Any reason they you don't want to change the type to date in odata service?&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 09:12:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/date-format-in-fiori-elements-list-report-using-local-annotations/qaa-p/683133#M181689</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2018-12-14T09:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in FIORI Elements List Report  using Local Annotations</title>
      <link>https://community.sap.com/t5/technology-q-a/date-format-in-fiori-elements-list-report-using-local-annotations/qaa-p/683134#M181690</link>
      <description>&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;Check the link below&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/questions/745501/change-data-format-edmdatetime-to-show-only-date-i.html" target="test_blank"&gt;https://answers.sap.com/questions/745501/change-data-format-edmdatetime-to-show-only-date-i.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 13:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/date-format-in-fiori-elements-list-report-using-local-annotations/qaa-p/683134#M181690</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2019-02-06T13:59:21Z</dc:date>
    </item>
  </channel>
</rss>

