Posted: Wed Aug 13, 2008 1:17 pm Post subject: Reading payroll results
The table RGDIR is stored in the cluster CU. This table contained all the payroll results of an employee. In this table, there is ,for each payroll, the key of the area containing the table results of this payroll run (RT, CRT...). All these tables are stored in a cluster RF.
Code:
*------------------------------------------*
* Reading table RGDIR of an employee
*------------------------------------------*
call function 'CU_READ_RGDIR'
exporting
persnr = pernr-pernr
tables
in_rgdir = rgdir
exceptions
no_record_found = 1
others = 2.
" Reading all payroll of the month
loop at rgdir where fpper = d_paie_m and inper = d_paie_m.
" Extracting tables
perform read_clusters.
endloop.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.