<?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: Temporal Data: no data shown in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397350#M4639824</link>
    <description>&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;We've made some changes in the temporal data, they are available in the last release. Please update to @sap/cds 5.0.4 and check the release notes &lt;A href="https://cap.cloud.sap/docs/releases/mar21#fixed--temporal-data"&gt;https://cap.cloud.sap/docs/releases/mar21#fixed--temporal-data&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Let us know if the problem still persists. &lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Olena&lt;/P&gt;</description>
    <pubDate>Fri, 09 Apr 2021 07:56:25 GMT</pubDate>
    <dc:creator>OlenaT</dc:creator>
    <dc:date>2021-04-09T07:56:25Z</dc:date>
    <item>
      <title>Temporal Data: no data shown</title>
      <link>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaq-p/12397344</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
  &lt;P&gt;we want to make the data within our CAP app temporal.&lt;/P&gt;
  &lt;P&gt;first we import the temporal aspect into our schema and add the temporal aspect to our entity.&lt;/P&gt;
  &lt;P&gt;additionally the ValidFrom value has been added to uploaded csv files for our entity.&lt;/P&gt;
  &lt;P&gt;Once this is done the list report view does not show any entry any more.&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;using {
 cuid,
 managed,
 temporal
} from '@sap/cds/common';
namespace test;
entity Books : cuid, managed, temporal {
 title : String;
 stock : Integer
} &lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Does anyone know why this occures respecitvely which step is missing?&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://cap.cloud.sap/docs/guides/temporal-data#separate-temporal-details"&gt;capire - Temporal Data (cloud.sap)&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Best Regards&lt;/P&gt;
  &lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 15:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaq-p/12397344</guid>
      <dc:creator>former_member729305</dc:creator>
      <dc:date>2021-04-06T15:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Temporal Data: no data shown</title>
      <link>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397345#M4639819</link>
      <description>&lt;P&gt;Max, I don't think you are missing anything. When you add the temporal aspect, the system adds valid from to the Primary Key of the table. You can validate that by running 'cds compile ./db/[schema_name].cds --to sql'&lt;/P&gt;&lt;P&gt;At present there is no standard handler to automatically populate validFrom and validTo. Have a look at this thread &lt;A href="https://answers.sap.com/questions/13331633/cap-temporal-data-with-nodejs-does-not-correctly-a.html"&gt;CAP Temporal Data with NodeJS&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I would also be interested to hear what standard behavior you would expect. &lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 15:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397345#M4639819</guid>
      <dc:creator>martinstenzig</dc:creator>
      <dc:date>2021-04-06T15:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Temporal Data: no data shown</title>
      <link>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397346#M4639820</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;martin.stenzig3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;thanks for the quick response! I understand and I agree. But how would I upload records to that data format for column ValidFrom (within my csv file)?&lt;/P&gt;&lt;P&gt;format like e.g. 2021-04-06T10:00:00Z still returns empty in my list report view.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 16:02:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397346#M4639820</guid>
      <dc:creator>former_member729305</dc:creator>
      <dc:date>2021-04-06T16:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Temporal Data: no data shown</title>
      <link>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397347#M4639821</link>
      <description>&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;i would expect the service to return all entries valid as of now (entries with empty validTo). If i understand the cap documentation correctly this should be the case:&lt;/P&gt;&lt;P&gt;As-of-now Queries&lt;/P&gt;&lt;P&gt;READ requests without specifying any temporal query parameter will automatically return data valid &lt;EM&gt;as of now&lt;/EM&gt;.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GET Employees?
$expand=jobs($select=role&amp;amp;$expand=dept($select=name))&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Source: &lt;A href="https://cap.cloud.sap/docs/guides/temporal-data" target="test_blank"&gt;https://cap.cloud.sap/docs/guides/temporal-data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do i understand this correctly?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 16:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397347#M4639821</guid>
      <dc:creator>TobiT</dc:creator>
      <dc:date>2021-04-06T16:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Temporal Data: no data shown</title>
      <link>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397348#M4639822</link>
      <description>&lt;P&gt;I just posted an update &lt;A href="https://answers.sap.com/questions/13331633/cap-temporal-data-with-nodejs-does-not-correctly-a.html?childToView=13334571#comment-13334571"&gt;over here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 16:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397348#M4639822</guid>
      <dc:creator>martinstenzig</dc:creator>
      <dc:date>2021-04-07T16:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Temporal Data: no data shown</title>
      <link>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397349#M4639823</link>
      <description>&lt;P&gt;I agree with you that an empty validTo should be defaulted to something far, far in the future, but that's not happening as of today. &lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 16:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397349#M4639823</guid>
      <dc:creator>martinstenzig</dc:creator>
      <dc:date>2021-04-07T16:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Temporal Data: no data shown</title>
      <link>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397350#M4639824</link>
      <description>&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;We've made some changes in the temporal data, they are available in the last release. Please update to @sap/cds 5.0.4 and check the release notes &lt;A href="https://cap.cloud.sap/docs/releases/mar21#fixed--temporal-data"&gt;https://cap.cloud.sap/docs/releases/mar21#fixed--temporal-data&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Let us know if the problem still persists. &lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Olena&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 07:56:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/temporal-data-no-data-shown/qaa-p/12397350#M4639824</guid>
      <dc:creator>OlenaT</dc:creator>
      <dc:date>2021-04-09T07:56:25Z</dc:date>
    </item>
  </channel>
</rss>

