03-24-2006 3:07 AM
Hi,
How can I create a field which displays similar to the
password field with the input hidden.
Regards,
Kishan
03-24-2006 3:09 AM
Hi Kishan,
You can do it by setting the invible property.
Try this code:
PARAMETERS pass(12) MODIF ID mod.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'MOD'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards,
Wenceslaus.
03-24-2006 3:09 AM
Hi Kishan,
You can do it by setting the invible property.
Try this code:
PARAMETERS pass(12) MODIF ID mod.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'MOD'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards,
Wenceslaus.
03-24-2006 4:56 AM
Hi
Yes you can create a filed like that,but can you give me some brief about your requirement.
I mean in which context you want a such kind of field.I hope i can give me more idea after that.
Thanks
Mrutyunjaya Tripathy
03-24-2006 5:02 AM
Hi,
Another code:
Parameters: p_password like sy-uname.
*******************************************************
*AT SELECTION-SCREEN OUTPUT.
AT SELECTION-SCREEN OUTPUT.
loop at screen.
check screen-name eq 'P_PASSWORD'.
move: 1 to screen-invisible.
modify screen.
endloop.
Regards,
Anjali