hi every body,
I have come across a problem I have access the data of RT using
for other period
call function 'CU_READ_RGDIR'
persnr = p0001-pernr
molga = lv_molga
in_rgdir = gs_rgdir.
sort gs_rgdir by seqnr.
CONCATENATE PNPPABRJ PNPPABRP into varfppr.
READ TABLE GS_rgdir into gs_rgdir WITH key fpper = varfppr.
SELECT SINGLE relid FROM t500l
WHERE molga = lv_molga.
if sy-subrc = 0.
call function 'PYXX_READ_PAYROLL_RESULT'
clusterid = lv_RELID
employeenumber = p0001-pernr
sequencenumber = gs_rgDIR-SEQNR
read_only_international = 'X'
payroll_result = result.
Now I have got all the required data in the RT but I need the most recent salary from the RT for the given month can some body tell me how to retrieve the data of the most recent salary through it. I have been using the other period option in it.
Edited by: ZAHID HAMEED on Jul 21, 2010 12:12 AM