2009 Mar 31 6:12 AM
Hi,
I need to give 2 radiobutton in 1 line and 2 checkbox in next line in same selection screen block.
please tell how to do that?
thanks.
2009 Mar 31 6:16 AM
Hi,
u can Use as below..
selection-screen : Begin of line.
radiobutton:......
radio button:...
selection-screen: end of line.
selection-screen : Begin of line.
checkbox......
checkbox..
selection-screen: end of line.
see F1 help documenatation for more...
regards,
Naveen
2009 Mar 31 6:17 AM
Check this..
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS:p1 RADIOBUTTON GROUP g1 default 'X'.
SELECTION-SCREEN:comment 5(10) text-a01,
POSITION 16.
PARAMETERS:p2 RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : q1 RADIOBUTTON GROUP g2.
SELECTION-SCREEN:POSITION 16.
PARAMETERS : q2 RADIOBUTTON GROUP g2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : p3 RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF LINE.
2009 Mar 31 6:18 AM
hi,
refer the given below code
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(15) text-001.
PARAMETERS : p_rb1 RADIOBUTTON GROUP gp1.
SELECTION-SCREEN COMMENT 25(15) text-002.
PARAMETERS : p_rb2 RADIOBUTTON GROUP gp1.
SELECTION-SCREEN COMMENT 50(15) text-003.
PARAMETERS : p_rb3 RADIOBUTTON GROUP gp1.
SELECTION-SCREEN END OF LINE.
Thanks
Arun
2009 Mar 31 6:20 AM
Hi Priyanka,
Here is a Piece of sample code,
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) TEXT-031.
SELECTION-SCREEN POSITION 21.
PARAMETERS : A1 RADIOBUTTON GROUP RGB1 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 56(20) TEXT-032.
SELECTION-SCREEN POSITION 79.
PARAMETERS : A2 RADIOBUTTON GROUP RGB1.
SELECTION-SCREEN END OF LINE.
Thanks & Regards,
Dileep .C
2009 Mar 31 6:21 AM
Hi Priyanka,
Try this way:
Selection-screen begin of block B1.
Selection-screen begin of line.
Parameters:
P1 radiobutton group rad1 default 'X',
P2 radiobutton group rad1.
Selection-screen end of line.
Selection-screen begin of line.
Parameters:
P3 as checkbox default 'X',
P4 as checkbox.
Selection-screen end of line.
Selection-screen end of block B1.
Regards,
Swapna.
2009 Mar 31 6:21 AM
hi,
selection-screen begion of block b1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 10(23) text-004 FOR FIELD ch_sub.
PARAMETERS : ch_sub radiobutton group rb1,
ch_sub1 RADIOBUTTON GROUP rb1 .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 10(23) text-004 FOR FIELD ch_sub.
PARAMETERS : ch_sub as checkbox,
ch_sub1 as checkbox .
SELECTION-SCREEN END OF LINE.
selection-screen end of block b1.
Rgds.,
subash
2009 Mar 31 6:22 AM
Hi,
Write Code like the following :
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(15) text-001.
PARAMETERS : p_rb1 RADIOBUTTON GROUP gp1.
SELECTION-SCREEN COMMENT 25(15) text-002.
PARAMETERS : p_rb2 RADIOBUTTON GROUP gp1.
SELECTION-SCREEN END OF LINE.
1(15) ---means Start to place Radio button at 1st Column poisiton and length is 15 to display the Radiobutton text. Provide the Radio button text in Text-001.
Begin of line and End of line will put the two radiobuttons in single line.