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 display setting....

Former Member
0 Likes
823

HIi Experts,

I used radio button in my selection parameters. I will get selection text before the Radio button (ie, Radio button comes Right side of text element). But I need radio button first then selection text... How to do it...

Thanks and regrads,

Mani.R

7 REPLIES 7
Read only

Former Member
0 Likes
789

Hi,

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.

just doble click on text-p01 and text-p02 and write the text you want to display(creating the text element).

Regards,

Raj.

Read only

geetha_k
Active Participant
0 Likes
789

Hi,

u will give the text as like below

PARAMETERS: CONTROL LIKE RKB1F-CONTROL_FLAG radiobutton group 1000

MODIF ID PRS.

Read only

Former Member
0 Likes
789

Hi Mani,

Can you check the code exist in bdcrecx1

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS SESSION RADIOBUTTON GROUP CTU. "create session

SELECTION-SCREEN COMMENT 3(20) TEXT-S07 FOR FIELD SESSION.

selection-screen position 45.

PARAMETERS CTU RADIOBUTTON GROUP CTU. "call transaction

SELECTION-SCREEN COMMENT 48(20) TEXT-S08 FOR FIELD CTU.

SELECTION-SCREEN END OF LINE.

regards,

kishore.

Read only

Former Member
0 Likes
789

Hi,

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

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: p_radio TYPE c RADIOBUTTON GROUP rad.

SELECTION-SCREEN COMMENT 10(11) text-002 FOR FIELD p_radio.

SELECTION-SCREEN END OF LINE.

PARAMETERS: radio1 TYPE c RADIOBUTTON GROUP rad.

SELECTION-SCREEN END OF BLOCK b1.

And follow the path : Goto--> Text Elements --> Selection texts and clear the by default (something like this : ?...). Save and activate.

Thank you.

Reward points if found useful.

Read only

Former Member
0 Likes
789

Hi,

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

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: p_radio TYPE c RADIOBUTTON GROUP rad.

SELECTION-SCREEN COMMENT 10(11) text-002 FOR FIELD p_radio.

SELECTION-SCREEN END OF LINE.

PARAMETERS: radio1 TYPE c RADIOBUTTON GROUP rad.

SELECTION-SCREEN END OF BLOCK b1.

And follow the path : Goto--> Text Elements --> Selection texts and clear the by default (something like this : ?...). Save and activate.

Thank you.

Reward points if found useful.

Read only

Former Member
0 Likes
789

Hi,

Just try this.

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

PARAMETER: p_par1 RADIOBUTTON GROUP rd1

DEFAULT'X'

USER-COMMAND ucom,

p_par2 RADIOBUTTON GROUP rd1.

SELECTION-SCREEN: END OF BLOCK blk2 .

You can use DEFAULT'X'

USER-COMMAND ucom, if you want to keep one radio button set as default.

Read only

Former Member
0 Likes
789

Hi,

Just try this.

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

PARAMETER: p_par1 RADIOBUTTON GROUP rd1

DEFAULT'X'

USER-COMMAND ucom,

p_par2 RADIOBUTTON GROUP rd1.

SELECTION-SCREEN: END OF BLOCK blk2 .

You can use DEFAULT'X'

USER-COMMAND ucom, if you want to keep one radio button set as default.