‎2008 Jul 03 2:32 PM
hi,
I want one radiobutton in the selection screen .But first i want text
then radiobutton.
Can u tell me how we can do this ?
regards,
vijaya.
‎2008 Jul 03 2:34 PM
‎2008 Jul 03 2:38 PM
Do something like this:
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION pos_high.
SELECTION-SCREEN COMMENT /10(30) 'TEXT'.
PARAMETERS: r1 RADIOBUTTON GROUP rad1,
r2 RADIOBUTTON GROUP rad1.
PARAMETERS field(5) TYPE c.
SELECTION-SCREEN END OF LINE.
‎2008 Jul 03 2:39 PM
Hi Vijaya laxmi ,
Check this code..
PARAMETERS :
rb_2day RADIOBUTTON GROUP gr5 USER-COMMAND cmd1,
rb_yday RADIOBUTTON GROUP gr5 , "Yesterday
rb_dtrg RADIOBUTTON GROUP gr5 . "Date Range
Check and activate...
To change the Text of the radio Button...
On ABAP Editor Screen on Menu bar..Click in GOTO --> Text Elements --> Selection texts and then Change the text of your Radio Buttons..
Reward If Helpful
Regards,
Sachin M M
‎2008 Jul 03 2:39 PM
PARAMEETRS :
p_rad1 RADIOBUTTON GROUP GRP1 DEFAULT 'X',
p_rad2 RADIOBUTTON GROUP GRP1 ,
p_rad3 RADIBUTTON GROUP GRP1.
nOW IF AT ALL YOU EXECUTE THIS code then the
this is enough to what you are asking.
Regards
PAVAN
‎2008 Jul 03 2:39 PM
Hello,
Do the following:
SELECTION-SCREEN COMMENT /1(50) comm1 MODIF ID mg1.
SELECTION-SCREEN ULINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN COMMENT /1(30) comm2.
SELECTION-SCREEN ULINE /1(50).
PARAMETERS: r1 RADIOBUTTON GROUP rad1,
r2 RADIOBUTTON GROUP rad1,
r3 RADIOBUTTON GROUP rad1.
SELECTION-SCREEN ULINE /1(50).
AT SELECTION-SCREEN OUTPUT.
comm1 ='Selection Screen'.
comm2 ='Select one'.
LOOP AT SCREEN.
IF screen-group1 = 'MG1'.
screen-intensified = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards.
‎2008 Jul 03 2:39 PM
Pl. see this sample code:
selection-screen begin of block b1 with frame title text-a01.
selection-screen begin of line.
selection-screen comment 3(34) text-a06 for field p_kbb. << Field text for radio button p_kbb
parameters: p_kbb radiobutton group xyz modif id a1.
selection-screen end of line.
parameters: p_kbrt radiobutton group xyz modif id a1.
selection-screen end of block b1.
Regards,
Joy.
‎2008 Jul 03 2:43 PM
hi,
try this code.
selection-screen begin of line.
selection-screen comment 'RADIOBUTTON' for field RD1.
parameters:
<Define Radiobutton>
selection-screen end of line.This will help.
Reward if useful.
Sumit Agarwal