<?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 SAP Connector: Fetching data from BKPF and BSEG using JOIN in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193125#M715699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;B&gt;sdesland&lt;/B&gt;. I did not know that BSEG was actually a result of a join of multiple other tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2009 19:43:40 GMT</pubDate>
    <dc:creator>jesper_bagge</dc:creator>
    <dc:date>2009-12-09T19:43:40Z</dc:date>
    <item>
      <title>SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193119#M715693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I noticed today that the usual JOIN statement doen't seem to work when calling the tables BKPF and BSEG.&lt;/P&gt;&lt;P&gt;The following SQL Statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;SQL Select&lt;BR /&gt; BKPF~BELNR,&lt;BR /&gt; BKPF~BUDAT,&lt;BR /&gt; BKPF~GJAHR,&lt;BR /&gt; BKPF~BUKRS,&lt;BR /&gt; BSEG~SHKZG,&lt;BR /&gt; BSEG~HKONT,&lt;BR /&gt; BSEG~BUZEI,&lt;BR /&gt; BSEG~DMBTR&lt;BR /&gt;from BKPF JOIN BSEG ON BKPF~BELNR = BSEG~BELNR AND BKPF~GJAHR = BSEG~GJAHR AND BKPF~BUKRS = BSEG~BUKRS&lt;BR /&gt;;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;returns an error.&lt;/P&gt;&lt;P&gt;Im using version 5.0.6526.0 of the SAP Connector.&lt;/P&gt;&lt;P&gt;Using the same logic when fetching data from other tables work fine. It seems to only be when i call the tables BKPF and BSEG.&lt;/P&gt;&lt;P&gt;Any thoughts on why I get an error? Bug perhaps?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 20:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193119#M715693</guid>
      <dc:creator>jesper_bagge</dc:creator>
      <dc:date>2009-12-01T20:22:10Z</dc:date>
    </item>
    <item>
      <title>SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193120#M715694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a SAP restriction related to BSEG being a cluster table (not much of an expert, just repeating what I've heard).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should try something like SQL SELECT BELNR FROM BSEG WHERE (BELNR IN (SELECT BELNR FROM BKPF WHERE CPUDT = '20070819'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 06:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193120#M715694</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2009-12-02T06:58:39Z</dc:date>
    </item>
    <item>
      <title>SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193121#M715695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No issues that I know of with BKPF/BSEG - try to extract them separately perhaps?&lt;/P&gt;&lt;P&gt;Also, you may find that GLPCA &amp;amp; GLPCT are more useful tables for Finance dashboards...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 09:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193121#M715695</guid>
      <dc:creator>jbeierschmitt</dc:creator>
      <dc:date>2009-12-02T09:36:51Z</dc:date>
    </item>
    <item>
      <title>SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193122#M715696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Daniel&lt;/P&gt;&lt;P&gt;I'm not sure that the connector can handle such "complex" SQL queries, since I know from earlier experiences that it cannot even handle a simple ALIAS command. Anyhow, your proposed query returns the transactions registered on a single date. Not sure what I could whip up with that since my customer wants a financial application spanning over atleast 3 years &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@jbeierschmitt&lt;/P&gt;&lt;P&gt;Yes, a simple extraction of both tables and the joining of relevant data inside QV has been my previous method, and will have to make do. The GLPCA and GLPCT contains to my knowledge only aggregated data. I always go for the raw stuff, since one of the true strengths of QV is the ability to present data at an aggregated level to the user, but keeping the original transactions for data-drilling.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 14:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193122#M715696</guid>
      <dc:creator>jesper_bagge</dc:creator>
      <dc:date>2009-12-02T14:21:21Z</dc:date>
    </item>
    <item>
      <title>SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193123#M715697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jesper,&lt;/P&gt;&lt;P&gt;It's not possible, even in Abap code, to make a join on BSEG and BKPF. It's, as you wrote, a cluster table.&lt;/P&gt;&lt;P&gt;It's a joined table from bkpf,bsid,bsad,bsis,bsik,bsak,bset (and other)&lt;/P&gt;&lt;P&gt;For information, GLPCA and GLPCT are controlling table. BSEG,BKPF,BSID,BSAD, and other, are accounting or financial table.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;serge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 05:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193123#M715697</guid>
      <dc:creator />
      <dc:date>2009-12-08T05:04:15Z</dc:date>
    </item>
    <item>
      <title>SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193124#M715698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a link if you want the SAP table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or http://www.4shared.com/file/108322076/e2083/sap-tables.html you download the zip file&lt;BR /&gt;this is sap-tables.exe it's relation between all sap tables&lt;/P&gt;&lt;P&gt;same thing on PDF&lt;/P&gt;&lt;P&gt;www.abap.es/Descargas/TAB%20-%20Relacion%20de%20las%20tablas%20por%20modulos.PDF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 05:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193124#M715698</guid>
      <dc:creator />
      <dc:date>2009-12-08T05:46:32Z</dc:date>
    </item>
    <item>
      <title>SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193125#M715699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;B&gt;sdesland&lt;/B&gt;. I did not know that BSEG was actually a result of a join of multiple other tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 19:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193125#M715699</guid>
      <dc:creator>jesper_bagge</dc:creator>
      <dc:date>2009-12-09T19:43:40Z</dc:date>
    </item>
    <item>
      <title>SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193126#M715700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jesper&lt;/P&gt;&lt;P&gt;So i said it's a join of table it's to simplify.&lt;/P&gt;&lt;P&gt;BSEG is a cluster/pool table&lt;/P&gt;&lt;P&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f083446011d189700000e8322d00/content.htm&lt;/P&gt;&lt;P&gt;you can see what is a cluster or a pool table in SAP.For your information,You can't read pool or cluster table directly on the database with an ODBC or other connection SQL from outside SAP. You have to use a sap connector.Other table, transparent table in SAP, no problem.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;serge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 14:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193126#M715700</guid>
      <dc:creator />
      <dc:date>2009-12-10T14:46:08Z</dc:date>
    </item>
    <item>
      <title>SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193127#M715701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can´t use subquerys to select data from Cluster Tables like BSEG. I sugest you to create a loop that read data in buckets of 300 DocumentNumber (BELNR) from BKPF in a date range. Then use a the following SELECT to query BSEG:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT BELNR, FIELD2,FIELD3, .....&lt;/P&gt;&lt;P&gt;FROM BSEG&lt;/P&gt;&lt;P&gt;WHERE GJAHR = &amp;lt;YEAR&amp;gt; AND BUKRS = &amp;lt;COMPANY GROUP&amp;gt; AND (BELNR = 30204 OR BELNR = 2049229593 OR BELNR = 0430204 ... OR BELNR = 305030)&lt;/P&gt;&lt;P&gt;You need to put GJAHR and BUKRS in the where clause to use primary index to achieve read performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 16:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193127#M715701</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2010-10-20T16:23:27Z</dc:date>
    </item>
    <item>
      <title>SV:Re: SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193128#M715702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your input Pablo.&lt;/P&gt;&lt;P&gt;The user &lt;B&gt;sdesland&lt;/B&gt; answered this topic quite some time ago.&lt;/P&gt;&lt;P&gt;An even simpler solution is an incremental load of both BSEG and BKPF where GJAHR and BUKRS serves as key fields. I can do the join later in QlikView.&lt;/P&gt;&lt;P&gt;No loops, no buckets, no worries &lt;IMG alt="Wink" src="http://community.qlik.com/emoticons/emotion-5.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 08:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193128#M715702</guid>
      <dc:creator>jesper_bagge</dc:creator>
      <dc:date>2010-10-21T08:44:23Z</dc:date>
    </item>
    <item>
      <title>SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193129#M715703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BSEG is cluster table. cluster table donot physical identity at database level. It is logically exist.&lt;/P&gt;&lt;P&gt;so it itself fetch data from multiple table in background processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 11:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193129#M715703</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-10-21T11:26:39Z</dc:date>
    </item>
    <item>
      <title>SV:Re: SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193130#M715704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I know. This has already been said in this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 11:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193130#M715704</guid>
      <dc:creator>jesper_bagge</dc:creator>
      <dc:date>2010-10-21T11:46:30Z</dc:date>
    </item>
    <item>
      <title>SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193131#M715705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in&amp;nbsp; qlikview sap connector 5.6 . this task become easy.&lt;/P&gt;&lt;P&gt;thanx to qliktech &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 11:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193131#M715705</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-10-07T11:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193132#M715706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be really helpful if you elaborate your comment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Shinde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 06:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193132#M715706</guid>
      <dc:creator />
      <dc:date>2015-01-20T06:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Connector: Fetching data from BKPF and BSEG using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193133#M715707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Can you attach me the qvw you use to extract?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 15:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Connector-Fetching-data-from-BKPF-and-BSEG-using-JOIN/m-p/193133#M715707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-14T15:00:02Z</dc:date>
    </item>
  </channel>
</rss>

