<?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 How do I apply &amp;quot;For Each.. Next&amp;quot; syntax in LOAD ...SAP select... in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/How-do-I-apply-quot-For-Each-Next-quot-syntax-in-LOAD-SAP-select/m-p/1980738#M11358</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I need your help.&lt;/P&gt;
&lt;P&gt;I am using SAP connector.&lt;BR /&gt;The SAP Select syntax is divided into Dimension, Measurements, and Variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Year condition is setting in the Variables syntax&lt;BR /&gt;I want to use the For Each syntax for Year condition.&lt;/P&gt;
&lt;P&gt;How do I do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regard.&lt;/P&gt;
&lt;P&gt;hanna.choi&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2022 07:11:29 GMT</pubDate>
    <dc:creator>hanna_choi</dc:creator>
    <dc:date>2022-09-14T07:11:29Z</dc:date>
    <item>
      <title>How do I apply "For Each.. Next" syntax in LOAD ...SAP select...</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/How-do-I-apply-quot-For-Each-Next-quot-syntax-in-LOAD-SAP-select/m-p/1980738#M11358</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I need your help.&lt;/P&gt;
&lt;P&gt;I am using SAP connector.&lt;BR /&gt;The SAP Select syntax is divided into Dimension, Measurements, and Variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Year condition is setting in the Variables syntax&lt;BR /&gt;I want to use the For Each syntax for Year condition.&lt;/P&gt;
&lt;P&gt;How do I do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regard.&lt;/P&gt;
&lt;P&gt;hanna.choi&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 07:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/How-do-I-apply-quot-For-Each-Next-quot-syntax-in-LOAD-SAP-select/m-p/1980738#M11358</guid>
      <dc:creator>hanna_choi</dc:creator>
      <dc:date>2022-09-14T07:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I apply "For Each.. Next" syntax in LOAD ...SAP select...</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/How-do-I-apply-quot-For-Each-Next-quot-syntax-in-LOAD-SAP-select/m-p/1980749#M11360</link>
      <description>&lt;P&gt;Check it here : &lt;A href="https://help.qlik.com/en-US/sense/August2022/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptControlStatements/For%20Each.htm" target="_blank"&gt;For each..next ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 07:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/How-do-I-apply-quot-For-Each-Next-quot-syntax-in-LOAD-SAP-select/m-p/1980749#M11360</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2022-09-14T07:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I apply "For Each.. Next" syntax in LOAD ...SAP select...</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/How-do-I-apply-quot-For-Each-Next-quot-syntax-in-LOAD-SAP-select/m-p/1980753#M11361</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I declared the company code as a variable and used For Each.&lt;/P&gt;
&lt;P&gt;But it only takes one time and fails to execute the loop.&lt;/P&gt;
&lt;P&gt;What's the problem?&lt;/P&gt;
&lt;P&gt;Below is the sample code.&lt;/P&gt;
&lt;P&gt;==========Sample Code&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;FOR each vCCode in 0006,0008,0009&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;[ZZSD_M01_Q002_QS]:&lt;BR /&gt;LOAD&lt;BR /&gt;[0DIVISION] as [Division],&lt;BR /&gt;[0MATERIAL] as [Material],&lt;BR /&gt;[ZMAT_VAL_0PRICE_VAL] as [MSRP],&lt;BR /&gt;[ZMAT_VAL_0PRICE_STD] as [Standard Price],&lt;BR /&gt;[5C78ZVZ25PQP3ET4M2E32068B] as [Exploded Units],&lt;BR /&gt;[5C78ZWEF7MY44NW0XQIRM43NV] as [Gross Sales],&lt;/P&gt;
&lt;P&gt;SELECT [ZZSD_M01_Q002_QS]&lt;BR /&gt;DIMENSIONS (&lt;BR /&gt;[0DIVISION], //Division&lt;BR /&gt;[0MATERIAL], //Material&lt;BR /&gt;[ZMAT_VAL_0PRICE_VAL], //[MSRP]&lt;BR /&gt;[ZMAT_VAL_0PRICE_STD], //[Standard Price]&lt;BR /&gt;)&lt;BR /&gt;MEASURES (&lt;BR /&gt;[5C78ZVZ25PQP3ET4M2E32068B], //Exploded Units&lt;BR /&gt;[5C78ZWEF7MY44NW0XQIRM43NV], //Gross Sales&lt;BR /&gt;)&lt;BR /&gt;UNITS (&lt;BR /&gt;[CURRENCY004.5C78ZVZ25PQP3ET4M2E32068B], //CURRENCY004 Exploded Units&lt;BR /&gt;[UNIT004.5C78ZVZ25PQP3ET4M2E32068B], //UNIT004 Exploded Units&lt;BR /&gt;[CURRENCY006.5C78ZWEF7MY44NW0XQIRM43NV], //CURRENCY006 Gross Sales&lt;BR /&gt;[UNIT006.5C78ZWEF7MY44NW0XQIRM43NV], //UNIT006 Gross Sales&lt;BR /&gt;)&lt;BR /&gt;VARIABLES (&lt;BR /&gt;[NAME=ZPDIVS, SIGN=I, OPTION=EQ, LOW=48], //Division&lt;BR /&gt;[NAME=0S_COCD, SIGN=I, OPTION=EQ, &lt;STRONG&gt;LOW=$(vCCode)&lt;/STRONG&gt;], //Company Code&lt;BR /&gt;[NAME=0SALEORG, SIGN=I, OPTION=EQ, LOW=0041], //Sales Org&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;FROM [ZSD_M01];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;next vCCode&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 07:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/How-do-I-apply-quot-For-Each-Next-quot-syntax-in-LOAD-SAP-select/m-p/1980753#M11361</guid>
      <dc:creator>hanna_choi</dc:creator>
      <dc:date>2022-09-14T07:54:28Z</dc:date>
    </item>
  </channel>
</rss>

