<?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: problem with Loop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-loop/m-p/6896263#M1480692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution is within yourself &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please debug and solve it of your own &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 May 2010 14:15:07 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-05-19T14:15:07Z</dc:date>
    <item>
      <title>problem with Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-loop/m-p/6896262#M1480691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Good evening guys.&lt;/P&gt;&lt;P&gt;ct_claim_item  table got two records as well as   lt_afvc also got two records. as per condtion,  ct_claim_item frist record should be changed. but ct_claim_item two records are changing..plz let me know the where iam doing wrong.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Loop at ct_claim_item into wa_ct_claim_item.
 Loop at lt_afvc into wa_afvc.
   if wa_afvc-wty_ind = 'X'.
     if wa_afvc-larnt = 'HM'.
       wa_ct_claim_item-ITEM_TYPE = 'FR'.
       modify ct_claim_item Index lv_idx from wa_ct_claim_item.
        endif.
      endif.
      clear:wa_afvc,
            wa_ct_claim_item.
    ENDLOOP.
Endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 14:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-loop/m-p/6896262#M1480691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-19T14:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem with Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-loop/m-p/6896263#M1480692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution is within yourself &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please debug and solve it of your own &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 14:15:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-loop/m-p/6896263#M1480692</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-05-19T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem with Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-loop/m-p/6896264#M1480693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It´s not clear what do you want... but if you need to change only the first record of ct_claim_item , insert a EXIT command between ENDLOOPs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what is lv_idx variable??? Is equal to 1 ??? Take a look on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leandro Mengue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 14:19:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-loop/m-p/6896264#M1480693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-19T14:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: problem with Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-loop/m-p/6896265#M1480694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 14:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-loop/m-p/6896265#M1480694</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-05-19T14:21:02Z</dc:date>
    </item>
  </channel>
</rss>

