Application Development and Automation 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: 
Read only

abap

Former Member
0 Likes
587

now iam learning abap plz explain me about radio buttons & checkbox with example.

3 REPLIES 3
Read only

Former Member
0 Likes
570

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.

Read only

Former Member
0 Likes
570

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

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
570

Hi,

Check the documentation of PARAMETERS keyword in the transaction ABAPDOCU or just do F1 on this keyword in any program.

Regards,

Sesh