2005 Dec 10 4:14 PM
I am working on a report and have 3 checkboxes on the selection screen.
P_CKBX1
P_CKBX2
P_CKBX3
IF none of them are checked then I must exit and give an error message. Now the user can select one or more checkboxes. Hence the reason for checkboxes instead of radio buttons.
Just need an idea on how I can proceed with it.
Regards
2005 Dec 10 4:18 PM
Ok, check this code.
report zrich_0001
no standard page heading.
parameters: p_chk1 as checkbox,
p_chk2 as checkbox,
p_chk3 as checkbox.
at selection-screen.
if p_chk1 is initial
and p_chk2 is initial
and p_chk3 is initial.
message e001(00) with 'Select as least one'.
endif.
REgards,
Rich Heilman
2005 Dec 10 4:18 PM
2005 Dec 10 4:51 PM
2005 Dec 10 4:18 PM
I hope you have already delecred . In the at selection screen ouput check
if p_ckbx1 <> 'X' or p_ckbx2 <> 'X' or p_ckbx3 <> 'X'.
message E(000)....
endif.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |