<?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: loop inside loop with fieldsymbols in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333374#M1920019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At both the place you are transferring data to &lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;lt;ls_key&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;STORE_INTERNAL_ID , that's why it is &lt;SPAN style="color: #333333; font-size: 12px;"&gt;overwriting with new values&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2015 07:16:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-11-02T07:16:46Z</dc:date>
    <item>
      <title>loop inside loop with fieldsymbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333373#M1920018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;in my logic field symnol data is not mapping correctly .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;field symbols overwriting with new values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;please provide me solution .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;SELECT &lt;/SPAN&gt;* &lt;SPAN class="L0S52"&gt;from&amp;nbsp; &lt;/SPAN&gt;z30lo_t001w&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;CORRESPONDING &lt;SPAN class="L0S52"&gt;FIELDS &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE&amp;nbsp; &lt;/SPAN&gt;lt_tkey&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;lt_tkey &lt;SPAN class="L0S52"&gt;is &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;not &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INITIAL&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;lt_tkey &lt;SPAN class="L0S52"&gt;ASSIGNING &lt;/SPAN&gt;&amp;lt;ls_key&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ls_key&amp;gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;STORE_INTERNAL_ID &lt;SPAN class="L0S55"&gt;=&amp;nbsp; &lt;/SPAN&gt;&amp;lt;ls_key&amp;gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;werks&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;** update&amp;nbsp; internal store id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;&amp;lt;ls_ref&amp;gt; &lt;SPAN class="L0S52"&gt;ASSIGNING&amp;nbsp; &lt;/SPAN&gt;&amp;lt;ls_ref_line&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&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; &amp;lt;ls_key&amp;gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;STORE_INTERNAL_ID &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&amp;lt;ls_ref_line&amp;gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;store_internal_id &lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 07:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333373#M1920018</guid>
      <dc:creator>former_member1311160</dc:creator>
      <dc:date>2015-11-02T07:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: loop inside loop with fieldsymbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333374#M1920019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At both the place you are transferring data to &lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;lt;ls_key&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;STORE_INTERNAL_ID , that's why it is &lt;SPAN style="color: #333333; font-size: 12px;"&gt;overwriting with new values&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 07:16:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333374#M1920019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-02T07:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: loop inside loop with fieldsymbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333375#M1920020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asish &lt;/P&gt;&lt;P&gt;thanks for reply&lt;/P&gt;&lt;P&gt;now i changed to below logic , but still updating on last record&amp;nbsp; for records in lt_key&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;if &lt;/SPAN&gt;lt_tkey &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;is &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;not &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;INITIAL&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;at &lt;/SPAN&gt;lt_tkey &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;ASSIGNING &lt;/SPAN&gt;&amp;lt;ls_key&amp;gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S31" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;** update&amp;nbsp; internal store id&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;AT &lt;/SPAN&gt;&amp;lt;ls_ref&amp;gt; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;ASSIGNING&amp;nbsp; &lt;/SPAN&gt;&amp;lt;ls_ref_line&amp;gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ls_key&amp;gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;STORE_INTERNAL_ID &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;&amp;lt;ls_ref_line&amp;gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;store_internal_id &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&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; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 07:21:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333375#M1920020</guid>
      <dc:creator>former_member1311160</dc:creator>
      <dc:date>2015-11-02T07:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: loop inside loop with fieldsymbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333376#M1920021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you trying to do, there is no where clause in the second loop, so the last execution of loop will overwrite any previous value. it_tkey&amp;nbsp; will always contain value of last record of &amp;lt;ls_ref&amp;gt; ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 07:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333376#M1920021</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-11-02T07:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: loop inside loop with fieldsymbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333377#M1920022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no common fields&amp;nbsp; in two internal tables ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 07:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333377#M1920022</guid>
      <dc:creator>former_member1311160</dc:creator>
      <dc:date>2015-11-02T07:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: loop inside loop with fieldsymbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333378#M1920023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no common field in 2 tables then there is no meaning of loop inside loop.&lt;/P&gt;&lt;P&gt;Please explain what is expected output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As data is getting assigned inside loop field &lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;lt;ls_key&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; color: #333333; background-position: initial;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;STORE_INTERNAL_ID will be always gets updated with last value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 07:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-inside-loop-with-fieldsymbols/m-p/11333378#M1920023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-02T07:42:09Z</dc:date>
    </item>
  </channel>
</rss>

