on 05-17-2018 7:01 AM
Dear experts,
I want to find the SEQNR of the 'A' payroll for a 'P' payroll.
Is there any existing FM which can fulfill this task?
Thanks!
Jerry
Hello,
you can get all the registers for the payroll results of an employee:
DATA: lt_rgdir type table of pc261.
CALL FUNCTION 'CU_READ_RGDIR'
EXPORTING
persnr = pernr-pernr
TABLES
in_rgdir = lt_rgdir
EXCEPTIONS
no_record_found = 1
OTHERS = 2.
and then you can filter and add some logic using the fields: SEQNR, SRTZA ('P'/'A'), FPEPER, INPER
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.