<?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: Using loop statement in screen flow in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502862#M1422037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keshav - no need to post both the link and the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next time, please just post the link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jan 2010 21:12:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-08T21:12:02Z</dc:date>
    <item>
      <title>Using loop statement in screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502859#M1422034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;                 &lt;/P&gt;&lt;P&gt;                I have been working on the Module Pool for the last two weeks. But Iam unable to get the main difference between &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the   " LOOP WITH CONTROL TABCON "  and   "  LOOP AT ITAB WITH CONTROL TABCON CURSOR TABCON-CURRENT_LINE ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make me clear on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murali Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2010 09:30:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502859#M1422034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-08T09:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using loop statement in screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502860#M1422035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOOP AT ITAB WITH CONTROL TABCON CURSOR TABCON-CURRENT_LINE  means &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO the data is moving from internal table to table control&lt;/P&gt;&lt;P&gt;  For the ist time when the current_line will be 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check the below example..&lt;/P&gt;&lt;P&gt;  When the system encounters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT IT_SCARR INTO SCARR WITH CONTROL TC_SCARR
                      CURSOR TC_SCARR-CURRENT_LINE.
  Endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  The cursor will be on the ist line &lt;/P&gt;&lt;P&gt;  The ist  record from internal table it_scarr is moved to work area SCARR  and is placed in the table control TC_SCARR in the column current_line. An then cursor moves to the second position, it comes back to the internal table it_scarr and picks up the 2nd record and place that in the work area SCARR and will be placed to the 2nd row of the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP WITH CONTROL TABCON means looping the table control..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Satish Boguda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Jan 8, 2010 4:10 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2010 19:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502860#M1422035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-08T19:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using loop statement in screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502861#M1422036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is copied from sap documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link:[Table Controls in the Flow Logic|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;LOOP WITH CONTROL ctrl.&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These statements create a loop pass through the step loop rows displayed on the screen.&lt;/P&gt;&lt;P&gt; For PAI, they transfer the data of each group into the identically-named fields of the ABAP program or, vice versa,&lt;/P&gt;&lt;P&gt; for PBO from the ABAP program into the step loop fields.&lt;/P&gt;&lt;P&gt; In the LOOP-ENDLOOP loop, you can call modules that process the transferred data and for&lt;/P&gt;&lt;P&gt; PBO read from an internal table, or for PAI import into an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab [INTO wa] WITH CONTROL ctrl.&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;This statement assigns an internal table itab of the ABAP program to the table control and&lt;/P&gt;&lt;P&gt; triggers a parallel loop run over the table control rows displayed on the screen and over the internal table itab. &lt;/P&gt;&lt;P&gt;The additions INTO and WITH CONTROL are possible at the time of PBO, but not at PAI. &lt;/P&gt;&lt;P&gt;The assignment of the loop to the table control takes place at PAI through the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the INTO addition, the fields of the internal table itab are written to the work area wa at the time&lt;/P&gt;&lt;P&gt; of PBO and the content of wa is transported, line by line, to the identically-named fields of the table control &lt;/P&gt;&lt;P&gt;on the screen. Without the INTO addition, you must use an internal table with a header line.&lt;/P&gt;&lt;P&gt; Then the content of the header line is transported line by line to the&lt;/P&gt;&lt;P&gt; identically-named fields of the table control on the screen at the time of PBO. &lt;/P&gt;&lt;P&gt;No module is required for filling the table control rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversely, at the time of PAI, the internal table rows are not automatically&lt;/P&gt;&lt;P&gt; filled with the contents of the table control rows. Instead, you must call a&lt;/P&gt;&lt;P&gt; dialog module within the loop that modifies the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2010 20:30:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502861#M1422036</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-08T20:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using loop statement in screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502862#M1422037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keshav - no need to post both the link and the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next time, please just post the link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2010 21:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502862#M1422037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-08T21:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using loop statement in screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502863#M1422038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julius Bussche informed me once that posting links without any suggestion is not encouraged and will be deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it was hard for me explain the difference in my own words , so just thought of highlighting the part. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Keshav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jan 2010 07:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502863#M1422038</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-09T07:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using loop statement in screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502864#M1422039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keshav - there used to be a problem in the forum where a poster would ask a question and some responders would post a large (25 or more) number of links without really bothering to understand what the question was asking. That is what we tried to eliminate - successfully I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So a simple "have a look at: whatever link" is not a problem. But posting the content of the link doesn't really add anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 03:34:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-loop-statement-in-screen-flow/m-p/6502864#M1422039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T03:34:09Z</dc:date>
    </item>
  </channel>
</rss>

