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

three radiobutton on the same line

Former Member
0 Likes
585

hi to all ,

my requirement is that i have to provide 3 radiobuttons on single line

format should be comment then radiobutton

please help me out

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
551

Hi,

try like this sample code...

SELECTION-SCREEN BEGIN OF LINE.
selection-SCREEN COMMENT (10) text1.
PARAMETERS rb1 RADIOBUTTON GROUP rad.
selection-SCREEN COMMENT 15(10) text2.
PARAMETERS rb2 RADIOBUTTON GROUP rad.
selection-SCREEN COMMENT 30(10) text3.
PARAMETERS rb3 RADIOBUTTON GROUP rad.
SELECTION-SCREEN end OF LINE.

INITIALIZATION.
move: 'button 1' to text1,
      'button 2' to text2,
      'button 3' to text3.

Cheers,

jose.

hi to all ,

my requirement is that i have to provide 3 radiobuttons on single line

format should be comment then radiobutton

please help me out

2 REPLIES 2
Read only

Former Member
0 Likes
552

Hi,

try like this sample code...

SELECTION-SCREEN BEGIN OF LINE.
selection-SCREEN COMMENT (10) text1.
PARAMETERS rb1 RADIOBUTTON GROUP rad.
selection-SCREEN COMMENT 15(10) text2.
PARAMETERS rb2 RADIOBUTTON GROUP rad.
selection-SCREEN COMMENT 30(10) text3.
PARAMETERS rb3 RADIOBUTTON GROUP rad.
SELECTION-SCREEN end OF LINE.

INITIALIZATION.
move: 'button 1' to text1,
      'button 2' to text2,
      'button 3' to text3.

Cheers,

jose.

Read only

Former Member
0 Likes
551


SELECTION-SCREEN BEGIN OF BLOCK blk1.
SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: p1 RADIOBUTTON GROUP sel.
PARAMETERS p2 RADIOBUTTON GROUP sel.
PARAMETERS p3 RADIOBUTTON GROUP sel.

SELECTION-SCREEN end OF LINE.
SELECTION-SCREEN end OF BLOCK blk1.