<?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: Qlik Sense SAP BAPI Connector: How to use tables as INPUT parameters? in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/105658#M571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Coskun,&lt;/P&gt;&lt;P&gt;I have developed the SAP BAPI Connector for Sense and am curious what the definition of IT_CHARG parameter looks like? The Connector queries both IMPORTS (single row input) and TABLES (multi rows). From your SE37 screenshot it hints that it's not a TABLES (as it's shown under import parameters and not tables). Maybe it's an IMPORT with type TABLE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;// Thomas Örnmarker&lt;/P&gt;&lt;P&gt;SAP Connectors Developer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2018 08:27:25 GMT</pubDate>
    <dc:creator>trm</dc:creator>
    <dc:date>2018-09-25T08:27:25Z</dc:date>
    <item>
      <title>Qlik Sense SAP BAPI Connector: How to use tables as INPUT parameters?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/105655#M568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt;Situation:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In our company, I have to rebuild the logic of a legacy SAP report in Qlik Script.&lt;/P&gt;&lt;P&gt;Using the SAP Report Connector in legacy mode is no option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Part of the task is to read data from the SAP CO module. The output structure is 'KKBC'.&lt;/P&gt;&lt;P&gt;Inside of SAP, the standard SAP function module (FM) named 'K_KKB_CO_OBJECT_READ' is used for this.&lt;/P&gt;&lt;P&gt;Since this FM is not capable of being used via Remote Function Call (RFC), i.e. via Qlik SAP BAPI connector, I have built a custom RFC FM named 'YQLIK_K_KKB_CO_OBJECT_READ' that just passes the same parameters to the original SAP function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A lot of the inputs of the FM are not simple parameters like characters, integers and so on, but RANGE TABLES (screenshot 1):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Screenshot 1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/208278_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to build according table types (screenshot 2) and structures (screenshot 3) for each of these range tables inside of my RFC FM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Screenshot 2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/208279_pastedImage_8.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Screenshot 3: Example of structure of table type 'YQLIK_K_KKB_CO_OBJECT_READ'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/208283_pastedImage_9.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the original ABAP code of the SAP report, a range table can be filled like this (screenshot 4):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Screenshot 4:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/208284_pastedImage_12.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, so good.&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;STRONG style="font-size: 14pt;"&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I don't know how to transist this ABAP code into OpenSQL when calling my RFC FM with the SAP BAPI connector from Qlik Sense!&lt;/P&gt;&lt;P&gt;Using the wizard for tables in Qlik Sense gives me the following window (screenshot 5):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Screenshot 5:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/208285_pastedImage_15.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt;"&gt;&lt;STRONG&gt;What do I have to enter here to rebuild the logic of ABAP shown in screenshot 4 above???&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I enter this (screenshot 6), the result looks like this (screenshot 7):&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Screenshot 6:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-7" src="https://community.qlik.com/legacyfs/online/208290_pastedImage_18.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Screenshot 7:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/208289_pastedImage_17.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;The result of the RFC FM call is (of course) empty.&lt;/P&gt;&lt;P&gt;The 'WHERE' statement above that the wizard built does neither use 'AND' nor 'OR'.&lt;/P&gt;&lt;P&gt;Is this correct?!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have already learnt is that before Qlik SAP Connector version 6.6, the syntax for this looked a lot different as shown e.g. here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.minipps.com/Blog/calling-sap-function-from-qlikview-blog.aspx"&gt;http://www.minipps.com/Blog/calling-sap-function-from-qlikview-blog.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But since this requires legacy mode on Qlik Sense (which is not desired in our Qlik Sense server environment), I cannot go down that road.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;The Fitness Captain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 10:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/105655#M568</guid>
      <dc:creator>mnickolqlik</dc:creator>
      <dc:date>2018-07-19T10:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense SAP BAPI Connector: How to use tables as INPUT parameters?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/105656#M569</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 have similar situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlik connector can't access to function parameters with table type. (multiple lines)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess there is a need of development for the connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="connector.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/213566_connector.png" style="height: 331px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 07:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/105656#M569</guid>
      <dc:creator>coskunist</dc:creator>
      <dc:date>2018-09-14T07:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense SAP BAPI Connector: How to use tables as INPUT parameters?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/105657#M570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Coskun Istanbulluoglu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just wanted to say that when the SAP ABAP code looks something like this (picture),&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pastedImage_12.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/213567_pastedImage_12.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then your "WHERE" statement in Qlik Script must look like this:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;T_BEKNZ = TABLEROW('I', 'EQ', 'S', '')&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; T_BEKNZ = TABLEROW('I', 'EQ', 'H', '')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested it and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your problem, I suggest that you make sure that in your RFC function module, your (custom?) paramenter "IT_CHARG" is exactly implemented like the other parameters that are accessible from the Qlik SAP BAPI connector.&lt;/P&gt;&lt;P&gt;Can you please post screenshots showing your RFC function module in transaction SE37?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;The Fitness Captain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 07:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/105657#M570</guid>
      <dc:creator>mnickolqlik</dc:creator>
      <dc:date>2018-09-14T07:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense SAP BAPI Connector: How to use tables as INPUT parameters?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/105658#M571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Coskun,&lt;/P&gt;&lt;P&gt;I have developed the SAP BAPI Connector for Sense and am curious what the definition of IT_CHARG parameter looks like? The Connector queries both IMPORTS (single row input) and TABLES (multi rows). From your SE37 screenshot it hints that it's not a TABLES (as it's shown under import parameters and not tables). Maybe it's an IMPORT with type TABLE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;// Thomas Örnmarker&lt;/P&gt;&lt;P&gt;SAP Connectors Developer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 08:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/105658#M571</guid>
      <dc:creator>trm</dc:creator>
      <dc:date>2018-09-25T08:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense SAP BAPI Connector: How to use tables as INPUT parameters?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/105659#M572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for help, and I am sorry for late answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the the information you asked: CHAR 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1111.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216641_1111.png" style="height: 320px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 07:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/105659#M572</guid>
      <dc:creator>coskunist</dc:creator>
      <dc:date>2018-10-24T07:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense SAP BAPI Connector: How to use tables as INPUT parameters?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/1512579#M3439</link>
      <description>&lt;P&gt;Dear Thomas,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think we can find a solution for my problem?&lt;/P&gt;&lt;P&gt;I guess, I need to ask help from Abap Developer.&lt;/P&gt;&lt;P&gt;Qlik Bapi connector need some development for this case, am I right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 05:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/1512579#M3439</guid>
      <dc:creator>coskunist</dc:creator>
      <dc:date>2018-11-27T05:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense SAP BAPI Connector: How to use tables as INPUT parameters?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/1543027#M3610</link>
      <description>&lt;P&gt;Hi Coskunist,&lt;/P&gt;
&lt;P&gt;You are right that we currently don't support imports of table type. This is something that I want to add for next release. Currently there are support for using tables if they are defined as TABLES (allows for both IMPORT and EXPORT).&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;// Thomas&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-SAP-BAPI-Connector-How-to-use-tables-as-INPUT/m-p/1543027#M3610</guid>
      <dc:creator>trm</dc:creator>
      <dc:date>2019-02-12T13:23:07Z</dc:date>
    </item>
  </channel>
</rss>

