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: 

radio button on selection screen

Former Member
0 Kudos

Dear Friends,

I need to display the radio button on selection screen, It is defferent then default,

I mean if we are going to display the radio button on selection screen by default it will print the Text first then radion button,

but I need to print the Radio button first then text.

Exp: RB1 TEST TEST.

here RB1 is my radio button.

how to do this?

thanks,

Sridhar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS p_selop1 RADIOBUTTON GROUP sel.

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

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS p_selop2 RADIOBUTTON GROUP sel.

SELECTION-SCREEN COMMENT 10(20) text-002.

SELECTION-SCREEN END OF LINE.

The formating of the comment (here 10(20)) means:

10 columns to the right, visible lenght 20 (has to match the lenght of your text-element).

Regards,

Michael

3 REPLIES 3

Former Member
0 Kudos

use

selection-screen comment

ex.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: p_r1 RADIOBUTTON GROUP rad1 MODIF ID blb.

SELECTION-SCREEN COMMENT 3(22) text-001 MODIF ID blb.

SELECTION-SCREEN END OF LINE.

don't give any text in (goto->text-elements->selection texts)

declare text element 001 in path (goto->text elements->text symbols)

Former Member
0 Kudos

Hi,

Do It like this.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(12) text-007.

PARAMETERS : r_rb1 RADIOBUTTON GROUP rad1.

SELECTION-SCREEN END OF LINE.

text-007 is whatever text u want to put.

Regards,

Azad.

Reward if helpful.

Former Member
0 Kudos

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS p_selop1 RADIOBUTTON GROUP sel.

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

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS p_selop2 RADIOBUTTON GROUP sel.

SELECTION-SCREEN COMMENT 10(20) text-002.

SELECTION-SCREEN END OF LINE.

The formating of the comment (here 10(20)) means:

10 columns to the right, visible lenght 20 (has to match the lenght of your text-element).

Regards,

Michael