<?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: sequence number the internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818236#M350033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi khan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;check this code&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;       sno like sy-tabix,&lt;/P&gt;&lt;P&gt;       vbeln like likp-vbeln,&lt;/P&gt;&lt;P&gt;       netwr like likp-netwr,&lt;/P&gt;&lt;P&gt;       end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-vbeln = '0005002035'.&lt;/P&gt;&lt;P&gt;itab-netwr = '5.78'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-vbeln = '0005002035'.&lt;/P&gt;&lt;P&gt;itab-netwr = '-3.25'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-vbeln = '0005002035'.&lt;/P&gt;&lt;P&gt;itab-netwr = '-8.47'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-vbeln = '0005002035'.&lt;/P&gt;&lt;P&gt;itab-netwr = '1.98'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; itab-sno = sy-tabix.&lt;/P&gt;&lt;P&gt; modify itab index sy-tabix.&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;loop at itab.&lt;/P&gt;&lt;P&gt;   write : / itab-sno , itab-vbeln , itab-netwr  .&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jan 2007 08:34:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-24T08:34:01Z</dc:date>
    <item>
      <title>sequence number the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818232#M350029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i get my internal table numbered sequentially.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 08:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818232#M350029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T08:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: sequence number the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818233#M350030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 08:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818233#M350030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T08:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: sequence number the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818234#M350031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;1. Add one more field to ur final internal table
     data : begin of itab occurs 0,
                  seq_no like sy-tabix,
                   ........
              end of itab.

2. loop at itab into wa_itab.
        itab-seq_no = sy-tabix.
        modify itab from wa_itab.
    endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 08:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818234#M350031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T08:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: sequence number the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818235#M350032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;         slno type i,&lt;/P&gt;&lt;P&gt;         colma(5) typec,&lt;/P&gt;&lt;P&gt;          colmb(5) type c,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after fetching all the data in itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-slno = sy-tabix.&lt;/P&gt;&lt;P&gt;modify itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now your itab sl no contains 1 a b, 2 b c like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ifyou want to write that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after fetching all the data in your itab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : /  sy-tabix, itab-colma,itab-colmb.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;here you dont need to declare the slno in itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 08:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818235#M350032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T08:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: sequence number the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818236#M350033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi khan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;check this code&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;       sno like sy-tabix,&lt;/P&gt;&lt;P&gt;       vbeln like likp-vbeln,&lt;/P&gt;&lt;P&gt;       netwr like likp-netwr,&lt;/P&gt;&lt;P&gt;       end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-vbeln = '0005002035'.&lt;/P&gt;&lt;P&gt;itab-netwr = '5.78'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-vbeln = '0005002035'.&lt;/P&gt;&lt;P&gt;itab-netwr = '-3.25'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-vbeln = '0005002035'.&lt;/P&gt;&lt;P&gt;itab-netwr = '-8.47'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-vbeln = '0005002035'.&lt;/P&gt;&lt;P&gt;itab-netwr = '1.98'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; itab-sno = sy-tabix.&lt;/P&gt;&lt;P&gt; modify itab index sy-tabix.&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;loop at itab.&lt;/P&gt;&lt;P&gt;   write : / itab-sno , itab-vbeln , itab-netwr  .&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 08:34:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818236#M350033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T08:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: sequence number the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818237#M350034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my itab is without a header line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 08:37:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818237#M350034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T08:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: sequence number the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818238#M350035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt; itab-sqno = sy-tabix.&lt;/P&gt;&lt;P&gt; modify itab index sy-tabix.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 08:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequence-number-the-internal-table/m-p/1818238#M350035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T08:39:22Z</dc:date>
    </item>
  </channel>
</rss>

