2007 Mar 20 1:45 AM
Hi!
I'm working on HR programming and would like to retrieve the last record from "PC_PAYRESULT" according to "Personnel Number". I will double click on the last record, and go to the "RT_".
How can retrieve this through HR programming? Can I use any call function?
Please kindly advice. Thanks a lot!
br,
ying ying
2007 Mar 20 2:01 AM
Hi,
Try to use FM "'CU_READ_RGDIR'"
Then you will results in RGDIR
sort it by Seqnr ascending
Describe table RGDIR into v_last .
read table RGDIR index v_last.
After the read you will get last record.
aRs
2007 Mar 20 2:01 AM
Hi,
Try to use FM "'CU_READ_RGDIR'"
Then you will results in RGDIR
sort it by Seqnr ascending
Describe table RGDIR into v_last .
read table RGDIR index v_last.
After the read you will get last record.
aRs
2007 Mar 20 7:11 AM
Hi Ars,
I am able to get the records, but how can I get the RT table according to the last records I select?
Please advice, thanks.