2007 Apr 16 10:10 AM
Hi Folks,
I want when the user enters some name in the field UNAME it should be shown as ******.
I am doing like the below but not working.
LOOP AT SCREEN.
IF SCREEN-NAME = 'UNAME'.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
K.Kiran.
2007 Apr 16 10:14 AM
Hi,
have you put your code in the AT SELECTION-SCREEN OUTPUT event?
Kostas
Hi,
have you put your code in the AT SELECTION-SCREEN OUTPUT event?
Kostas
2007 Apr 16 10:13 AM
hi,
assign a modif-id 'md1'to the screen field 'UNAME' and use
SCREEN-GROUP1 eq 'md1' in place of SCREEN-NAME eq 'UNAME'.
u have to write this code in AT SELECTION-SCREEN OUTPUT event
2007 Apr 16 10:16 AM
Hi Sankar,
It is saying NOT A VALID USER NAME AND NOT DISPLAYING THE SELECTION TEXTS TOO BY ABRUPTLY EXITING FROM THE PROG.
KIRAN.
2007 Apr 16 10:13 AM
try this
LOOP AT SCREEN.
IF SCREEN-NAME = 'UNAME'.
SCREEN-INVISIBLE = '1'. "<-----------------1 in quotes
MODIFY SCREEN.
ENDIF.
ENDLOOP.
2007 Apr 16 10:14 AM
hi Kiran,
AT SELCTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'UNAME'.
SCREEN-INVISIBLE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.Regards,
Santosh
2007 Apr 16 10:14 AM
Hi,
have you put your code in the AT SELECTION-SCREEN OUTPUT event?
Kostas
2007 Apr 16 10:18 AM
Hi,
Try this:
If you are using screen then go to layout --- double click field name -- ATTRIBUTES -- program -- chk this box "* entry "
Hope this will help you
2007 Apr 16 10:18 AM
Hi,
DO u want the field to be invisible or value should be ******
for invisible,
at selection-screen on outout.
LOOP AT SCREEN.
IF SCREEN-NAME = 'UNAME'.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
or converting into ****
LOOP AT SCREEN.
IF SCREEN-NAME = 'UNAME'.
SCREEN-value = '******'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Hope it helps.
Regards,
Sonika
2007 Apr 16 10:27 AM
2007 Apr 16 10:30 AM
post ur code so that its easy to understand
chk this
REPORT YCHATEST.
PARAMETERS : UNAME LIKE SY-UNAME.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'UNAME'.
SCREEN-INVISIBLE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
2007 Apr 16 10:37 AM
hi,
I am trying the following code but in vain.kindly help me.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'UNAME'.
SCREEN-INVISIBLE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
kiran.
2007 Apr 16 10:40 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |