<?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 Hierarchy with SAP Extractor Connector in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hierarchy-with-SAP-Extractor-Connector/m-p/370025#M703749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to load the profit-center account groups (transaction KDH3) out of SAP. Therefore I'am using the data source '0ACCOUNT_0109_HIER'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data load works and the hierarchy nodes are beeing loaded. So far as there are just individual accounts assigned to the account group nodes it's fine. If there are intervals assigned to the nodes hovewer you just get the the name of the group in the field nodename (ex.: 1000KA1201&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 001), but not the effective interval (ex.: 10000000400061-10000000400067).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I found out it's possible to get the name of the Idoc structure (in this case: E1RSHND) from the load script and look it oup in the develop idoc transaction (WE30) in SAP. For the object name ZSQAQTQVCEXTR1 i found this structure along with other related structure names (E1RSHTX, E1RSHND, E1RSHIV, E1RSHFT). With this information it is possible to copy &amp;amp; paste the generated load script fragment and load the information out of structure E1RSHIV 'Data transfer Idoc: Hierarchy intervals'&amp;nbsp; and to get the intervals at last.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There has to be an easyier way - but I haven't found yet... So do anyone knows how to do this straight forward with the extractor dialog?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2012 15:16:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-25T15:16:10Z</dc:date>
    <item>
      <title>Hierarchy with SAP Extractor Connector</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-with-SAP-Extractor-Connector/m-p/370025#M703749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to load the profit-center account groups (transaction KDH3) out of SAP. Therefore I'am using the data source '0ACCOUNT_0109_HIER'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data load works and the hierarchy nodes are beeing loaded. So far as there are just individual accounts assigned to the account group nodes it's fine. If there are intervals assigned to the nodes hovewer you just get the the name of the group in the field nodename (ex.: 1000KA1201&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 001), but not the effective interval (ex.: 10000000400061-10000000400067).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I found out it's possible to get the name of the Idoc structure (in this case: E1RSHND) from the load script and look it oup in the develop idoc transaction (WE30) in SAP. For the object name ZSQAQTQVCEXTR1 i found this structure along with other related structure names (E1RSHTX, E1RSHND, E1RSHIV, E1RSHFT). With this information it is possible to copy &amp;amp; paste the generated load script fragment and load the information out of structure E1RSHIV 'Data transfer Idoc: Hierarchy intervals'&amp;nbsp; and to get the intervals at last.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There has to be an easyier way - but I haven't found yet... So do anyone knows how to do this straight forward with the extractor dialog?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 15:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-with-SAP-Extractor-Connector/m-p/370025#M703749</guid>
      <dc:creator />
      <dc:date>2012-05-25T15:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy with SAP Extractor Connector</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-with-SAP-Extractor-Connector/m-p/370026#M703750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, since no one seems to have a easyier way I have to assume that there isn't one yet...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regardless of that the hierarchy load via Extractor Connector seems to me the easiest way to load SAP hierarchies.&lt;/P&gt;&lt;P&gt;The following IDoc Segm.type are available to load necessary hierarchy information from SAP:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; E1RSSH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data transfer IDoc: Header information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E1RSHIE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data transfer Idoc: Hierarchy header information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E1RSHTX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data transfer Idoc: Language-dependent texts of hierarchy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E1RSHND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data transfer Idoc: Hierarchy nodes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E1RSHIV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data transfer Idoc: Hierarchy intervals&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E1RSHFT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data transfer Idoc: Name of node that cannot be posted to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E1RSTXT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data transfer IDoc: Texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given this, the script text has to look just about like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;[TABLENAME]:&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;fieldlist&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;SQL EXTRACTOR [DataSource]&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;UPDMODE H&amp;nbsp;&amp;nbsp; // Hierarchy extractor&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;HIERARCHY [HierarchyName]&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;HIERLANGUAGE E&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;HIERTABLE [IDoc Segm.type]&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;LOGSYS QTQVCEXTR1&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way is to generate the script text via extractor generator and to to copy &amp;amp; past and adapt the fieldlist and the [IDoc Segm.type] afterwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately there is - at least in my case - one big problem:&lt;/P&gt;&lt;P&gt;If the hierarchy intervals are beeing load the first interval NODEID has no LEAFFROM and LEAFTO values, although the IDoc do have the given values in the output structure of SAP (SAP s_tcode WE02). For all the following interval nodes it works just fine. But unfortunately it's worth nothing whitout the first values... Example see below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataSource:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0ACCOUNT_0109_HIER&lt;/P&gt;&lt;P&gt;IDoc Segm.type:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E1RSHIV&lt;/P&gt;&lt;P&gt;HierarchyName:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; any hierarchy account hierarchy with intervals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone has an idea what the problem could be and how to solve? I would already be glad if someone could test this in a first step in his own system and confirm or disprove this system behaviour.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 14:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-with-SAP-Extractor-Connector/m-p/370026#M703750</guid>
      <dc:creator />
      <dc:date>2012-06-01T14:20:27Z</dc:date>
    </item>
  </channel>
</rss>

