<?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: Increase The Counter inside Value Constructor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-the-counter-inside-value-constructor/m-p/12083694#M1971222</link>
    <description>&lt;P&gt;Please don't post code as image, copy/paste it and use CODE button to add the colors. Hopefully some people accept to not be paid to type your code again...&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2020 10:21:47 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2020-01-07T10:21:47Z</dc:date>
    <item>
      <title>Increase The Counter inside Value Constructor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-the-counter-inside-value-constructor/m-p/12083692#M1971220</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt; Just not able to write counter increase Logic inside Value Constructor &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1758058-value.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Want to increase the Counter i mean want to increase i inside loop but how to increase the i value in the above code not understanding can some one help me out.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;kiran rachamalla.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 06:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-the-counter-inside-value-constructor/m-p/12083692#M1971220</guid>
      <dc:creator>RachamallaKiran</dc:creator>
      <dc:date>2020-01-07T06:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Increase The Counter inside Value Constructor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-the-counter-inside-value-constructor/m-p/12083693#M1971221</link>
      <description>&lt;P&gt;If you need the index of the line, why didn't you use INDEX statement ? &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA(lt_setopt) = VALUE tbl_mat_range( ( sign       = 'I'
                                        option     = 'EQ'
                                        matnr_low  = '123'
                                        matnr_high = '456' )
                                      ( sign       = 'I'
                                        option     = 'EQ'
                                        matnr_low  = '123'
                                        matnr_high = '456' ) ).


DATA(lt_result) = VALUE tbl_mat_range(  FOR my_temp_line
                                        IN lt_setopt
                                        INDEX INTO my_index (
                                          sign      = my_temp_line-sign
                                          option    = my_temp_line-option
                                          matnr_low = my_temp_line-matnr_low
                                          matnr_high =  my_index + 1 ) ) .




cl_demo_output=&amp;gt;write_data( lt_setopt ).
cl_demo_output=&amp;gt;write_data( lt_result ).
cl_demo_output=&amp;gt;display( ).
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jan 2020 06:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-the-counter-inside-value-constructor/m-p/12083693#M1971221</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2020-01-07T06:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Increase The Counter inside Value Constructor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-the-counter-inside-value-constructor/m-p/12083694#M1971222</link>
      <description>&lt;P&gt;Please don't post code as image, copy/paste it and use CODE button to add the colors. Hopefully some people accept to not be paid to type your code again...&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 10:21:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-the-counter-inside-value-constructor/m-p/12083694#M1971222</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-01-07T10:21:47Z</dc:date>
    </item>
  </channel>
</rss>

