<?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: READING INTERNAL TABLE RECORDS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-internal-table-records/m-p/2868512#M672982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Describe table itab length v_len.&lt;/P&gt;&lt;P&gt;read table itab into wa_itab index v_len.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2007 07:51:15 GMT</pubDate>
    <dc:creator>amit_khare</dc:creator>
    <dc:date>2007-10-08T07:51:15Z</dc:date>
    <item>
      <title>READING INTERNAL TABLE RECORDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-internal-table-records/m-p/2868511#M672981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;I WANT TO READ JUST THE LAST RECORD OF AN INTERNAL TABLE.&lt;/P&gt;&lt;P&gt;HOW CAN I DO IT? I WANT TO STORE THAT LAST RECORD IN A VARIABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW TO DO THAT...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 07:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-internal-table-records/m-p/2868511#M672981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T07:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: READING INTERNAL TABLE RECORDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-internal-table-records/m-p/2868512#M672982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Describe table itab length v_len.&lt;/P&gt;&lt;P&gt;read table itab into wa_itab index v_len.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 07:51:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-internal-table-records/m-p/2868512#M672982</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-10-08T07:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: READING INTERNAL TABLE RECORDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-internal-table-records/m-p/2868513#M672983</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;describe table itab lines ln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab index ln.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 07:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-internal-table-records/m-p/2868513#M672983</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-10-08T07:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: READING INTERNAL TABLE RECORDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-internal-table-records/m-p/2868514#M672984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data count type i.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;count = sy-tabix.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;*count holds last row index of internal table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab index count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward points if dis helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 07:53:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-internal-table-records/m-p/2868514#M672984</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2007-10-08T07:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: READING INTERNAL TABLE RECORDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-internal-table-records/m-p/2868515#M672985</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;1. Last means what ? It may mean,&lt;/P&gt;&lt;P&gt;the last entered, as per some date/time field in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. So its better to select all records first&lt;/P&gt;&lt;P&gt;in some internal table (for the same person number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Then SORT ITAB field5 descending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Read ITAB INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once u get data from table into a int table.&lt;/P&gt;&lt;P&gt;describe table itab lines FILL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fill will return u the no of records in the int table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab ..... index FILL.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 08:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-internal-table-records/m-p/2868515#M672985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T08:17:21Z</dc:date>
    </item>
  </channel>
</rss>

