Application Development 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: 

Radiobuttons in a single line

Former Member
0 Kudos

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

Mohamed_Mukhtar
Active Contributor
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

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 -


Mohamed_Mukhtar
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.