Application Development 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: 

give 2 radiobutton in a single line &2 checkbox in next line selection scrn

Former Member
0 Kudos
529

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.

7 REPLIES 7

Former Member
0 Kudos
262

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

Former Member
0 Kudos
262

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.

Former Member
0 Kudos
262

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

Former Member
0 Kudos
262

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

Former Member
0 Kudos
262

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.

Former Member
0 Kudos
262

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

Former Member
0 Kudos
262

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.