<?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: issue with temporal join temporal column attribute.. in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/issue-with-temporal-join-temporal-column-attribute/qaa-p/487007#M86458</link>
    <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;kabilarasan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Did you ever find a solution to how to properly setup a Temporal Join using the Data Foundation and Star Join objects of an Analytic View?  I'm having a similar issue.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2020 16:00:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-05-07T16:00:57Z</dc:date>
    <item>
      <title>issue with temporal join temporal column attribute..</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-with-temporal-join-temporal-column-attribute/qaq-p/487004</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I created a temporal join with following tables:&lt;/P&gt;
  &lt;P&gt;Orders_Data:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;CREATE COLUMN TABLE "KABIL"."ORDERS_DATA" ("ORDER_NUMBER" BIGINT,
                                             "CUST_NO" INTEGER,
                                             "PROD_CODE" INTEGER,
                                             "ORDERED_DATE" DATE,
                                             "QTY_ORDERED" INTEGER,
                                             "AMOUNT" DECIMAL(10,2));


INSERT INTO "KABIL"."ORDERS_DATA" VALUES(34578,91,611,'2014-06-14',25,570);
INSERT INTO "KABIL"."ORDERS_DATA" VALUES(34579,93,624,'2014-07-15',67,1000);
INSERT INTO "KABIL"."ORDERS_DATA" VALUES(34671,94,624,'2014-08-28',75,12000);
INSERT INTO "KABIL"."ORDERS_DATA" VALUES(34685,91,639,'2015-07-26',34,17000);
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Customers_data:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;CREATE COLUMN TABLE "KABIL"."CUSTOMERS_DATA"("CUST_NO" INTEGER,
                                               "CUST_NAME" NVARCHAR(100),
                                               "SHIP_CITY" NVARCHAR(50),
                                               "SHIP_COUNTRY" NVARCHAR(50),
                                               "VALID_FROM" DATE,
                                               "VALID_TO" DATE);


INSERT INTO "KABIL"."CUSTOMERS_DATA" VALUES(91,'Max Video','HOUSTON','USA','1900-01-01','2014-12-31');
INSERT INTO "KABIL"."CUSTOMERS_DATA" VALUES(91,'Max Video','LOS ANGELES','USA','2015-01-01','9999-12-31');
INSERT INTO "KABIL"."CUSTOMERS_DATA" VALUES(92,'Sound Vision Corp','BANGALORE','INDIA','1900-01-01','9999-12-31');
INSERT INTO "KABIL"."CUSTOMERS_DATA" VALUES(93,'Practical Periphrals','SYDNEY','AUSTRALIA','1900-01-01','9999-12-31');
INSERT INTO "KABIL"."CUSTOMERS_DATA" VALUES(94,'Cash 4 Checks','PARIS','FRANCE','1900-01-01','9999-12-31');
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;And i create an Attribute View for Customers Data and select all the fields for output.&lt;/P&gt;
  &lt;P&gt;the attribute view name AT_CUST_TIME_DEPENDENT&lt;/P&gt;
  &lt;P&gt;finally i create an analytic view (AN_TEMPORAL_JOIN) and use the ORDERS_DATA table in data foundation section and AT_CUST_TIME_DEPENDENT attribute view in star join section.&lt;/P&gt;
  &lt;P&gt;i joined the table following conditions:&lt;/P&gt;
  &lt;UL&gt; 
   &lt;LI&gt;Join type is Inner.&lt;/LI&gt; 
   &lt;LI&gt;Temporal Column: Ordered_date&lt;/LI&gt; 
   &lt;LI&gt;From column: Valid_from&lt;/LI&gt; 
   &lt;LI&gt;To column: Valid_to&lt;/LI&gt; 
  &lt;/UL&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/53363-error.png" /&gt;&lt;/P&gt;
  &lt;P&gt;when i activate this view its shows :&lt;/P&gt;
  &lt;P&gt;Message : Repository: Encountered an error in repository runtime extension;Model inconsistency. Attribute ORDERED_DATE not found in analytic view.&lt;/P&gt;
  &lt;P&gt;What to do for this error?&lt;/P&gt;
  &lt;P&gt;And whenever i validate my join its shows : Table or View not found.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/53365-join-error.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 06:00:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-with-temporal-join-temporal-column-attribute/qaq-p/487004</guid>
      <dc:creator>former_member383962</dc:creator>
      <dc:date>2017-07-17T06:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: issue with temporal join temporal column attribute..</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-with-temporal-join-temporal-column-attribute/qaa-p/487005#M86456</link>
      <description>&lt;P&gt;Kabil,&lt;/P&gt;
  &lt;P&gt;not sure if you can try this - Instea of creating the attribute and analytic views, can you please change those to calculation views (as per best practices only CVs should be considered now) - try it and see if by having the different view type would solve the error. &lt;/P&gt;
  &lt;P&gt;On another note, do you need to have the star join or can it simply be an inner join (from 2 sources) - join node from HANA?&lt;/P&gt;
  &lt;P&gt;Finally, I assume, your tables/views were activated successfully and you can do a data preview on them?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 10:33:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-with-temporal-join-temporal-column-attribute/qaa-p/487005#M86456</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2017-07-17T10:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: issue with temporal join temporal column attribute..</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-with-temporal-join-temporal-column-attribute/qaa-p/487006#M86457</link>
      <description>&lt;P&gt;Hi Kabil,&lt;/P&gt;
  &lt;P&gt;In the attached screen shot of your issue, Ordered_Date is created as Measure. Could you please change it to Dimension and then activate the view. I have tried the same and its working fine for me.&lt;/P&gt;
  &lt;P&gt;Please let us know whether it is working or not after modification.&lt;/P&gt;
  &lt;P&gt;Thank You,&lt;/P&gt;
  &lt;P&gt;RP&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 11:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-with-temporal-join-temporal-column-attribute/qaa-p/487006#M86457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-17T11:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: issue with temporal join temporal column attribute..</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-with-temporal-join-temporal-column-attribute/qaa-p/487007#M86458</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;kabilarasan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Did you ever find a solution to how to properly setup a Temporal Join using the Data Foundation and Star Join objects of an Analytic View?  I'm having a similar issue.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 16:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-with-temporal-join-temporal-column-attribute/qaa-p/487007#M86458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-05-07T16:00:57Z</dc:date>
    </item>
  </channel>
</rss>

