2006 Dec 05 3:03 PM
Hi all,
I need to select most recent value from a table . I dont have any date or time field in that table . Can one help me in this issue
2006 Dec 05 3:06 PM
what are the fields available??
you can sort the table and read it.
Cheers,
amit
Hi all,
I need to select most recent value from a table . I dont have any date or time field in that table . Can one help me in this issue
2006 Dec 05 3:06 PM
what are the fields available??
you can sort the table and read it.
Cheers,
amit
2006 Dec 05 3:16 PM
Hi amit
Table name is CDPOS . I need to get recent change nr.can u give me the detail description?
2006 Dec 05 3:20 PM
You can go to CDHDR and get the most recent updates and then use the key fields to get the corresponding data from CDPOS.
Rob
2006 Dec 05 3:21 PM
Hi Priya,
there is another table CDHDR. this gives the details with time and date.
based on the changenr you can select the data from this table and get the recent data.
2006 Dec 05 3:22 PM
Priya U can link table CDPOS with CDHRD and Table CDHDR has both date and time in it.
Objectid and objectclas is same in both the tables.
Hope this helps,
shreekant
2006 Dec 05 3:14 PM
2006 Dec 05 3:19 PM
select fields into itab1 from CDPOS where <condition>.
describe table itab1 lines v_count.
read table itab1 index v_count.
This will give the last record (most recent record).
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |