Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Coding ABAP using LDB PNP and authorizations problems

Former Member
0 Likes
373

This post requires a blend of ABAP and HCM skills.

When coding my own ABAP using LDB PNP, the LDB will provide me with the employees selected but will skip those for which I do not have access (regarding Authorizations settings) to one or more of the infotypes declared in the program.

As a programmer I would like to receive from the LDB the information that an employee is skipped so that I can handle the exception.

Do you know how can I get this information from the LDB?

Thanks

1 ACCEPTED SOLUTION
Read only

former_member226519
Active Contributor
0 Likes
322

I dont know if PNP can do it but PNPCE can:

at END-OF-SELECTION call macro PNP_GET_AUTH_SKIPPED_PERNRS

it will provide a list of skiped PERNRs

for further info see docu PNPCE

1 REPLY 1
Read only

former_member226519
Active Contributor
0 Likes
323

I dont know if PNP can do it but PNPCE can:

at END-OF-SELECTION call macro PNP_GET_AUTH_SKIPPED_PERNRS

it will provide a list of skiped PERNRs

for further info see docu PNPCE