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: 

How can i get Radio buttons and parameters in a Single Straight Line

Former Member
0 Kudos

Hi Experts,

How can i get Radio buttons and parameters in a Single Straight Line...

Example:

r1 r2 p1 p2.....

Cheers,

Priya

Points granted.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Write the following code for the selection screen:

*----


  • DECLARATION OF PARAMETERS.

*----


SELECTION-SCREEN: BEGIN OF BLOCK select WITH FRAME TITLE text-001,

BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) FOR FIELD p_detail.

PARAMETERS p_detail RADIOBUTTON GROUP r1 DEFAULT 'X'.

SELECTION-SCREEN COMMENT 25(10) FOR FIELD p_summry.

PARAMETERS p_summry RADIOBUTTON GROUP r1.

SELECTION-SCREEN: END OF LINE,

END OF BLOCK select.

this will solve your poblem surly. reward the points if you find helpful

Regards,

Siddarth

6 REPLIES 6

Former Member
0 Kudos

try like below code

selection-screen begin of line.

parameters : rb_order radiobutton group rad2. "Order relevant billing

selection-screen comment 5(22) text-006 for field rb_order.

parameters : rb_deliv radiobutton group rad2. "Delivery relevant billing

selection-screen comment 25(25) text-007 for field rb_deliv.

selection-screen end of line.

Former Member
0 Kudos

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

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 2.

PARAMETERS: r1 RADIOBUTTON GROUP r.

SELECTION-SCREEN POSITION 25.

PARAMETERS: r2 RADIOBUTTON GROUP r.

SELECTION-SCREEN POSITION 45.

PARAMETERS: p1(5) type c.

SELECTION-SCREEN POSITION 65.

PARAMETERS: p2(5) type c.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b1.

u can define ur positions as u want

0 Kudos

Hi Expert,

Thanks for solving the problem..

Former Member
0 Kudos

Write the following code for the selection screen:

*----


  • DECLARATION OF PARAMETERS.

*----


SELECTION-SCREEN: BEGIN OF BLOCK select WITH FRAME TITLE text-001,

BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) FOR FIELD p_detail.

PARAMETERS p_detail RADIOBUTTON GROUP r1 DEFAULT 'X'.

SELECTION-SCREEN COMMENT 25(10) FOR FIELD p_summry.

PARAMETERS p_summry RADIOBUTTON GROUP r1.

SELECTION-SCREEN: END OF LINE,

END OF BLOCK select.

this will solve your poblem surly. reward the points if you find helpful

Regards,

Siddarth

Former Member
0 Kudos

Hi rajani;

as your problem is solved please close the thread.

regards,

Siddarth

0 Kudos

Hi Siddarth,

I'm new to this Forum....Pls help me to Close Thread....

Thanks,

Priya