2007 Aug 02 5:56 AM
Hi friends,
I make one login screen like user id and password 2 fields are in that.
but in that password field i want to display * so how can i do this?
what can i do in that field in the sceen?
so plz give me reply.
thanks in advance.
2007 Aug 02 5:59 AM
Hi friends,
I make one login screen like user id and password 2 fields are in that.
but in that password field i want to display * so how can i do this?
what can i do in that field in the sceen?
so plz give me reply.
thanks in advance.
2007 Aug 02 5:58 AM
HI
<b>IN MODULE POOL</b>
in the PBO use the logic below
loop at screen.
if screen-name = 'PASS_FIELD'. Name of the field given on the screen.
screen-invisible = 'X'.
modify screen.
endif.
endloop.
<b>IN SELECTION SCREEN</b>
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.
hope it clears ur doubt
regards
ravish
<b>plz dont forget to reward points if useful</b>
2007 Aug 02 5:59 AM
2007 Aug 02 5:59 AM
Hi,
If it is a dialog program then goto the screen field's attributes in screen painter SE51 and mark that field as INVISIBLE.
Else write the code in PBO module
module init_screen OUTPUT.
LOOP AT SCREEN.
CHECK SCREEN-NAME = 'FIELD'.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
ENDLOOP.
ENDMODULE.
If it is in a report program with selection screen then use this code.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
CHECK SCREEN-NAME = 'FIELD'.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
ENDLOOP.
Regards,
Sesh
2007 Aug 02 6:02 AM
Hi Prashant ,
Go to the properties for the element on the screen for your password field , in the resulting window goto the Program Tab , there you will have a checkbox <b>* entry</b> check that checkbox , this will give you the desired output.
Regards
Arun
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |