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

Radiobutton side by side

Former Member
0 Likes
1,931

HI All,

In Selection Screen I need to show Radiobutton side by side to same group.Not one below other.

Thanks..

Singha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,048

Hi singha,

Refer following code, change parameters as radio buttons . You can use statement SELECTION-SCREEN POSITION.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) text-001.

PARAMETERS: p1(3) TYPE c, p2(5) TYPE c, p3(1) TYPE c.

SELECTION-SCREEN END OF LINE.

or

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION pos_high.

PARAMETERS field(5) TYPE c.

SELECTION-SCREEN END OF LINE.

Regards

Srikanth M

REPORT  Z_TEST.

SELECTION-SCREEN BEGIN OF BLOCK B1.

SELECTION-SCREEN : BEGIN OF LINE.
PARAMETERS  : rad1 RADIOBUTTON GROUP RAD,
              RAD2 RADIOBUTTON GROUP RAD.
SELECTION-SCREEN : END OF LINE.

SELECTION-SCREEN END OF BLOCK B1.
4 REPLIES 4
Read only

Former Member
0 Likes
1,048
REPORT  Z_TEST.

SELECTION-SCREEN BEGIN OF BLOCK B1.

SELECTION-SCREEN : BEGIN OF LINE.
PARAMETERS  : rad1 RADIOBUTTON GROUP RAD,
              RAD2 RADIOBUTTON GROUP RAD.
SELECTION-SCREEN : END OF LINE.

SELECTION-SCREEN END OF BLOCK B1.
Read only

Former Member
0 Likes
1,048

put the radiobuutons in between selection-screen begin of line,selection-screen end of line

Read only

Former Member
0 Likes
1,048

Hi singha,

1. simple

2. just copy paste

3.

report abc.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : A RADIOBUTTON GROUP G1.

SELECTION-SCREEN COMMENT (30) G FOR FIELD A.

PARAMETERS : B RADIOBUTTON GROUP G1.

SELECTION-SCREEN END OF LINE.

regards,

amit m.

Read only

Former Member
0 Likes
1,049

Hi singha,

Refer following code, change parameters as radio buttons . You can use statement SELECTION-SCREEN POSITION.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) text-001.

PARAMETERS: p1(3) TYPE c, p2(5) TYPE c, p3(1) TYPE c.

SELECTION-SCREEN END OF LINE.

or

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION pos_high.

PARAMETERS field(5) TYPE c.

SELECTION-SCREEN END OF LINE.

Regards

Srikanth M