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

Data element for radiobutton

Former Member
0 Likes
3,674

Hi all,

I want to declare a radio button in my tabel. Is there any dataelement like XFELD for check box even for radio button also. Please let me know if there is any dataelement or else how to declre a radio button.

thanks.

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,902

BKK_RADIO,JORADIO,RADIOB

There is search functionality in se11.

In option datatype just search for pattern 'radio', then search for data elements.

my name is already in use

So what is your actual name.

9 REPLIES 9
Read only

guilherme_frisoni
Contributor
0 Likes
1,902

Hi,

radiobutton is a CHAR length 1.

I can't get your point.

Regards,

Frisoni

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,903

BKK_RADIO,JORADIO,RADIOB

There is search functionality in se11.

In option datatype just search for pattern 'radio', then search for data elements.

my name is already in use

So what is your actual name.

Read only

0 Likes
1,902

Hi Keshav,

Thanks for your reply, but actually in SM 30 I am not able to see that as a radio button. It is being displayed as a check box only.

thanks.

Read only

0 Likes
1,902

Hi

Actually what u need to do is that when generating the table maintainence screens for your table go to the maintainence screen.Open the layout for the screen and on the field you want to create checkbox you have to do a right click and click on convert to checkbox.

Regards

Gaurav

Read only

0 Likes
1,902

Thank you very much Gaurav

Read only

Former Member
0 Likes
1,902

The data element's domain should always be a char 1 (XFELD, BOOLE_D and so on). In the gui you decide to display it as a radiobutton or checkbox.

Read only

0 Likes
1,902

Hi Maen,

Could you tell me whatwe need to do in GUI to show that as a radio button.

thanks.

Read only

0 Likes
1,902

Hi,

Open your screen layout in change mode. Click on radiobutton in left menu and click on table control where you want this column to appear. Give the screen field name etc....

Thanks,

Vinod.

Read only

Former Member
0 Likes
1,902

Hi ,

Please refer to below code :



Types : Begin of ty_data,
radiobutton(1),
vbeln type vbeln,
posrn type posnr,
end of ty_data.

Data : it_data type standard table of ty_data.

Hope this will help you.

Regards,

Nikhil