Application Development 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: 

Masking SSN & Date of birth

Former Member
0 Kudos

Hi all,

There is a requirement from security to not have access to end users for IT 0002 (HR). But the super user needs it.

Is there a way where we can mask the SSN partially i.e only the last four digits being visible & this can be handled by authorization, i.e. a few users will have full access & the rest will have partial view of the SSN number.

Any inputs would be appreciated.

Thanks

RL

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos

May be try to use enhancement PBAS0001 and according to authorization object hide the field or display

PS : I am not 100% sure about this.

4 REPLIES 4

former_member194669
Active Contributor
0 Kudos

May be try to use enhancement PBAS0001 and according to authorization object hide the field or display

PS : I am not 100% sure about this.

Former Member
0 Kudos

If U are talking about masking SSN when viewing table , then I don't think this is possible.

If U want to mask SSN while viewing data from PA30/PA20 then write the coding in user exit.

Write the logic in Include ZXPADU02 exit : EXIT_SAPFP50M_002

0 Kudos

Thanks for the response Srini,

But when I mask the filed using a user exit, can there be complete view for super users & for the rest of them the filed should be mask. Is this possible?

Thanks

RL

0 Kudos

Hi,

In the User Exit, Check if the user PERNR is a SUPER USER.

If yes then show the SSN number.

ELSE.Mask the SSN Number.

For checking whether the user is a super user following query.

Select Single BNAME

from USR02

where CLASS = 'SUPER'.

Regards,

Vimal.

Edited by: Vimal V on Jul 22, 2009 4:56 PM