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: 

selection text on right of the radiobutton

Former Member
1,060

Hi ABAPers,

I am creating a selection screen with radiobuttons. Usually when we use selection text for selection-screen elements/titles. The text always displays at the left of the radiobutton but my requirement is to show it on the right of the radiobutton. Please help asap.

Thanks in advance.

Ritu

1 ACCEPTED SOLUTION

Former Member
219

selection-screen begin of line.

PARAMETERS: p_r1 RADIOBUTTON GROUP grp1.

selection-screen comment 3(10) text-002.

PARAMETERS: p_r2 RADIOBUTTON GROUP grp1.

selection-screen comment 19(10) text-002.

selection-screen end of line.

4 REPLIES 4

Former Member
220

selection-screen begin of line.

PARAMETERS: p_r1 RADIOBUTTON GROUP grp1.

selection-screen comment 3(10) text-002.

PARAMETERS: p_r2 RADIOBUTTON GROUP grp1.

selection-screen comment 19(10) text-002.

selection-screen end of line.

Former Member
219

Hi,

Pls check the code:-

SELECTION-SCREEN BEGIN OF BLOCK blk3 WITH FRAME TITLE text-003.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETER: p_allprg TYPE c RADIOBUTTON GROUP grp2 MODIF ID prg.

SELECTION-SCREEN COMMENT 12(25) text-007 FOR FIELD p_allprgMODIF ID prg.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETER: p_prog TYPE c RADIOBUTTON GROUP grp2 MODIF ID prg.

SELECTION-SCREEN COMMENT 12(20) text-008 FOR FIELD p_prog MODIF ID prg.

PARAMETER: p_prg TYPE rs38m-programm MODIF ID prg.

SELECTION-SCREEN END OF LINE.

Regards,

Shiva Kumar

Former Member
0 Kudos
219

Hi ritu chaudhary ,

try this sample code .

Create the text elements u will definetely gets the output.

Block starts

selection-screen : begin of block blk3 with frame title text-008.

selection-screen: begin of line.

parameters: p_g1 radiobutton group rb1 .

selection-screen: comment 3(15) text-009 .

parameters: p_g2 radiobutton group rb1.

selection-screen: comment 21(10) text-010 .

parameters: p_g3 radiobutton group rb1.

selection-screen: comment 34(10) text-011.

selection-screen: end of line.

selection-screen : end of block blk3.

Block ends

Plz rewards points if helpful,

Ganesh.

Former Member
0 Kudos
219

Hi,

selection-screen begin of line.

PARAMETERS: p_r1 RADIOBUTTON GROUP grp1.

selection-screen comment 4(10) comm1.

selection-screen end of line.

selection-screen begin of line.

PARAMETERS: p_r2 RADIOBUTTON GROUP grp1.

selection-screen comment 4(10) comm2.

selection-screen end of line.

initialization.

comm1 = 'Radio1'.

comm2 = 'Radio2'.