<?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: Looping Problem.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007983#M1345478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    In Control break events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;All components with a character-type, flat data type to the right of the current control key are set to character "&lt;/STRONG&gt;" in every position.*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So at the beginning of the loop move all the records to another workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT lt_itab INTO wa_itab.

wa_itab1 = wa_itab.    "---&amp;gt; move all the values to another workarea of same structure, now that workarea will show all values

Process all your events  " Use wa_itab1 values for processing.

CLEAR : wa_itab1.

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bala Krishna on Aug 11, 2009 9:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2009 04:01:31 GMT</pubDate>
    <dc:creator>former_member585060</dc:creator>
    <dc:date>2009-08-11T04:01:31Z</dc:date>
    <item>
      <title>Looping Problem....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007979#M1345474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All , &lt;/P&gt;&lt;P&gt;  I faced a problem , when i tried to loop the table  and used the funtion   AT END OF lines ..... ENDAT ..&lt;/P&gt;&lt;P&gt;  why the somes the table field will become ************** ?? and i cnt get the value ........  example like below.&lt;/P&gt;&lt;P&gt;  how i going to solve this problem ? and make the value come out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	3107    |07   |**** |         0.000 |*******&lt;STRONG&gt;|&lt;/STRONG&gt;********&lt;STRONG&gt;|&lt;/STRONG&gt;********&lt;STRONG&gt;|&lt;/STRONG&gt;***  |&lt;/P&gt;&lt;P&gt;    1	3107    |02   |CL   |         1.000 |20090811|310702    |ST-ADJ IN |CL21  |&lt;/P&gt;&lt;P&gt;    2	3107    |05   |CL   |         1.000 |20090811|310705    |ST-ADJ IN |CL21  |&lt;/P&gt;&lt;P&gt;    3	3107    |07   |CL   |         1.000 |20090811|310707    |ST-ADJ OUT|CL21  |&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;SAP Funs ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 02:32:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007979#M1345474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-11T02:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Looping Problem....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007980#M1345475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to something&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at itab.
at end of matnr.
    move 'Y' to v_flag.
endat.
if v_flag eq 'Y'.
   " Here you will get record without *******
endif.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 02:40:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007980#M1345475</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-11T02:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Looping Problem....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007981#M1345476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear , &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   i need to read the value before the ENDAT  ........ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 02:57:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007981#M1345476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-11T02:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Looping Problem....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007982#M1345477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data: wa like line of itab.

Loop at itab.

  wa = itab.

  at end of matnr.
* You should now see all the values in WA while inside the AT statement.
  endat.

endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 03:07:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007982#M1345477</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2009-08-11T03:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Looping Problem....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007983#M1345478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    In Control break events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;All components with a character-type, flat data type to the right of the current control key are set to character "&lt;/STRONG&gt;" in every position.*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So at the beginning of the loop move all the records to another workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT lt_itab INTO wa_itab.

wa_itab1 = wa_itab.    "---&amp;gt; move all the values to another workarea of same structure, now that workarea will show all values

Process all your events  " Use wa_itab1 values for processing.

CLEAR : wa_itab1.

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bala Krishna on Aug 11, 2009 9:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 04:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007983#M1345478</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2009-08-11T04:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Looping Problem....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007984#M1345479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Loop at itab into wa.&lt;/P&gt;&lt;P&gt;g_tabix = sy-tabix&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at end of matnr.&lt;/P&gt;&lt;P&gt;read table itab into wa index g_tabix.  "&amp;lt;---add this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***you will not get the symbols here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 04:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007984#M1345479</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-08-11T04:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Looping Problem....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007985#M1345480</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;Please try Richi method that will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more way is also there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place matnr after ENDAT in structure postion .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;ShreeMohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 04:11:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/looping-problem/m-p/6007985#M1345480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-11T04:11:44Z</dc:date>
    </item>
  </channel>
</rss>

