Limiting Photo Visibility in Personnel Administration Transactions (PA20/30/40)
Explanation of the Issue
For some reason, you've received an email explicitly stating that a way needs to be found to prevent a specific group of users from seeing the employee photo in transactions PA20, PA30, and PA40.
It's important to note that the request does not involve fully disabling the photo display mechanism in these transactions, but rather limiting it only for a specific group of users.
Solution
For those users who do not need to see the employee photo, assign the user parameter PIC
with the value "X" in their user master record.
See also the note: SPA/GPA Parameters in ABAP
Make sure to test it.
At the same time, photos will still be accessible to users who have not been assigned the PIC parameter. Access to them just becomes a bit less direct.
To display a photo or other documents available through ArchiveLink in PA20/PA30, the user must go to the menu:
Extras → Display all facsimiles
See also:
The employee documents will then be available for viewing.
That’s about it.
P.S.
Special thanks to Anton from Ukraine for the idea behind this post.