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: 

check boxes

Former Member
0 Kudos

hello friends,

am sumanth,help me ragard the code.how to place check boxes and radio buttons side by side?i need to display it side by side.plz tell me the code.

2 REPLIES 2

uwe_schieferstein
Active Contributor
0 Kudos

Hello Reddy

You need to use the following statement:

SELECTION-SCREEN BEGIN OF LINE.
" Now position your checkboxes and radiobuttons on the same line as you like
" See ABAP keyword documentation for SELECTION-SCREEN
SELECTION-SCREEN END OF LINE.

Regards

Uwe

asik_shameem
Active Contributor
0 Kudos

Hi

Do in the following way.

REPORT ztest.

  SELECTION-SCREEN: BEGIN OF LINE.
  SELECTION-SCREEN: COMMENT 1(10) comm1.
  PARAMETERS: ch1 TYPE c AS CHECKBOX.
  SELECTION-SCREEN: COMMENT 30(10) comm2.
  PARAMETERS: rb1 RADIOBUTTON GROUP grp.
  SELECTION-SCREEN: COMMENT 60(10) comm3.
  PARAMETERS: rb2 RADIOBUTTON GROUP grp.
  SELECTION-SCREEN: END OF LINE.

  INITIALIZATION.
    comm1 = 'CHECK'.
    comm2 = 'RADIO 1'.
    comm3 = 'RADIO 2'.