<?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: fetching data from function module using sap bapi connector in qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/fetching-data-from-function-module-using-sap-bapi-connector-in/m-p/1771787#M717052</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/105825"&gt;@sadiaasghar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes. You can use your Date field to identify the max year and min year and assign those value into variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2021 04:48:29 GMT</pubDate>
    <dc:creator>settu_periasamy</dc:creator>
    <dc:date>2021-01-05T04:48:29Z</dc:date>
    <item>
      <title>fetching data from function module using sap bapi connector in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/fetching-data-from-function-module-using-sap-bapi-connector-in/m-p/1770397#M717049</link>
      <description>&lt;P&gt;I am using sap bapi connection to reload data from a function module. I want to create a qvd. Function module have four required input parameters which I have to pass. I am passing them through variable but the problem here is one of the required parameter is fiscal year and we have to pass a single year. I want to fetch data from 2005 till 2021. Please guide me how I can do this. The below script is working fine for a single year.&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14114"&gt;@Brett_Bleess&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CUSTOM CONNECT TO "Provider=QvSAPBAPIConnector.dll;ASHOST=HOSTIP;SYSNR=00;CLIENT=500;XUserId=eaCeMGdJUKVGVPBGRZDB;XPassword=MZOHXEZJJCVSUARJTKQAFEB;";&lt;/P&gt;&lt;P&gt;let vPeriodFrom='1';&lt;BR /&gt;let vPeriodTo='12';&lt;BR /&gt;let vCompany='ABC';&lt;BR /&gt;let vFiscalyear='2019';&lt;/P&gt;&lt;P&gt;[ZAK_COST_ELEM_FM_OUTTAB]:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SQL {&lt;BR /&gt;"function":"ZAK_COST_ELEM_FM",&lt;BR /&gt;"output":"OUTTAB",&lt;BR /&gt;"parameters":&lt;BR /&gt;[&lt;BR /&gt;{ "direction":"in", "length":4, "name":"GJAHR", "optional":true, "type":"NUM", "value":"$(vFiscalyear)" },&lt;BR /&gt;{ "direction":"in", "length":15, "name":"KAGRU", "optional":true, "type":"CHAR", "value":" " },&lt;BR /&gt;{ "direction":"in", "length":4, "name":"KOKRS", "optional":true, "type":"CHAR", "value":"$(vCompany) " },&lt;BR /&gt;{ "direction":"in", "length":10, "name":"KOSTL_FROM", "optional":true, "type":"CHAR", "value":" " },&lt;BR /&gt;{ "direction":"in", "length":10, "name":"KOSTL_TO", "optional":true, "type":"CHAR", "value":" " },&lt;BR /&gt;{ "direction":"in", "length":15, "name":"KSGRU", "optional":true, "type":"CHAR", "value":" " },&lt;BR /&gt;{ "direction":"in", "length":10, "name":"KSTAR_FROM", "optional":true, "type":"CHAR", "value":" " },&lt;BR /&gt;{ "direction":"in", "length":10, "name":"KSTAR_TO", "optional":true, "type":"CHAR", "value":" " },&lt;BR /&gt;{ "direction":"in", "length":2, "name":"PERIO_FROM", "optional":true, "type":"BCD", "value":"$(vPeriodFrom) " },&lt;BR /&gt;{ "direction":"in", "length":2, "name":"PERIO_TO", "optional":true, "type":"BCD", "value":"$(vPeriodTo)" },&lt;BR /&gt;{ "direction":"in", "length":3, "name":"VERSN", "optional":true, "type":"CHAR", "value":" " },&lt;BR /&gt;{&lt;BR /&gt;"direction":"tables",&lt;BR /&gt;"name":"OUTTAB",&lt;BR /&gt;"optional":true,&lt;BR /&gt;"table":&lt;BR /&gt;[&lt;BR /&gt;{ "field":"KAGRU1", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU1_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU2", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU2_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU3", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU3_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU4", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU4_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU5", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU5_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU6", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU6_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU7", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU7_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU9", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU9_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU10", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU10_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU11", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU11_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU12", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU12_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU13", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU13_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU14", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU14_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU15", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRU15_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRUL", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KAGRUL_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSTAR", "length":10, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSTAR_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KOSTL", "length":10, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KOSTL_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU1", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU1_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU2", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU2_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU3", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU3_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU4", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU4_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU5", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU5_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU6", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU6_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU7", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU7_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU8", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU8_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU9", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU9_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU10", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU10_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU11", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU11_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU12", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU12_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU13", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU13_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU14", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU14_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU15", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRU15_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRUL", "length":15, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"KSGRUL_DES", "length":40, "type":"CHAR", "values":[] },&lt;BR /&gt;{ "field":"ACT_AMT", "length":8, "type":"BCD", "values":[] },&lt;BR /&gt;{ "field":"PLAN_AMT", "length":8, "type":"BCD", "values":[] },&lt;BR /&gt;{ "field":"PREV_ACT_AMT", "length":8, "type":"BCD", "values":[] },&lt;BR /&gt;{ "field":"PREV_PLAN_AMT", "length":8, "type":"BCD", "values":[] }&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;BR /&gt;STORE ZAK_COST_ELEM_FM_OUTTAB INTO $(vDirectoryPath)COST_ELEMENT_GROUP.qvd(qvd);&lt;BR /&gt;DROP TABLE ZAK_COST_ELEM_FM_OUTTAB;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 08:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fetching-data-from-function-module-using-sap-bapi-connector-in/m-p/1770397#M717049</guid>
      <dc:creator>sadiaasghar</dc:creator>
      <dc:date>2020-12-24T08:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: fetching data from function module using sap bapi connector in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/fetching-data-from-function-module-using-sap-bapi-connector-in/m-p/1770913#M717050</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/105825"&gt;@sadiaasghar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you try with for loop?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Let vStart=2005;&lt;BR /&gt;Let vEnd=2021;&lt;/P&gt;&lt;P&gt;For vFiscalYear = vStart to vEnd&lt;/P&gt;&lt;P&gt;//Trace $(vFiscalYear);&lt;/P&gt;&lt;P&gt;Load Statement;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 05:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fetching-data-from-function-module-using-sap-bapi-connector-in/m-p/1770913#M717050</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2020-12-29T05:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: fetching data from function module using sap bapi connector in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/fetching-data-from-function-module-using-sap-bapi-connector-in/m-p/1770934#M717051</link>
      <description>I made it work by for loop. But is there a way to provide dynamic values to&lt;BR /&gt;vStart and vEnd instead of hard coded ones?&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Dec 2020 08:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fetching-data-from-function-module-using-sap-bapi-connector-in/m-p/1770934#M717051</guid>
      <dc:creator>sadiaasghar</dc:creator>
      <dc:date>2020-12-29T08:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: fetching data from function module using sap bapi connector in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/fetching-data-from-function-module-using-sap-bapi-connector-in/m-p/1771787#M717052</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/105825"&gt;@sadiaasghar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes. You can use your Date field to identify the max year and min year and assign those value into variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 04:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fetching-data-from-function-module-using-sap-bapi-connector-in/m-p/1771787#M717052</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2021-01-05T04:48:29Z</dc:date>
    </item>
  </channel>
</rss>

