Skip to Content

Position 2 radio buttons in selection screen in one line.

I want to display radiobuttons of one group in one line.

How can i do that.

Presently they are displayed 1 below other.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Aug 22, 2007 at 11:39 AM

    HI,

    write like this.

    SELECTION-SCREEN BEGIN OF LINE.

    PARAMETERS:WIP_ONLY RADIOBUTTON GROUP RAD1.

    SELECTION-SCREEN COMMENT 2(15) WIP FOR FIELD WIP_ONLY.

    PARAMETERS:HIS_ONLY RADIOBUTTON GROUP RAD1 default 'X'.

    SELECTION-SCREEN COMMENT 20(15) HIS FOR FIELD HIS_ONLY.

    PARAMETERS:BOTH RADIOBUTTON GROUP RAD1.

    SELECTION-SCREEN COMMENT 40(15) WIP_HIS FOR FIELD BOTH.

    SELECTION-SCREEN END OF LINE.

    at selection-screen output.

    WIP = 'Work-in-Process Only'.

    HIS = 'History Only'.

    WIP_HIS = 'Both WIP & HIS'.

    <b>reward if helpful</b>

    rgds,

    bharat.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 11:43 AM

    Hi

    use

    SELECTION-SCREEN BEGIN OF LINE.

    declare u r radio buttons here..........

    SELECTION-SCREEN END OF LINE.

    reward points to all helpful answers

    kiran.M

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 11:48 AM

    Check this code.

    SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.

    SELECTION-SCREEN BEGIN OF LINE.

    SELECTION-SCREEN POSITION 2.

    PARAMETERS : p_vaxe RADIOBUTTON GROUP r1.

    SELECTION-SCREEN COMMENT 4(40) text-003.

    SELECTION-SCREEN POSITION 50.

    PARAMETERS : p_vaxem RADIOBUTTON GROUP r1.

    SELECTION-SCREEN COMMENT 52(50) text-004.

    SELECTION-SCREEN END OF LINE.

    SELECTION-SCREEN END OF BLOCK b2.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 11:48 AM

    hi satyanarayan,

    you make use of the variation BEGIN OF LINE for SELECTION-SCREEN.

    i.e,

    SELECTION-SCREEN BEGIN OF LINE.

    < your definition of radio buttons >

    SELECTION-SCREEN END OF LINE.

    <b>Reward points if this helps,</b>

    Kiran

    Add comment
    10|10000 characters needed characters exceeded