Skip to Content
avatar image
Former Member

placing radiobuttons side by side in report

Hi,

How to place two radio buttons side by side in a report program. Can anyone help me on this.

Thanks,

Rose.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 03, 2008 at 08:58 AM

    HI

    To position a set of parameters or comments in a single line on the selection screen, you must declare the elements in a block enclosed by the following two statements:

    SELECTION-SCREEN BEGIN OF LINE.

    define radio buttons

    SELECTION-SCREEN END OF LINE.

    SELECTION-SCREEN BEGIN OF LINE.
    
    PARAMETERS :
    r1  RADIOBUTTON GROUP rad1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 3(10) text-001.
    PARAMETERS :
       r2  RADIOBUTTON GROUP rad1.
    
    SELECTION-SCREEN END OF LINE.

    Regards

    Pavan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 03, 2008 at 09:03 AM

    You the code for reference

    SELECTION-SCREEN BEGIN OF LINE.

    SELECTION-SCREEN COMMENT 1(10) text-001.

    PARAMETERS: p1(3) TYPE c, p2(5) TYPE c, p3(1) TYPE c.

    SELECTION-SCREEN END OF LINE.

    Edited by: karthik arunachalam on Sep 3, 2008 2:36 PM

    Add comment
    10|10000 characters needed characters exceeded