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

Regarding radiobutton text

Former Member
0 Likes
841

hi

can any body make me know how to put text on the right hand side of the radio button.

thanks in advance.

prasad

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
807

I suppose you are asking about SELECTION-SCREEN, use a code like

SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS p-anla RADIOBUTTON GROUP niv USER-COMMAND niv.
SELECTION-SCREEN COMMENT 33(20) text-001 FOR FIELD p-anla.
SELECTION-SCREEN END OF LINE.

Regards

hi

can any body make me know how to put text on the right hand side of the radio button.

thanks in advance.

prasad

5 REPLIES 5
Read only

RaymondGiuseppi
Active Contributor
0 Likes
808

I suppose you are asking about SELECTION-SCREEN, use a code like

SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS p-anla RADIOBUTTON GROUP niv USER-COMMAND niv.
SELECTION-SCREEN COMMENT 33(20) text-001 FOR FIELD p-anla.
SELECTION-SCREEN END OF LINE.

Regards

Read only

Former Member
0 Likes
807

HI,

Check this Code ..

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(31) text-s04.

PARAMETERS: p_check TYPE pp0c-test DEFAULT 'X' RADIOBUTTON GROUP grp1.

SELECTION-SCREEN COMMENT 38(15) text-s05.

SELECTION-SCREEN COMMENT 1(31) text-s03.

PARAMETERS: p_check2 TYPE pp0c-test RADIOBUTTON GROUP grp1.

SELECTION-SCREEN COMMENT 38(15) text-s02.

SELECTION-SCREEN END OF LINE.

Read only

Former Member
0 Likes
807

Hi Prasad,

Try the following code:

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

SELECTION-SCREEN SKIP.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: r1 RADIOBUTTON GROUP g1 USER-COMMAND ucomm DEFAULT 'X'.

SELECTION-SCREEN COMMENT 3(17) text-002 FOR FIELD r1.

SELECTION-SCREEN POSITION 32.

PARAMETERS: r2 RADIOBUTTON GROUP g1 .

SELECTION-SCREEN COMMENT 34(17) text-003 FOR FIELD r2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN SKIP.

SELECTION-SCREEN END OF BLOCK b1.

Hope this will help.

Regards,

Nitin.

Read only

Former Member
0 Likes
807

Hi,

Please specify whether you are using screen painter or SELECTION SCREEN

if you are using screen painter you can enter the text in the corresponding text input field

regards

Ramchander Rao.K

Read only

Former Member
0 Likes
807

Hi, Check this code snippet.

SELECTION-SCREEN BEGIN OF BLOCK b01.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS:

par01 RADIOBUTTON GROUP r01.

SELECTION-SCREEN COMMENT 10(30) text-p01.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS:

par02 RADIOBUTTON GROUP r01.

SELECTION-SCREEN COMMENT 10(30) text-p02.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b01.

P.S. You need to create the text by double clicking on text-p01 and text-p02 and put the text you want to display on the right side of your radio button. Hope you understand. Let me know if there is any issue.

Thanks

NK