<?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 Re: SAP Deltas with Talend SAP Connectors + SAP Native BW Extractor in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SAP-Deltas-with-Talend-SAP-Connectors-SAP-Native-BW-Extractor/m-p/2271883#M49335</link>
    <description>Hi, 
&lt;BR /&gt;Are you looking for SAP ERP Extractors with Data Services 
&lt;A href="https://jira.talendforge.org/browse/TDI-27359" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-27359&lt;/A&gt;? Is there any more info/doc for your "SAP Deltas with Talend SAP Connectors + SAP Native BW Extractor". 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
    <pubDate>Fri, 29 Nov 2013 03:19:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-29T03:19:52Z</dc:date>
    <item>
      <title>SAP Deltas with Talend SAP Connectors + SAP Native BW Extractor</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SAP-Deltas-with-Talend-SAP-Connectors-SAP-Native-BW-Extractor/m-p/2271882#M49334</link>
      <description>Hi All, &lt;BR /&gt;We're fairly new to SAP and have been using Talend to pull down all data from tables in our SAP hosted solution. We are having trouble figuring out how to pull just the deltas on tables that dont have change dates for needed fields. We are using the SAP connector for Talend, we also have native BW extractors (but not SAP BW Suite, didnt implement) -- can someone guide us on how to use the native extractors to get the deltas or some other way to get just the deltas when no obvious change date on a record? Our ultimate goal is to pull delta data from hosted SAP, to our in house SQL Server and then push to a hosted MicroStrategy solution.&lt;BR /&gt;Thanks for any guidance.&lt;BR /&gt;Missy</description>
      <pubDate>Wed, 27 Nov 2013 16:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SAP-Deltas-with-Talend-SAP-Connectors-SAP-Native-BW-Extractor/m-p/2271882#M49334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-27T16:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Deltas with Talend SAP Connectors + SAP Native BW Extractor</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SAP-Deltas-with-Talend-SAP-Connectors-SAP-Native-BW-Extractor/m-p/2271883#M49335</link>
      <description>Hi, 
&lt;BR /&gt;Are you looking for SAP ERP Extractors with Data Services 
&lt;A href="https://jira.talendforge.org/browse/TDI-27359" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-27359&lt;/A&gt;? Is there any more info/doc for your "SAP Deltas with Talend SAP Connectors + SAP Native BW Extractor". 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 29 Nov 2013 03:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SAP-Deltas-with-Talend-SAP-Connectors-SAP-Native-BW-Extractor/m-p/2271883#M49335</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-29T03:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Deltas with Talend SAP Connectors + SAP Native BW Extractor</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SAP-Deltas-with-Talend-SAP-Connectors-SAP-Native-BW-Extractor/m-p/2271884#M49336</link>
      <description>Hello, 
&lt;BR /&gt;In this tutorial we'll use our talend extension which can be downloaded from here: 
&lt;BR /&gt; 
&lt;A href="http://www.talendforge.org/exchange/?eid=463&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1%22" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/exchange/?eid=463&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1%22&lt;/A&gt; 
&lt;BR /&gt;I assume that you're familiar with the followings: 
&lt;BR /&gt;-How to query tables 
&lt;BR /&gt;-How to create basic flows 
&lt;BR /&gt;-Java programming 
&lt;BR /&gt;You want to Query a table which don't have any date field about the creation / modification. 
&lt;BR /&gt;SAP has 2 tables for this: 
&lt;BR /&gt;-CDHDR 
&lt;BR /&gt;-CDPOS 
&lt;BR /&gt;Basically, the CDHDR contains the "transactions", while the CDPOS contains the actual changes. 
&lt;BR /&gt;The problem is that you can't join these tables with themselves or with other tables. 
&lt;BR /&gt;So the steps of how you can do delta loads: 
&lt;BR /&gt;Get out the changes for the time interval you have from the CDHDR, use the transaction keys you get from CDHDR to query the CDPOS table. Use the Tablename + Keyfield from the CDPOS to query the table. 
&lt;BR /&gt;You should get the following columns from CDPOS: 
&lt;BR /&gt;-TABNAME 
&lt;BR /&gt;-TABKEY 
&lt;BR /&gt;-CHNGIND 
&lt;BR /&gt;The table name, the Keys concatenated together for that particular table, and an indicator which shows that it was an Update (U) or Insert (I), if you want to go with Upserts in the target DB then you don't need this CHNGIND field. if you need historical data then you might want to use it. 
&lt;BR /&gt;So after this we have the tables and the the filters for it, all we need to do is query the table(s) and get the rows. 
&lt;BR /&gt;If you want to do this row-by-row, it will be really-really slow. 
&lt;BR /&gt;To overcome on this you need to create filters which returns more than 1 row. 
&lt;BR /&gt;Here's what I did: 
&lt;BR /&gt; 
&lt;B&gt;See Image 1 &lt;/B&gt; 
&lt;BR /&gt;So we get the rows from CDHDR filtered by OBJECTCLAS and Date. The result is stored in a java String List 
&lt;BR /&gt;the tJava_1 iterates on this list and generates the WHERE for the CDHDR, into another list. So we can limit the WHERE results. There may be a limit on the where clause, either because of its lenght, or it would make the query run longer than expected. 
&lt;BR /&gt;tLoop iterates on this list, and the output is then added to another String Lists based on the tables. 
&lt;BR /&gt;From these lists we can generate additional Filters to be used ON the TABLES we wanted to query. 
&lt;BR /&gt; 
&lt;B&gt;See Image 2 &lt;/B&gt; 
&lt;BR /&gt;My example is an upsert load. 
&lt;BR /&gt;Here are the details: 
&lt;BR /&gt;Globalvariables: 
&lt;BR /&gt; 
&lt;B&gt;See Image 3 &lt;/B&gt; 
&lt;BR /&gt;Example of the tJavaRows to populate the Lists: 
&lt;BR /&gt; 
&lt;B&gt;See Image 4 &lt;/B&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Generating filter for the CDPOS table: 
&lt;BR /&gt; 
&lt;B&gt;See Image 5 &lt;/B&gt; 
&lt;BR /&gt;I'd like to upload the export of the job, but sadly I can't. 
&lt;BR /&gt;If you have any questions feel free to ask. 
&lt;BR /&gt;Cheers, 
&lt;BR /&gt; Balazs 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBad.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153906i68B6394FB96B8F3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBad.png" alt="0683p000009MBad.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sun, 01 Dec 2013 11:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SAP-Deltas-with-Talend-SAP-Connectors-SAP-Native-BW-Extractor/m-p/2271884#M49336</guid>
      <dc:creator>Dezzsoke</dc:creator>
      <dc:date>2013-12-01T11:09:22Z</dc:date>
    </item>
  </channel>
</rss>

