<?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: INCREMENTING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408937#M537169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same in my program which will have similar to VA01 salesorder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort itab by posnr by descending.&lt;/P&gt;&lt;P&gt;read table itab index 1.&lt;/P&gt;&lt;P&gt;l_posnr = itab-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with in internal table....when ever u r entering a new record use &lt;/P&gt;&lt;P&gt;l_posnr = l_posnr + 10.&lt;/P&gt;&lt;P&gt;itab-posnr = l_posnr .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2007 09:41:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-02T09:41:30Z</dc:date>
    <item>
      <title>INCREMENTING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408934#M537166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ALL &lt;/P&gt;&lt;P&gt; i'm have a field PINCR which holds the value 10 n i've to move this value to another field ANFPS n the value of ANFPS should increment by 10 .&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;10 &lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;30...&lt;/P&gt;&lt;P&gt;in table conrol&lt;/P&gt;&lt;P&gt;can u please find me the solution .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;suprith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:27:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408934#M537166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T09:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: INCREMENTING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408935#M537167</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;use &lt;/P&gt;&lt;P&gt;ANFPS = PINCR + 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandeep Kaushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:30:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408935#M537167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T09:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: INCREMENTING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408936#M537168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suprith,&lt;/P&gt;&lt;P&gt;In the Internal Table that you are passing to the Table control, put another field ANFPS. And Loop this table and write &lt;/P&gt;&lt;P&gt;itab-ANFPS = itab-ANFPS + itab-PINCR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be passed to the TAB Control.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408936#M537168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T09:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: INCREMENTING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408937#M537169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same in my program which will have similar to VA01 salesorder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort itab by posnr by descending.&lt;/P&gt;&lt;P&gt;read table itab index 1.&lt;/P&gt;&lt;P&gt;l_posnr = itab-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with in internal table....when ever u r entering a new record use &lt;/P&gt;&lt;P&gt;l_posnr = l_posnr + 10.&lt;/P&gt;&lt;P&gt;itab-posnr = l_posnr .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408937#M537169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T09:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: INCREMENTING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408938#M537170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;       i1 type i,&lt;/P&gt;&lt;P&gt;       i2 type i,&lt;/P&gt;&lt;P&gt;       end   of itab.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;do 10 times.&lt;/P&gt;&lt;P&gt;  itab-i1 = 10.&lt;/P&gt;&lt;P&gt;  itab-i2 = itab-i1 * sy-index.&lt;/P&gt;&lt;P&gt;  append itab.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;  write: / itab-i1, itab-i2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408938#M537170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T09:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: INCREMENTING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408939#M537171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi suprith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take a feild in your internal table and fill it by the desired values ,&lt;/P&gt;&lt;P&gt;that is simpally can do by using a loop on the internal table and by using the  modify statement. and then use that table in the table control..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USE THIS AFTER THE SELECT QUERY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE I_TEMP INDEX 1.&lt;/P&gt;&lt;P&gt;i_temp-ANFPS = i_temp-PINCR .  &lt;/P&gt;&lt;P&gt;modify i_temp.&lt;/P&gt;&lt;P&gt;loop at i_temp.&lt;/P&gt;&lt;P&gt;i_temp-ANFPS = i_temp-ANFPS + 10.&lt;/P&gt;&lt;P&gt;modify i_temp.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD THE POINTS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/incrementing/m-p/2408939#M537171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T09:50:43Z</dc:date>
    </item>
  </channel>
</rss>

