‎2007 Feb 09 12:09 PM
‎2007 Feb 09 12:13 PM
HI ,
ITS SIMPLE
U HAVE FOUR POSSIBLE THINGS ON A SCREEN FIELD:-- <b>ACTIVE, INPUT, OUTPUT, and INVISIBLE,</b>
SET THEM AS FOLLOWS
ACTIVE = '1'.
INPUT = '1'.
OUTPUT = '0'.
INVISIBLE = '1'.
SET THESE ATTRIBUTES DYNAMICALLY
CHEERS!
‎2007 Feb 09 12:13 PM
Password Field on Selection-screen
The following code sets a PARAMETER to be a password input field, where for security
purposes only *'s are displayed on the screen during input
i.e. Password: *******
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.
‎2007 Feb 09 12:13 PM
Hi,
You need to write this in LOOP AT SCREEN .
In the PBO of that Screen, write the satement LOOP AT SCREEN and ENDLOOP.
loop at screen.
if screen-name = 'text box name'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
Regards
Sudheer
‎2007 Feb 09 12:14 PM
Hello,
Trsy this.
parameters: p_pass type indxpwd.
at selection-screen output.
loop at screen.
if screen-name = 'P_PASS'.
<b> screen-invisible = '1'.</b>
modify screen.
endif.
endloop.
start-of-selection.
write:/ p_pass.
Vasanth
‎2007 Feb 09 12:16 PM
Hi Chaya,
Use this pop up function POPUP_GET_USER_PASSWORD.
Pretty decent
Regards,
Aditya
‎2007 Feb 09 12:24 PM
execute the code .
This is in a report .
parameters : p_name(10) type c modif id abc.
at selection-screen output.
loop at screen.
if screen-group1 = 'ABC'.
screen-invisible = '1'.
modify screen.
endif.
endloop.<b>in dialog program assign a screen group for that field in field attributes
there will be four screen groups avaliable for each field .
here assign it as ABC
now in the PBO
write the code as</b>
loop at screen.
if screen-group1 = 'ABC'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
this will do.
regards,
vijay