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

Radio Button

Former Member
0 Likes
1,337

Hi all,

I had create dradio button in my program using the command:

Parameters:radio1 radiobutton group rg,

radio2 radiobutton group rg.

But i want the display text next to the radio button something like 'Show Report'. Currently it is showing RADIO1 & RADIO2.

Can anybody help me.

Thanks & Regards,

Vijith

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,296

go to se38.

Select the radio-button for text elements.

Go into selection tezts and give the appropriate texts.

Regards,

Ravi

16 REPLIES 16
Read only

Former Member
0 Likes
1,297

go to se38.

Select the radio-button for text elements.

Go into selection tezts and give the appropriate texts.

Regards,

Ravi

Read only

Former Member
0 Likes
1,296

Open your program,

GOTO --> Text Elements --> selection text.

Enter the text for your 2 radio buttons and save it and dont forget to activate it.

regards,

ram

Read only

Former Member
0 Likes
1,296

Hi,

U need to do this in selection texts.

In SE30, in menu, GOTO->TEXT ELEMENTS->SELECTION TEXTS

and define ur text for radio buttons.

Sreedhar

Read only

Former Member
0 Likes
1,296

Hi vijith,

1. Simple

2. open the report source code

3. GOTO -


> TEXT ELEMENTS -


> SELECTION TEXTS

4. There u will see

RADIO1

RADIO2

5. Change the text.

6. ACTIVATE (Make sure u activate here itself)

7. Then run the program again !!!

regards,

amit m.

Read only

Former Member
0 Likes
1,296

Set the Selection Text of Radio button in Text Elements.

Cheers,

Thomas.

Read only

Former Member
0 Likes
1,296

Hi,

you need to maintain the selection texts.

from Menu <b>GO TO ->TEXT ELEMENTS->SELECTION TEXTS</b> and maintain the texts.

Regards

vijay

Read only

Former Member
0 Likes
1,296

Hi Vijith,

Goto --> Text elements --> Selection Texts.

Enter the text for the radio buttons.

Rgds,

Prakashsingh

Read only

Former Member
0 Likes
1,296

Hi,

U can also do Other way .. that using comments with begin and end of line.

SELECTION-SCREEN : BEGIN OF BLOCK options WITH FRAME TITLE text-003,
                   BEGIN OF LINE.
PARAMETERS       : p_backgd RADIOBUTTON GROUP rad1
                   USER-COMMAND radio DEFAULT 'X'.
SELECTION-SCREEN : COMMENT 4(10) text-006,
                 : POSITION 35.
PARAMETERS       : p_sumrep RADIOBUTTON GROUP rad1 .
SELECTION-SCREEN : COMMENT 38(10) text-048,
                   END OF LINE.
SELECTION-SCREEN : END OF BLOCK options.

text-003 .......double click on to enter the corresponding text and activate.

Copy Paste The code and see the Difference.

Message was edited by: Manoj Gupta

Read only

0 Likes
1,296

Hi,

Thanks a lot for the help.

What to do if i want both the radio buttons as unchecked when my page loads for the first time?

Thanks & Regards,

Vijith

Read only

0 Likes
1,296

If you have two radio buttons at any point of time at least one of them should be checked, you cannot have both of them blank, that will produce a short dump.

Regards,

Ravi

Note : Please mark the helpful answers

Read only

0 Likes
1,296

Hi,

Remove the Default option from the radio button. ( Not Sure )

it alway takes first rediobutton has default selected when u dont specify the default option.

Message was edited by: Manoj Gupta

Read only

0 Likes
1,296

Hi,

it is not possible in case of Radio button, By default one will be checked.

or else go for check boxes.

Regards

vijay

Read only

0 Likes
1,296

Hi,

In the initialization event write the code.

INITIALIZATION.

r1 = space.

r2 = space.

Read only

0 Likes
1,296

Hi,

Sorry amit it is not working ...

Thanks & Regards,

Vijith

Read only

0 Likes
1,296

Hi Vijith,

It is not possible to leave both the radio button unchecked. One will always be checked by default.

What is ur requirement??

Rgds,

Prakashsingh

Read only

0 Likes
1,296

Hi Prakash,

I wrote a program wherein the user can select whether to run a Transaction or a report.The selection is done using radio button.

When the page loads i want both the radio buttons to be unchecked.

Regards,

Vijith