<?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: Fetching data from ISEG table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579579#M261605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you say the problem is that the last table in the internal table is not the last record ..it could be possible if you are using a sorted table and the key is different as compared to the ISEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;Secondly you can sort the table on change date descending to get the last record&lt;/DEL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anurag Bankley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Sep 2006 20:15:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-08T20:15:57Z</dc:date>
    <item>
      <title>Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579576#M261602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guyz!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;urgently need you attention. let me brief about my proble. i am fetching physical inventory from ISEG table. so as per my requirement, I should pick the latest record, to be more precise, the last record / most recent record. so i designed accordingly that. what i did is, after writing select query, i just described the internal table with its total number of lines. then i was reading the inteernal table with the index(max) which was giving me most recent recoed. but rite now the problem, I am facing is, with select query, most recent record is not coming in the bottom. the order is getting changed. so any one can suggest me, how to pick the most recent record from database table / the last record which satisfies the where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;manas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 18:42:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579576#M261602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T18:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579577#M261603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sort itab descending.&lt;/P&gt;&lt;P&gt;read table itab index 1.&lt;/P&gt;&lt;P&gt;Now the itab header will have the most recent/last record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 18:43:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579577#M261603</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-09-08T18:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579578#M261604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort the internal table in descending order on fiscal year and line number and read the first record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT IT_ISEG BY GJAHR DESCENDING ZEILI DESCENDING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IT_ISEG INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 18:50:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579578#M261604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T18:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579579#M261605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you say the problem is that the last table in the internal table is not the last record ..it could be possible if you are using a sorted table and the key is different as compared to the ISEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;Secondly you can sort the table on change date descending to get the last record&lt;/DEL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anurag Bankley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 20:15:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579579#M261605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T20:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579580#M261606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you determine which is the most recent record?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 20:36:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579580#M261606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T20:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579581#M261607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first sort ur internal table by descending.&lt;/P&gt;&lt;P&gt;fetch the first record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ur requiremnt will be obtained&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Sep 2006 07:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579581#M261607</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-09-09T07:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579582#M261608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the most recent record for a where clause comes in the bottom. I mean to say, if there are 5 records for a where clause, then the most recent record should come in the 5th position, untill and unless, the database table is indexed. Just let me know what is your idea about the positioning of most recent record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: manas swain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 06:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579582#M261608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T06:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579583#M261609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As specified in my previous post the problem can be either of the below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The definition of your internal table ..if it is sorted table than it might not give you the same order as it fetches from the databse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. U r using the wrong index...if you using the primary key than basically it should fetch the data in the same sequence as in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the solution is concerned ...i think to get the last record..I would advice you to sort it on the post date(either in ISEG or getting the corresponding data from IKBF).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 08:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579583#M261609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T08:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579584#M261610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your fruitful response. You are absolutely correct. Your point number 2 was the solution to my query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 16:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579584#M261610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T16:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579585#M261611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U r welcome...please assign points for useful answers and close the thread !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Cheers&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 16:21:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579585#M261611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T16:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579586#M261612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was about to ask you how to give point to helpful answers and how to close threads. As I am new to his community, I could not find any option to give score to somebody. Can you say me, so that I can give scores and close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 17:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579586#M261612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T17:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from ISEG table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579587#M261613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you post it as a question ..in the thread where people have replied to your question..on the left hand there are three radiobuttions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yellow - helpful answers&lt;/P&gt;&lt;P&gt;Green - Very Helpful answers&lt;/P&gt;&lt;P&gt;Blue - Problem Solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you mark it as blue it is basically termed as close to the people that you have got the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 18:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-iseg-table/m-p/1579587#M261613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T18:53:18Z</dc:date>
    </item>
  </channel>
</rss>

