01-15-2009 9:17 AM
Hi All,
I need to disable the parameter depends on the check box selected.
I cannot use select-options.
Please help me out.
Thank u,
Rohith
Don't ask basic questions, search the forum for the answers
Edited by: Vijay Babu Dudla on Jan 15, 2009 4:28 AM
01-15-2009 9:19 AM
why don't you search SCN? This was aksed and aswered n times already...
01-15-2009 9:23 AM
Hi,
You can use the below code.
PARAMETERS : P_TEST AS CHECKBOX DEFAULT 'X'.
PARAMETERS: P_ANLAGE type ever-anlage.
At selection-screen output.
IF P_TEST = 'X'.
Loop at screen.
IF screen-name = 'P_ANLAGE'.
Screen-input = 0.
Modify screen.
ENDIF.
ENDLOOP.
ENDIF.
Hope this may be helpful.
Regards,
Sravanthi
01-15-2009 9:23 AM
hI,
Before asking questions search our SCN for the similar kind of question.
Hope the following code will help u.
selection-screen begin of block input with frame title text-000.
parameters :desktop radiobutton group rg_f user-command rg_f,
in_file type ibipparms-path modif id ps,
menu radiobutton group rg_f,
sys_file type ibipparms-path modif id as default '/sapia/iface/in/comm/sapfin/' .
selection-screen end of block input.
loop at screen.
if screen-group1 = 'PS'.
if desktop = c_x.
screen-input = 1.
sys_file = c_server_path.
else.
screen-input = 0.
endif.
endif.
if screen-group1 = 'AS'.
if menu = c_x.
screen-input = 1.
clear: in_file.
else.
screen-input = 0.
endif.
endif.
modify screen.
endloop.
Thanks.