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

Radio button

Former Member
0 Likes
704

Hi all,

when i display the radio button it is displaying

left side but my requirment is i what to display it in

right side . Is it possible to display right side ? plzz help me..

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
684

Hi Satish,

Just copy the following code and past it. In this radiobuttons are displayed in the left and also right sides...

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.

PARAMETERS: r1 RADIOBUTTON GROUP rad1 DEFAULT 'X',

r2 RADIOBUTTON GROUP rad1,

r3 RADIOBUTTON GROUP rad1.

SELECTION-SCREEN END OF BLOCK b1.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(15) name1.

PARAMETERS: r4 RADIOBUTTON GROUP rad2 DEFAULT 'X'.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(15) name2.

PARAMETERS: r5 RADIOBUTTON GROUP rad2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(15) name3.

PARAMETERS: r6 RADIOBUTTON GROUP rad2 .

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b2.

INITIALIZATION.

name1 = 'First'.

name2 = 'Second'.

name3 = 'Third'.

Plzz reward if it is useful,

Mahi.

7 REPLIES 7
Read only

Former Member
0 Likes
684

Hi Satish,

Yes it is absolutely possible. There is two methods to display like that

1. Change the settings

2. you can write the RADIOBUTTON in between selection-screen begin of line and selection-screen end of line ( Press F1 for help ) and you can write the comment by using SELECTION-SCREEN COMMENT syntax.

Plzz reward if it is useful,

Mahi.

Read only

0 Likes
684

Just wait i need to check it

Read only

0 Likes
684

Hi Maheswari,

I wrote the code based on your Suggestion

but it is going to dump please send me the code if it

is possible.

i will definitely reward for useful answer.

Read only

Former Member
0 Likes
684

SELECTION-SCREEN BEGIN OF BLOCK out WITH FRAME TITLE text-s01.

selection-screen begin of line.

selection-screen comment 4(15) text-010 for field p_type.

parameters: p_type radiobutton group grp1.

selection-screen end of line.

SELECTION-SCREEN END OF BLOCK out.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
684

Try this

>REPORT ZBUTONDEMO.

>PARAMETERS: p-r1 RADIOBUTTON GROUP imp DEFAULT 'X'.

>SELECTION-SCREEN BEGIN OF LINE.

>SELECTION-SCREEN POSITION POS_HIGH.

>SELECTION-SCREEN COMMENT (20) text-001 FOR FIELD p-r2.

>PARAMETERS p-r2 RADIOBUTTON GROUP imp.

>SELECTION-SCREEN END OF LINE.

Regards

Read only

Former Member
0 Likes
685

Hi Satish,

Just copy the following code and past it. In this radiobuttons are displayed in the left and also right sides...

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.

PARAMETERS: r1 RADIOBUTTON GROUP rad1 DEFAULT 'X',

r2 RADIOBUTTON GROUP rad1,

r3 RADIOBUTTON GROUP rad1.

SELECTION-SCREEN END OF BLOCK b1.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(15) name1.

PARAMETERS: r4 RADIOBUTTON GROUP rad2 DEFAULT 'X'.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(15) name2.

PARAMETERS: r5 RADIOBUTTON GROUP rad2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(15) name3.

PARAMETERS: r6 RADIOBUTTON GROUP rad2 .

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b2.

INITIALIZATION.

name1 = 'First'.

name2 = 'Second'.

name3 = 'Third'.

Plzz reward if it is useful,

Mahi.

Read only

Former Member
0 Likes
684

Thanks all my problem is solved....