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 description

Former Member
0 Likes
2,101

Hi Experts,

Iam doing one report now, i want to display the Radiobutton description in the selection screen. The code is goven below. rewards are helpful.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(15) text-p02 FOR FIELD p_pr00.

SELECTION-SCREEN POSITION 33.

PARAMETERS: p_pr00 TYPE xfeld RADIOBUTTON GROUP prt.

SELECTION-SCREEN END OF LINE.

1 ACCEPTED SOLUTION
Read only

SAPAI
Participant
0 Likes
1,433

Use <b>selection text</b> for ur radio button parameter

PARAMETERS: <b>p_pr00</b> TYPE xfeld RADIOBUTTON GROUP prt

GOTO->TEXT SYMBOLS->SELECTION TEXT

put <b>p_pr00 = description </b>

Hope it helps u .

6 REPLIES 6
Read only

Former Member
0 Likes
1,433

Hi Narayanadas,

Use this.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(15) text-p02 FOR FIELD p_pr00.

SELECTION-SCREEN POSITION 33.

PARAMETERS: p_pr00 TYPE xfeld RADIOBUTTON GROUP prt.

<i><b> SELECTION-SCREEN COMMENT 5(18) text-003 for field p_pr00.</b></i>

SELECTION-SCREEN END OF LINE.

text-003 = give the required description.

Reward If Useful.

Regards,

Chitra

Message was edited by:

Chitra Parameswaran

Read only

Former Member
0 Likes
1,433

Hi,

It is very simple. Goto Menu GOTO-> TEXT ELEMENTS -> SELECTION TEXT.

Here you give the description for the button or any field you used have used in the selection screen that will be shown at the runtime for that field.

Reward if Useful.

Thanks,

Muthu.

Read only

Former Member
0 Likes
1,433

Hi,

GOTO --> TEXTELEMENTS --> SELECTION TEXT.... there you can able to enter the selection text for the radio button...

Thanks

Yogesh

Read only

Former Member
0 Likes
1,433

hi

good

Radio buttons are graphic control elements with which you can choose exactly one element from a list of fields. If several fields are to be chosen at the same time, you then should use checkboxes.

http://help.sap.com/saphelp_nw04/helpdata/en/90/df413a51ce2e3ae10000000a11402f/content.htm

reward point if helpful.

thanks

mrutyun^

Read only

SAPAI
Participant
0 Likes
1,434

Use <b>selection text</b> for ur radio button parameter

PARAMETERS: <b>p_pr00</b> TYPE xfeld RADIOBUTTON GROUP prt

GOTO->TEXT SYMBOLS->SELECTION TEXT

put <b>p_pr00 = description </b>

Hope it helps u .

Read only

Former Member
0 Likes
1,433

Hi,

use the below code.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: p_pr00 TYPE xfeld RADIOBUTTON GROUP prt.

SELECTION-SCREEN COMMENT 1(15) text-p02 FOR FIELD p_pr00.

SELECTION-SCREEN POSITION 33.

SELECTION-SCREEN END OF LINE.

Regards

Venkata prasad