<?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: KNVH Customer Hierarchy Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192284#M714817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Conor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was no succes for me with calling the function. But there is a good functionality in QV which can help you.&lt;/P&gt;&lt;P&gt;Here's an example of how I build a hierarchy. This will certainly work.&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;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;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-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;ProductHierarchy:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Hierarchy&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CategoryID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;,&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;CategoryName&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;ParentCategoryID&lt;/P&gt;&lt;B&gt;&lt;/B&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;P&gt;;&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;ProductBelongsTo:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;HierarchyBelongsTo&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CategoryID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;,&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;CategoryName &lt;B&gt;as&lt;/B&gt; Name&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;ParentCategoryID&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;RESIDENT&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;P&gt;ProductHierarchy;&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;Hope to help you with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;P&gt;Sven&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;(CategoryID,&lt;/B&gt; &lt;B&gt;ParentCategoryID,&lt;/B&gt; &lt;B&gt;Name,&lt;/B&gt; &lt;B&gt;CategoryTreeID,&lt;/B&gt; &lt;B&gt;CategoryTree)&lt;/B&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;D:\MYDOCS\Projects &lt;B&gt;(CategoryID,&lt;/B&gt; &lt;B&gt;ParentCategoryID,&lt;/B&gt; &lt;B&gt;CategoryName)&lt;/B&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Dec 2009 15:49:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-08T15:49:53Z</dc:date>
    <item>
      <title>SAP: KNVH Customer Hierarchy Table</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192279#M714812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Hi,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;In SAP there is an Hierarchy Table called KNVH which gives an overview of the Customer Hierarchy.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;For example, in the field KUNNR you'll find a customer number which refers to its higher leveled customer number, mentioned in the field HKUNNR.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;When you select this HKUNNR, and you look it up in the KUNNR, you'll find it, again with a reference to a higher leveled customer number HKUNNR.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;And so on and so on.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;This circular loop mechanism repeats it selves in the same table over and over again, until you reach a highest level (the HKUNNR stays empty).&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Now how can you manage this table in Qlikview, How do you determine which is the highest and lowest level.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;This Table is linked to the Customer MasterData table KNA1, and the key we use is customer number (KUNNR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 16:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192279#M714812</guid>
      <dc:creator />
      <dc:date>2009-09-24T16:08:11Z</dc:date>
    </item>
    <item>
      <title>SAP: KNVH Customer Hierarchy Table</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192280#M714813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sven&lt;/P&gt;&lt;P&gt;You can see in table KNVH the field HZUOR. In this field it's the hierarchy level. Or you can in qlikview call the function BAPI_CUSTOMER_GET_CHILDREN .This Function, or BAPI, return a table with all the hierarchy per a customer number.&lt;/P&gt;&lt;P&gt;serge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 16:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192280#M714813</guid>
      <dc:creator />
      <dc:date>2009-10-12T16:32:27Z</dc:date>
    </item>
    <item>
      <title>SAP: KNVH Customer Hierarchy Table</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192281#M714814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;I'll try this sugestion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2009 18:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192281#M714814</guid>
      <dc:creator />
      <dc:date>2009-10-30T18:35:24Z</dc:date>
    </item>
    <item>
      <title>SAP: KNVH Customer Hierarchy Table</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192282#M714815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sven,&lt;/P&gt;&lt;P&gt;Would you have an example of how to call the function. I am new to Qlikview and SAP.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Conor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 01:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192282#M714815</guid>
      <dc:creator />
      <dc:date>2009-12-08T01:37:26Z</dc:date>
    </item>
    <item>
      <title>AW:SAP: KNVH Customer Hierarchy Table</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192283#M714816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;KundenHier:&lt;/EM&gt;&lt;BR /&gt;&lt;B&gt;hierarchy&lt;/B&gt; (KUNNR, HKUNNR, CustomerName,, CustomerName,Path,'|') &lt;B&gt;load&lt;/B&gt;&lt;BR /&gt;*&lt;BR /&gt;&lt;B&gt;resident&lt;/B&gt; KNVH;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 02:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192283#M714816</guid>
      <dc:creator>skn</dc:creator>
      <dc:date>2009-12-08T02:57:57Z</dc:date>
    </item>
    <item>
      <title>SAP: KNVH Customer Hierarchy Table</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192284#M714817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Conor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was no succes for me with calling the function. But there is a good functionality in QV which can help you.&lt;/P&gt;&lt;P&gt;Here's an example of how I build a hierarchy. This will certainly work.&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;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;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-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;ProductHierarchy:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Hierarchy&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CategoryID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;,&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;CategoryName&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;ParentCategoryID&lt;/P&gt;&lt;B&gt;&lt;/B&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;P&gt;;&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;ProductBelongsTo:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;HierarchyBelongsTo&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CategoryID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;,&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;CategoryName &lt;B&gt;as&lt;/B&gt; Name&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;ParentCategoryID&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;RESIDENT&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;P&gt;ProductHierarchy;&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;Hope to help you with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;P&gt;Sven&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;(CategoryID,&lt;/B&gt; &lt;B&gt;ParentCategoryID,&lt;/B&gt; &lt;B&gt;Name,&lt;/B&gt; &lt;B&gt;CategoryTreeID,&lt;/B&gt; &lt;B&gt;CategoryTree)&lt;/B&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;D:\MYDOCS\Projects &lt;B&gt;(CategoryID,&lt;/B&gt; &lt;B&gt;ParentCategoryID,&lt;/B&gt; &lt;B&gt;CategoryName)&lt;/B&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 15:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192284#M714817</guid>
      <dc:creator />
      <dc:date>2009-12-08T15:49:53Z</dc:date>
    </item>
    <item>
      <title>SAP: KNVH Customer Hierarchy Table</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192285#M714818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can somebody explain hot to call bapi from qlikview or even provide a sample code ?&lt;/P&gt;&lt;P&gt;That would be great !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Moritz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 19:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-KNVH-Customer-Hierarchy-Table/m-p/192285#M714818</guid>
      <dc:creator>mmichalke</dc:creator>
      <dc:date>2011-12-02T19:49:40Z</dc:date>
    </item>
  </channel>
</rss>

