Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter disabling

rohit_kaikala
Participant
0 Kudos

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

3 REPLIES 3

JozsefSzikszai
Active Contributor
0 Kudos

why don't you search SCN? This was aksed and aswered n times already...

Former Member
0 Kudos

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

Former Member
0 Kudos

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.