10-05-2007 2:21 PM
how do we enable user input values with out using Parameters and Select Options ?
10-05-2007 2:35 PM
Using In radio buttons and check boxs.
Eg:-
Radiobuttons are treated as a group. So we need more than one in your group, whereas your requirement seems to be 1:1. So if the blocks have two radiobutton of different groups, once the radiobutton is selected it can never be un-selected. In this case itz better to go for Checkboxes. Please check on the requirement.
Below code might give you some idea on the same:
selection-screen begin of block blk1 with frame.
parameters: p_chk1 as checkbox user-command ABC.
selection-screen end of block blk1.
selection-screen begin of block blk2 with frame.
parameters: p_chk2 as checkbox.
selection-screen end of block blk2.
at selection-screen output.
loop at screen.
check screen-name = 'P_CHK2'.
if p_chk1 is initial.
screen-active = 0.
else.
screen-active = 1.
endif.
modify screen.
endloop.
Please give me reward points
Thanks
Murali Poli
10-05-2007 2:24 PM
10-05-2007 2:35 PM
Using In radio buttons and check boxs.
Eg:-
Radiobuttons are treated as a group. So we need more than one in your group, whereas your requirement seems to be 1:1. So if the blocks have two radiobutton of different groups, once the radiobutton is selected it can never be un-selected. In this case itz better to go for Checkboxes. Please check on the requirement.
Below code might give you some idea on the same:
selection-screen begin of block blk1 with frame.
parameters: p_chk1 as checkbox user-command ABC.
selection-screen end of block blk1.
selection-screen begin of block blk2 with frame.
parameters: p_chk2 as checkbox.
selection-screen end of block blk2.
at selection-screen output.
loop at screen.
check screen-name = 'P_CHK2'.
if p_chk1 is initial.
screen-active = 0.
else.
screen-active = 1.
endif.
modify screen.
endloop.
Please give me reward points
Thanks
Murali Poli
10-05-2007 2:52 PM