02-11-2019 10:32 PM
My requirement is to get pernrs from pa0001 based on matching stell (job code) while maintainingg the auth checks. I can't use FM HR_READ_INFOTYPE as this requires a pernr parameter which is not available until later.
02-12-2019 6:39 AM
Look at the source code of FM such HR_CHECK_AUTHORITY_SEARCH_HELP or one of its caller such as PTRV_TRAVEL_STATISTICS_SH_EXIT.
02-12-2019 3:59 PM
Thanks Raymond, I am looking into it and trying to figure out how to make use of it in my case.
02-12-2019 2:24 PM
02-12-2019 4:00 PM
02-12-2019 3:01 PM
This is how I am doing it at the moment:
SELECT pernr FROM pa0001 INTO TABLE lt_pa0001
WHERE stell IN p_job_cd
AND endda >= sy-datum.