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: 

Password fields(mask in ******) in selection screen show in variant

Former Member
0 Kudos

Hi guys,

In my develped report program, I mask a password field as *****,but if I save the selection-sceen input as variant, when I display the variant, the content of password field will be shown,any way to mask it in variant? thanks!

Best regards,

Pole

6 REPLIES 6

andreas_mann3
Active Contributor
0 Kudos

hi,

try sth lik this:

parameters PWD(64) TYPE C  lower case modif id 1.

...

at selection-screen output.

loop at screen.

if screen-group1 = 1.

screen-invisible = 1.

modify screen.

endif.

endloop.

greetings

Andreas

0 Kudos

Hi, Andreas,

Thanks for your reply,

I have done that in my program,but it can only mask the field in the standard program selection-screen, not work in menu goto->variants->display.

Regards

Pole

0 Kudos

Pole,

Hope you havent missed my reply as we both posted at the same time...:)

~Eswar

Former Member
0 Kudos

Hi,

One option to do is, when you save a variant select check box for 'HIDE FIELD' in the field attributes section.

This will not let to view the contents of the parameter.

Disadvantage of this option is when you select the variant the parameter will act as NO-DISPLAY field.

For execution without variant it acts as normal.

Rest assured your value will be protected.

Regards

Eswar

0 Kudos

Hi, Eswar ,

Thanks for your reply.

Your method can hide the field in selection-screen,but can not

hide it in menu Goto->Variants->Display, in the Display menu(not the report selection screen),if I click the variant,all content will be show.

Regards

Pole

0 Kudos

It's interesting, when i tried earlier the hidden parameter was not visible in Variants neither in change mode nor in display mode.

Am not sure if we both are following same method.

Regards

Eswar