<?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: assign comp in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-comp/m-p/2812131#M657442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose I remove the do loop----then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Sep 2007 07:09:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-30T07:09:41Z</dc:date>
    <item>
      <title>assign comp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-comp/m-p/2812129#M657440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;]]I have a syntax:-&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DO 3 TIMES.
ASSIGN COMPONENT SY-INDEX OF STRUCTURE &amp;lt;F1&amp;gt;  TO &amp;lt;F2&amp;gt; .
WRITE &amp;lt;F2&amp;gt; .
ENDDO.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My question is ,that instead if sy-index, could we use something like &amp;#147; 1&amp;#148; &amp;#147;2&amp;#148; ...etc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2007 06:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-comp/m-p/2812129#M657440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-30T06:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: assign comp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-comp/m-p/2812130#M657441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SY_INDEX gets the value from loop pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First time DO loop gets executed, SY-INDEX will have value 1.&lt;/P&gt;&lt;P&gt;Second time DO loop gets executed, SY-INDEX will have value 2 and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in a DO Loop how will you be able to use values 1 /2 / 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid repetitive coding, DO Loop is used here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. Please award points and close the thread if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2007 06:24:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-comp/m-p/2812130#M657441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-30T06:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: assign comp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-comp/m-p/2812131#M657442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose I remove the do loop----then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2007 07:09:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-comp/m-p/2812131#M657442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-30T07:09:41Z</dc:date>
    </item>
  </channel>
</rss>

