‎2007 Aug 11 2:12 PM
now iam learning abap plz explain me about radio buttons & checkbox with example.
‎2007 Aug 11 2:50 PM
Hi,
For radiobutton you can select only one option at a time.
For check box you can select many at a time. So this is the main difference between these two.
Reward if helpful.
‎2007 Aug 11 4:04 PM
hi,
For radio buttons .. here is the code
selection-screen begin of block group with frame title text-s04.
parameters: p_sel1 type c radiobutton group sel user-command upd.
parameters: p_sel2 type c radiobutton group sel.
parameters: p_sel3 type c radiobutton group sel.
selection-screen end of block group
Check boxes on the selection screen
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.
Thanks
Mahesh
‎2007 Aug 11 4:05 PM
Hi,
Check the documentation of PARAMETERS keyword in the transaction ABAPDOCU or just do F1 on this keyword in any program.
Regards,
Sesh