Skip to Content
avatar image
Former Member

check boxes

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 11, 2008 at 06:52 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 11, 2008 at 07:07 AM

    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'.

    Add comment
    10|10000 characters needed characters exceeded