01-30-2008 7:57 AM
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
01-30-2008 8:12 AM
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
01-30-2008 8:27 AM
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
01-30-2008 8:36 AM
Pole,
Hope you havent missed my reply as we both posted at the same time...:)
~Eswar
01-30-2008 8:27 AM
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
01-30-2008 9:40 AM
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
01-30-2008 9:50 AM
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