cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Radio button Text

Former Member
0 Kudos

Hi

I created a report.

I have defined a parameter which had 2 radio buttons grouped together,

i want the label text to the right side of the radio button.

Both the radio button are on screen 1000.

I even tried to the changes in screen 1000, but it gives me error.

can anyone give me a solution for this,

Best Regards

Vinay.BR

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vinay.

Just a little example to help you:

SELECTION-SCREEN BEGIN OF BLOCK b01.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS:

pa_par01 RADIOBUTTON GROUP r01.

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

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS:

pa_par02 RADIOBUTTON GROUP r01.

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

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b01.

Regards,

John.

Former Member
0 Kudos

It solved my problem

Thanks & Regards

Vinay

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vinay,

The following code will ghelp you achieve the requirement.

======================================================

selection-screen begin of line.

parameters p_radio1 radiobutton group r1.

selection-screen comment 5(15) text-001 for field p_radio1.

selection-screen end of line.

selection-screen begin of line.

parameters p_radio2 radiobutton group r1.

selection-screen comment 5(15) text-002 for field p_radio2.

selection-screen end of line.

======================================================

Please refer to the ABAP help documentation for the explanation of the syntax.

Regards,

Anand Mandalika.

athavanraja
Active Contributor
0 Kudos

You need to use

<i><b>SELECTION-SCREEN COMMENT</b></i>

check the help on this.

Regards

Raja