Skip to Content
0
Former Member
Jun 22, 2009 at 08:33 PM

Masking a variant

65 Views

Hello,

I am trying to mask a password field saved as a variant.

I have been unable to find any post showing how to prevent a user from viewing the password stored within the variant.

Other posts suggest hiding the field. I tried that but it still appears in SM37 > "maintain variant" > "display".

Other posts refer to this type of coding, but it does not affect the variant.

parameters: p_user type sy-uname,
            p_passwd(10).
 
 
    at selection-screen output.
 
    loop at screen.
    if screen-name = 'P_PASSWD'.
    screen-invisible = 1.
    modify screen.
    endif.
    endloop.

Is there a way to mask the variant?

Thanks,

Matt