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: 

Position 2 radio buttons in selection screen in one line.

Former Member
0 Kudos

I want to display radiobuttons of one group in one line.

How can i do that.

Presently they are displayed 1 below other.

4 REPLIES 4

Former Member
0 Kudos

HI,

write like this.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS:WIP_ONLY RADIOBUTTON GROUP RAD1.

SELECTION-SCREEN COMMENT 2(15) WIP FOR FIELD WIP_ONLY.

PARAMETERS:HIS_ONLY RADIOBUTTON GROUP RAD1 default 'X'.

SELECTION-SCREEN COMMENT 20(15) HIS FOR FIELD HIS_ONLY.

PARAMETERS:BOTH RADIOBUTTON GROUP RAD1.

SELECTION-SCREEN COMMENT 40(15) WIP_HIS FOR FIELD BOTH.

SELECTION-SCREEN END OF LINE.

at selection-screen output.

WIP = 'Work-in-Process Only'.

HIS = 'History Only'.

WIP_HIS = 'Both WIP & HIS'.

<b>reward if helpful</b>

rgds,

bharat.

Former Member
0 Kudos

Hi

use

SELECTION-SCREEN BEGIN OF LINE.

declare u r radio buttons here..........

SELECTION-SCREEN END OF LINE.

reward points to all helpful answers

kiran.M

former_member434229
Active Participant
0 Kudos

Check this code.

SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 2.

PARAMETERS : p_vaxe RADIOBUTTON GROUP r1.

SELECTION-SCREEN COMMENT 4(40) text-003.

SELECTION-SCREEN POSITION 50.

PARAMETERS : p_vaxem RADIOBUTTON GROUP r1.

SELECTION-SCREEN COMMENT 52(50) text-004.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b2.

Former Member
0 Kudos

hi satyanarayan,

you make use of the variation BEGIN OF LINE for SELECTION-SCREEN.

i.e,

SELECTION-SCREEN BEGIN OF LINE.

< your definition of radio buttons >

SELECTION-SCREEN END OF LINE.

<b>Reward points if this helps,</b>

Kiran