2006 Aug 17 11:33 AM
2006 Aug 17 11:48 AM
Hi,
Using the code given below, the password will be masked in the selection screen.
parameters: p_user type sy-uname,
p_passwd(10) lower case.
at selection-screen output.
loop at screen.
if screen-name = 'P_PASSWD'.
screen-invisible = 1.
modify screen.
endif.
endloop.
START-OF-SELECTION.
WRITE : / 'Password Entered :' , p_passwd.
Hope this helps.
hi,
how to create a password field in a selection screen.
2006 Aug 17 11:37 AM
REPORT ZTEST_ALV_CHECK MESSAGE-ID ZZ .
PARAMETERS : P_PASS(6).
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'P_PASS'.
SCREEN-INVISIBLE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
2006 Aug 17 11:38 AM
2006 Aug 17 11:38 AM
2006 Aug 17 11:39 AM
Hi,
Navigate to SCREEN PAINTER and click on the field PASSWORD --- you`ll get the attributes / properties screen, in the display properties check 'INVISIBLE'. Then whatever you type in the PASSWORD field, it`ll appear as *****.
Try it, once u find success reward me the points.
Regards
2006 Aug 17 11:39 AM
2006 Aug 17 11:40 AM
Hello Ronie,
U can do using the following code.
LOOP AT SCREEN.
IF SCREEN-NAME = 'P_PWD'.
SCREEN-INVISIBLE = '1'.
Modify screen.
ENDLOOP.
If helps reward.
Vasanth
2006 Aug 17 11:40 AM
2006 Aug 17 11:41 AM
Hi,
Check the sample code.
REPORT ZTEST_LOGIN .
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.Regards
vijay
2006 Aug 17 11:43 AM
REPORT ZTESTH .
tables: mara.
PARAMETER: a TYPE I.
at selection-screen OUTPUT.
loop at screen.
if screen-name = 'A'.
screen-invisible = 1.
modify screen.
endif.
endloop.
START-OF-SELECTION.
WRITE A.
EXECUTE ABOVE REPORT AND CHECK.
2006 Aug 17 11:48 AM
Hi,
Using the code given below, the password will be masked in the selection screen.
parameters: p_user type sy-uname,
p_passwd(10) lower case.
at selection-screen output.
loop at screen.
if screen-name = 'P_PASSWD'.
screen-invisible = 1.
modify screen.
endif.
endloop.
START-OF-SELECTION.
WRITE : / 'Password Entered :' , p_passwd.
Hope this helps.
2006 Aug 17 12:06 PM
Hi Ronie,
Is there anything wrong with all the other codes
Can you answer my question so that i can correct it next time?????
Message was edited by: Chandrasekhar Jagarlamudi
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |