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

Radiobuttons in a single line

Former Member
0 Likes
1,188

Hi,

I have created 3 radiobuttons. I need these 3 radiobuttons to be displayed in a single line of a report program.

Ex: RB1 RB2 RB3

Please help.

Thanks,

Pranil

1 ACCEPTED SOLUTION
Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
1,112

try like this

SELECTION-SCREEN begin of line.
  SELECTION-SCREEN COMMENT 1(15) text-rg1.
  parameters: rb1 RADIOBUTTON GROUP rg1.
  SELECTION-SCREEN COMMENT 25(15) text-rg2.
  PARAMETERS: rb2 RADIOBUTTON GROUP rg1.
 SELECTION-SCREEN COMMENT 50(15) text-rg2.
  PARAMETERS: rb3 RADIOBUTTON GROUP rg1.
SELECTION-SCREEN end of LINE.

Regards

Hi,

I have created 3 radiobuttons. I need these 3 radiobuttons to be displayed in a single line of a report program.

Ex: RB1 RB2 RB3

Please help.

Thanks,

Pranil

4 REPLIES 4
Read only

Former Member
0 Likes
1,112

Hi,

Before displaying the radio buttons use the statement

Selection-screen begin of line.

Then write your radiobutton statements and then write :

Selection-screen end of line.

Regards,

Pramod

Edited by: Pramod Manjunath on Oct 6, 2008 11:32 AM

Read only

Former Member
0 Likes
1,112

Hi Pranil AP,

In SELECTION-SCREEN definition,

use BEGIN OF LINE...END OF LINE.

Within this, add RADIOBUTTONS and COMMENTS for them.

This ia the way to create buttons in a row.

Regards,

R.Nagarajan.

-


We can -


Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
1,113

try like this

SELECTION-SCREEN begin of line.
  SELECTION-SCREEN COMMENT 1(15) text-rg1.
  parameters: rb1 RADIOBUTTON GROUP rg1.
  SELECTION-SCREEN COMMENT 25(15) text-rg2.
  PARAMETERS: rb2 RADIOBUTTON GROUP rg1.
 SELECTION-SCREEN COMMENT 50(15) text-rg2.
  PARAMETERS: rb3 RADIOBUTTON GROUP rg1.
SELECTION-SCREEN end of LINE.

Regards

Read only

Former Member
0 Likes
1,112

Hi,

plz try this way:

SELECTION-SCREEN:BEGIN OF BLOCK b1 WITH FRAME TITLE text-010.

SELECTION-SCREEN SKIP 1.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: RB1 RADIOBUTTON group grp1 DEFAULT 'X'.

PARAMETERS: RB2 RADIOBUTTON GROUP grp1.

PARAMETERS: RB3 RADIOBUTTON GROUP grp1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b1.