‎2008 Feb 13 5:38 PM
Hello,
can i get a parameters non editable. I need that this parameters should be non editable once the users has choosen an option.
Thanks.
‎2008 Feb 13 5:42 PM
Yes, you can change the screen attributes in the PBO.
parameters: p_rad1 radiobutton group gp1 user-command chk.
parameters: p_rad2 radiobutton group gp1.
parameters: p_field(5) type c.
at selection-screen output.
if p_rad2 = 'X'.
loop at screen.
if screen-name = 'P_FIELD'.
screen-input = '0'.
modify screen.
endif.
endloop.
endif.
start-of-selection.
Regards,
Rich Heilman
‎2008 Feb 13 5:48 PM
Hi,
You can use below code :
PARAMETER : text(100) type c DEFAULT 'SRIRAM' MODIF ID SP1.
*WRITE TEXT.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'SP1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Thanks,
Sriram Ponna.