2007 Mar 22 6:59 AM
Hi,
can anyone help me with creating a password field in which the entry looks like *******
thanks
2007 Mar 22 7:04 AM
hi,
While creating a text field in screen painter, in the properties where you specify field name, type etc there is a checkbox named as Invisible tick on that and the field will display only astricks.
2007 Mar 22 6:10 PM
If you want that to happen on the selection-screen then just follow this:
In the screen internal table, follow the combination of 'ACTIVE', 'INPUT', 'OUTPUT' and 'INVISIBLE' as '1101' or '1111'.
You should be able to get asteriks using above combinations.
Be careful in programming them. i.e, assign them values in the 'AT SELECTION-SCREEN OUTPUT' event.
Reward points if helpful
Regards
2007 Mar 23 10:03 AM
HI,
In SE51 while u r creatin input/ouput box in the screen,on pessing f2 on the element, in attribures tab, u have a option called display, in that mark the checkbox for Invisible.
Now, watever u type in this field, it will appear as ****
2007 Mar 27 5:34 AM
2007 Mar 27 5:56 AM
Hi Manish.....
Try the following code.....
it helps you a lot.......
PARAMETERS :
USERNAME(10) TYPE C,
PASSWORD(10) TYPE C.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'PASSWORD'.
SCREEN-INVISIBLE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
START-OF-SELECTION.
WRITE: 'User name is : ' , USERNAME,
/'Password is : ', PASSWORD.
if u want any explanation see :
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/dbab6235c111d1829f0000e829fbfe/frameset.htm
Reward points if useful.......
Suresh......