11-15-2007 9:26 PM
Dear All,
I hope u understund my question.
I wanted to create a multiple check box groups.
Eg :: data : Home as Checkbox, Apprt as checkbox.
second group
data : bike as Checkbox, car as Checkbox.
Regards
madhu
11-15-2007 9:32 PM
Check box groups like this:
parameters: p_home as checkbox,
p_apt as checkbox.
selection-screen: skip 1.
parameters: p_bcy as checkbox,
p_car as checkbox.
If you are going to select only one from Home and Aparmtnet
then radiobutton is the best choice.
parameters: p_home radiobutton group rd1,
p_apt radiobutton group rd1.
selection-screen: skip 1.
parameters: p_bcy radiobutton group rd2,
p_car radiobutton group rd2.
Regards,
Naimesh Patel
11-15-2007 9:30 PM
Hi Madhu,
You can not group checkbox, use radio buttons and group them.
Satish
11-15-2007 9:40 PM
Hi Satish / Patel,
Thanks for your replies.
I know that through radio buttons we can group but can select only one in group.
My requirement is that user can select more than one from each group. I wonder is there any option to group these check boxes. As if I group them coding will be easy for further processing.
I know that this requirement can be achived with java, where we have same name for checkboxes in one group but will have different titles.
Thank you.
Regards
madhu
11-15-2007 9:43 PM
Something like this:
REPORT ztest LINE-SIZE 80 MESSAGE-ID 00.
SELECTION-SCREEN BEGIN OF BLOCK place WITH FRAME TITLE place.
PARAMETERS: p_home AS CHECKBOX,
p_aprt AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK place.
SELECTION-SCREEN BEGIN OF BLOCK trans WITH FRAME TITLE trans.
PARAMETERS: p_bike AS CHECKBOX,
p_car AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK trans.
Rob
11-15-2007 9:32 PM
Check box groups like this:
parameters: p_home as checkbox,
p_apt as checkbox.
selection-screen: skip 1.
parameters: p_bcy as checkbox,
p_car as checkbox.
If you are going to select only one from Home and Aparmtnet
then radiobutton is the best choice.
parameters: p_home radiobutton group rd1,
p_apt radiobutton group rd1.
selection-screen: skip 1.
parameters: p_bcy radiobutton group rd2,
p_car radiobutton group rd2.
Regards,
Naimesh Patel
11-16-2007 12:49 AM
Hi
I am not sure bbut you can try this also if you want checkboxes ,
Now when you select p_home, write at selection screen on p_home event
where you disable p_apt
Do same when p_apt is selected .
Similarly do this for p_bcy and p_car ..
parameters: p_home as checkbox,
p_apt as checkbox.
parameters: p_bcy as checkbox,
p_car as checkbox.
Hope i am clear and it helps .
Praveen