<?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: READ internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table/m-p/4620536#M1088451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Side,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow thoses steps:&lt;/P&gt;&lt;P&gt;declare V_INDEX type i.&lt;/P&gt;&lt;P&gt;Do a DESCRIBE statament in order to know the last index and fill the V_INDEX out.&lt;/P&gt;&lt;P&gt;Do READ statement index V_INDEX INTO W_AREA.&lt;/P&gt;&lt;P&gt;Do INSERT statement INDEX 1 W_AREA in your table.&lt;/P&gt;&lt;P&gt;Do DELETE statement INDEX V_INDEX in your table.&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;Alexandre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2008 14:36:41 GMT</pubDate>
    <dc:creator>alexandre_docarmorocha</dc:creator>
    <dc:date>2008-10-16T14:36:41Z</dc:date>
    <item>
      <title>READ internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table/m-p/4620534#M1088449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guyz,&lt;/P&gt;&lt;P&gt;i wanna read last line of internal and palce it in first.i dont want to loop.&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;my table:&lt;/P&gt;&lt;P&gt;1 2 3 4 5&lt;/P&gt;&lt;P&gt;4 5 6 7 8&lt;/P&gt;&lt;P&gt;8 7 6 5 4 &lt;/P&gt;&lt;P&gt;should  change to&lt;/P&gt;&lt;P&gt;8 7 6 5 4&lt;/P&gt;&lt;P&gt;1 2 3 4 5&lt;/P&gt;&lt;P&gt;4 5 6 7 8&lt;/P&gt;&lt;P&gt;plz advise..&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 14:30:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table/m-p/4620534#M1088449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T14:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: READ internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table/m-p/4620535#M1088450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;determine the number of lines in the internal table&lt;/P&gt;&lt;P&gt;read  the last line into a work area with index (index will be the number of lines you just got)&lt;/P&gt;&lt;P&gt;delete the last line with the help of the index&lt;/P&gt;&lt;P&gt;insert the line (from work area) with INDEX 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 14:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table/m-p/4620535#M1088450</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-10-16T14:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: READ internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table/m-p/4620536#M1088451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Side,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow thoses steps:&lt;/P&gt;&lt;P&gt;declare V_INDEX type i.&lt;/P&gt;&lt;P&gt;Do a DESCRIBE statament in order to know the last index and fill the V_INDEX out.&lt;/P&gt;&lt;P&gt;Do READ statement index V_INDEX INTO W_AREA.&lt;/P&gt;&lt;P&gt;Do INSERT statement INDEX 1 W_AREA in your table.&lt;/P&gt;&lt;P&gt;Do DELETE statement INDEX V_INDEX in your table.&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;Alexandre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 14:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table/m-p/4620536#M1088451</guid>
      <dc:creator>alexandre_docarmorocha</dc:creator>
      <dc:date>2008-10-16T14:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: READ internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table/m-p/4620537#M1088452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.- Check the total lines of the table, you'll use it as an index&lt;/P&gt;&lt;P&gt;2.- Read that index into a work area&lt;/P&gt;&lt;P&gt;3.- Delete that index&lt;/P&gt;&lt;P&gt;4. insert that work area in the index 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 14:37:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table/m-p/4620537#M1088452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T14:37:51Z</dc:date>
    </item>
  </channel>
</rss>

