<?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: Problems with empty date fields in Smarttable in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/problems-with-empty-date-fields-in-smarttable/qaa-p/14053634#M4907835</link>
    <description>do have any code messing around that date field?</description>
    <pubDate>Sat, 22 Mar 2025 19:01:28 GMT</pubDate>
    <dc:creator>junwu</dc:creator>
    <dc:date>2025-03-22T19:01:28Z</dc:date>
    <item>
      <title>Problems with empty date fields in Smarttable</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-with-empty-date-fields-in-smarttable/qaq-p/14051625</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to display a table with start/enddate and start/endtime in an Smarttable. Unfortunately it is possible that the enddate and the endtime are not set yet. In this case the fields are empty.&lt;/P&gt;&lt;P&gt;The Smarttable is not showing any data whatsoever. Not even other rows with filled enddate/endtime. As soon as i dont display the fields it shows everything again.&lt;/P&gt;&lt;P&gt;The app is a Fiori Elements app with a custompage, where the smartable is implemented. It contains the ChildEntities of the Main Project.&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;&amp;lt;f:DynamicPage id="dynamicPage" fitContent="true"&amp;gt;
                    &amp;lt;f:header&amp;gt;
                        &amp;lt;f:DynamicPageHeader&amp;gt;
                            &amp;lt;bar:SmartFilterBar
                                id="smartFilterBar"
                                entitySet="EntitySet"&amp;gt;
                                &amp;lt;bar:controlConfiguration&amp;gt;
                                    &amp;lt;bar:ControlConfiguration
                                        key="StartDate"
                                        visibleInAdvancedArea="true"
                                        conditionType="{
                                            module: 'sap.ui.comp.config.condition.DateRangeType',
                                            defaultOperation: 'TODAY'
                                        }"
                                    /&amp;gt;
                                &amp;lt;/bar:controlConfiguration&amp;gt; 
                                &amp;lt;bar:layoutData&amp;gt;
                                    &amp;lt;FlexItemData shrinkFactor="0"/&amp;gt;
                                &amp;lt;/bar:layoutData&amp;gt; 
                            &amp;lt;/bar:SmartFilterBar&amp;gt;
                        &amp;lt;/f:DynamicPageHeader&amp;gt;
                    &amp;lt;/f:header&amp;gt;
                    &amp;lt;f:content &amp;gt; 
                        &amp;lt;smartTable:SmartTable
                            id ="SmartTable"
                            entitySet="EntitySet"
                            smartFilterId="smartFilterBar"
                            tableType="ResponsiveTable"
                            enableExport="true"
                            beforeExport="onBeforeExport"
                            useVariantManagement="true"
                            useTablePersonalisation="true"
                            header="{i18n&amp;gt;JournalTable}"
                            showRowCount="true"
                            persistencyKey="SmartTableAnalytical_Explored"
                            enableAutoBinding="true"
                            demandPopin="true"
                            class="sapUiResponsiveContentPadding"
                            enableAutoColumnWidth="true"
                            tableBindingPath="to_Child"
                            beforeRebindTable="onBeforeRebindTable"
                            initiallyVisibleFields="WBSElement,CategoryName,Trade,Workpackage,Workstep,StatusName,Partner,StartDate,StartTime,EndDate,EndTime,PMUser,WorkType,CommentText,Finding,Organisation,WorkRessource,hasAttachments"
                            requestAtLeastFields="ProjectInternalID,HeadID,PositionID"
                        &amp;gt;
                        &amp;lt;/smartTable:SmartTable&amp;gt;
                       
                    &amp;lt;/f:content&amp;gt;
                &amp;lt;/f:DynamicPage&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;One solution is to cast the fields into character fields in the cds-View. Then the smarttable has no problems with initial fields. But i have to convert date and time according to the conventions of the User.&lt;/P&gt;&lt;P&gt;Does anyone has a similiar usecase? Do i overlook something simple?&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Best Regards Maximilian&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 15:05:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-with-empty-date-fields-in-smarttable/qaq-p/14051625</guid>
      <dc:creator>MaxThs</dc:creator>
      <dc:date>2025-03-20T15:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with empty date fields in Smarttable</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-with-empty-date-fields-in-smarttable/qaa-p/14051648#M4907625</link>
      <description>&lt;P&gt;what is your backend/odata implementation?&lt;/P&gt;&lt;P&gt;I think you have set the attribute nullable for date field.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 15:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-with-empty-date-fields-in-smarttable/qaa-p/14051648#M4907625</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2025-03-20T15:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with empty date fields in Smarttable</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-with-empty-date-fields-in-smarttable/qaa-p/14051717#M4907631</link>
      <description>Hey,</description>
      <pubDate>Thu, 20 Mar 2025 16:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-with-empty-date-fields-in-smarttable/qaa-p/14051717#M4907631</guid>
      <dc:creator>MaxThs</dc:creator>
      <dc:date>2025-03-20T16:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with empty date fields in Smarttable</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-with-empty-date-fields-in-smarttable/qaa-p/14051720#M4907632</link>
      <description>Hey, the Backend is implemented via RAP. But it uses an ODATA V2. Regards Maximilian</description>
      <pubDate>Thu, 20 Mar 2025 16:20:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-with-empty-date-fields-in-smarttable/qaa-p/14051720#M4907632</guid>
      <dc:creator>MaxThs</dc:creator>
      <dc:date>2025-03-20T16:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with empty date fields in Smarttable</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-with-empty-date-fields-in-smarttable/qaa-p/14053634#M4907835</link>
      <description>do have any code messing around that date field?</description>
      <pubDate>Sat, 22 Mar 2025 19:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-with-empty-date-fields-in-smarttable/qaa-p/14053634#M4907835</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2025-03-22T19:01:28Z</dc:date>
    </item>
  </channel>
</rss>

