<?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>topic Problem with SAP SQLConnector and DateTime field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195471#M713295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this looks like a bug we had previously, guess you are not running the latest version.&lt;/P&gt;&lt;P&gt;Try upgrading to 5.40 SR1 and I am pretty sure the problem will be solved.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lars Wahlstedt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jun 2010 15:11:16 GMT</pubDate>
    <dc:creator>Lars_Wahlstedt</dc:creator>
    <dc:date>2010-06-11T15:11:16Z</dc:date>
    <item>
      <title>Problem with SAP SQLConnector and DateTime field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195464#M713288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can someone help me!&lt;/P&gt;&lt;P&gt;I am having problems getting the correct value for the Datetime fields in SAP CRM using Qlikview 8.5 and the SAP SQLConnector.&lt;/P&gt;&lt;P&gt;It is an MS SQL server database and I am trying to select records from the CRM Call List table &lt;I&gt;CRMD_TM_IACT&lt;/I&gt;&lt;/P&gt;&lt;P&gt;The problem is that two fields I am selecting CALL_TIME &amp;amp; COMPLETED_ON are Datetime stamp field and when I look at the data in SAP, the values I see returned from the SQL SELECT satetement are single digit numbers.&lt;/P&gt;&lt;P&gt;The Qlikview code I am using is:&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;[CRMD_TM_IACT]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;SELECT&lt;/B&gt; &lt;BR /&gt;LOCK_STATE, &lt;BR /&gt;LOCK_OWNER, &lt;BR /&gt;ATTEMPTS, &lt;BR /&gt;HARDWARE_OUTCOME, &lt;BR /&gt;CALL_TIME, &lt;BR /&gt;RESCHEDULED, &lt;BR /&gt;COMPLETED_ON, &lt;BR /&gt;CL_PID&lt;BR /&gt;&lt;B&gt;FROM&lt;/B&gt; CRMD_TM_IACT;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The quesiton I have is there any syntax I can use in this select statement to format these fields as they are read in via the statement?&lt;/P&gt;&lt;P&gt;I have tried a number of standard MS SQL syntax options, the SAP SQLConnector does not like them!&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 00:45:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195464#M713288</guid>
      <dc:creator />
      <dc:date>2010-06-10T00:45:12Z</dc:date>
    </item>
    <item>
      <title>Problem with SAP SQLConnector and DateTime field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195465#M713289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;The QV SQL Connector syntax is independent of the database where SAP is installed so no MS SQL syntax is going to work. Have you tried using the a function in the load statement to format the date? We is the number you are seeing exactly in the date field?&lt;/P&gt;&lt;P&gt;I haven't extracted data from the CRM module, but dates fields from the FI, SD, MM modules don't need additional formating. However in RH I did have to subtract the number in the date field by the number 99999999 get a normal date format.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 01:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195465#M713289</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-06-10T01:05:37Z</dc:date>
    </item>
    <item>
      <title>Problem with SAP SQLConnector and DateTime field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195466#M713290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karl,&lt;/P&gt;&lt;P&gt;Thank you so much for the quick reply.&lt;/P&gt;&lt;P&gt;I have tried variuous format functions inthe load statement, but nothing works as the source data in the field comming from the SQL SELECT statement is a single digit. The exact values I am seeing is the number 4 the number 5 and the number 6. We started loging calls in March, so I believe these numbers are the month numbers in this DateTime field i.e. the month is the fist number in the field (US Date format).&lt;/P&gt;&lt;P&gt;I have just tired this statement below (as I am desperate), but it returned:&lt;/P&gt;&lt;P&gt;-99999995&lt;BR /&gt;-99999994&lt;BR /&gt;-99999993&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have also performed lots of SQL extracts from date field in SD, FI, PP etc and all these have been fine. This seems to be a problem with the CRM datetime fields!&lt;/P&gt;&lt;P&gt;Any further sugestions would be grately apprecyiated!&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;[CRMD_TM_IACT]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;P&gt;COMPLETED_ON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;-99999999 &lt;B&gt;as&lt;/B&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;A1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;SELECT&lt;/B&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;COMPLETED_ON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;FROM&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;CRMD_TM_IACT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 01:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195466#M713290</guid>
      <dc:creator />
      <dc:date>2010-06-10T01:21:13Z</dc:date>
    </item>
    <item>
      <title>Problem with SAP SQLConnector and DateTime field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195467#M713291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out about the 99999999 - date format in a ABAP forum by looking in Google. You've probably already been doing this, but I can tell you that sometimes it takes sifting through alot of forums until you find the answer.&lt;/P&gt;&lt;P&gt;If you find it please post the answer. I expect I'll have the same problem some time in the future.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 01:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195467#M713291</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-06-10T01:44:06Z</dc:date>
    </item>
    <item>
      <title>Problem with SAP SQLConnector and DateTime field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195468#M713292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Karl and yes I will post the answer if ever I am able to find it!&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 06:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195468#M713292</guid>
      <dc:creator />
      <dc:date>2010-06-10T06:26:10Z</dc:date>
    </item>
    <item>
      <title>Problem with SAP SQLConnector and DateTime field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195469#M713293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never seen such problem, but on the other hand I am not familiar with how it is stored in CRM database. If I assume it's all like R/3 or BW style, it should be working just fine.&lt;/P&gt;&lt;P&gt;See i you can change format of the field in QV document under "Number" tab and setting it to Date or Timestamp.&lt;/P&gt;&lt;P&gt;Otherwise, I recommend opening a support call to QlikView.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 17:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195469#M713293</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-06-10T17:11:34Z</dc:date>
    </item>
    <item>
      <title>Problem with SAP SQLConnector and DateTime field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195470#M713294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rakesh.&lt;/P&gt;&lt;P&gt;I have tried the number format option in QV and that does not work as the base numbers in the data are definately single digit.&lt;/P&gt;&lt;P&gt;It must be an issue that the SAPConnector cannot handle these types of data fields from CRM.&lt;/P&gt;&lt;P&gt;I will open a support ticket with QV and see what they say.&lt;/P&gt;&lt;P&gt;I'll post any response I get on here!&lt;/P&gt;&lt;P&gt;Thanks for your help and quick reply.&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 17:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195470#M713294</guid>
      <dc:creator />
      <dc:date>2010-06-10T17:28:42Z</dc:date>
    </item>
    <item>
      <title>Problem with SAP SQLConnector and DateTime field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195471#M713295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this looks like a bug we had previously, guess you are not running the latest version.&lt;/P&gt;&lt;P&gt;Try upgrading to 5.40 SR1 and I am pretty sure the problem will be solved.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lars Wahlstedt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 15:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195471#M713295</guid>
      <dc:creator>Lars_Wahlstedt</dc:creator>
      <dc:date>2010-06-11T15:11:16Z</dc:date>
    </item>
    <item>
      <title>Problem with SAP SQLConnector and DateTime field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195472#M713296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not leave the SELECT statement without any formatting and load data directly from SAP to a temporary table. Then format the data from a resident load of the temp table. Then delete the temp table. This will reduce any performance issues with regard to the extract and also allow you use Qlikview functions without relying on version of connector.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 15:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195472#M713296</guid>
      <dc:creator>bismart</dc:creator>
      <dc:date>2010-06-11T15:53:48Z</dc:date>
    </item>
    <item>
      <title>Problem with SAP SQLConnector and DateTime field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195473#M713297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some SAP Table Like COEP , Store Time stamp in Numeric String. It is in more than 8 digit. it is in nothing but is no of second start for 1999 or 1899. pls take SAP help . so you have to convert that numeric string in Date time by build logic which get date and Time from no. of second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 17:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SAP-SQLConnector-and-DateTime-field/m-p/195473#M713297</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-07-09T17:38:44Z</dc:date>
    </item>
  </channel>
</rss>

