‎2008 May 14 7:17 AM
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
‎2008 May 14 7:21 AM
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.
‎2008 May 14 7:26 AM
Hi,
u will give the text as like below
PARAMETERS: CONTROL LIKE RKB1F-CONTROL_FLAG radiobutton group 1000
MODIF ID PRS.
‎2008 May 14 7:30 AM
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.
‎2008 May 14 7:35 AM
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.
‎2008 May 14 7:46 AM
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.
‎2008 May 14 8:01 AM
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.
‎2008 May 14 10:35 AM
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.