Skip to Content
avatar image
Former Member

popup selection-screen

Hi,

In my selection-screen i have 3 radiobuttons.if i selected one of

radiobutton i need one popup selection-screen inthat i need 3 parameters.how can i approach?

Thanks in Advance,

Suresh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 10, 2008 at 01:49 PM

    write your codes under

    at selection-secreen ON RADIOBUTTON GROUP XXX

    thanks

    Ganesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 10, 2008 at 02:14 PM

    Hi ,

    First fal use this FM and try, it is very useful for u ok

    >call function POPUP_TO_CONFIRM

    > exporting

    > TITLEBAR = pop_up' (for pop-up header)

    > TEXT_QUESTION = 'data u r going to save is already save!! Are you sure want to save it again?'

    > TEXT_BUTTON_1 = 'Yes'

    > ICON_BUTTON_1 = ' '

    > TEXT_BUTTON_2 = 'No'

    > ICON_BUTTON_2 = ' '

    > DEFAULT_BUTTON = '1'

    > DISPLAY_CANCEL_BUTTON = 'X'

    > USERDEFINED_F1_HELP = ' '

    > START_COLUMN = 25

    > START_ROW = 6

    > POPUP_TYPE = ' '

    > IV_QUICKINFO_BUTTON_1 = ' '

    > IV_QUICKINFO_BUTTON_2 = ' '

    > importing

    > ANSWER = ANS

    So it wil come with three button YES, NO, CANCEL..

    And after that write functionalityies to that buttons...

    > case ANS.

    > when '1'.

    > message 'you are succes fully saved data' type 'S'

    > when '2'.

    > set screen N.

    > when '3'.

    > leave to screen M.

    > endcase .

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 10, 2008 at 02:16 PM

    Hi ,

    I am giving you a sample code snippet you can try this out .

    I hope this will help you.

    ***************************************************

    tables:SSCRFIELDS.

    parameter:r1 radiobutton group g1 user-command ABCD ,

    r2 radiobutton group g1.

    selection-screen:begin of screen 100.

    parameter:P1.

    selection-screen: end of screen 100.

    at selection-screen on radiobutton group g1.

    if SSCRFIELDS-ucomm = 'ABCD'.

    if r2 = 'X'.

    CALL SELECTION-SCREEN 100 starting at 25 10

    ending at 35 20.

    endif.

    endif.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 10, 2008 at 03:03 PM

    Hi,

    Check the following code:

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

    PARAMETERS: p_rd1 RADIOBUTTON GROUP grp1,

    p_rd2 RADIOBUTTON GROUP grp1,

    p_rd3 RADIOBUTTON GROUP grp1.

    SELECTION-SCREEN: END OF BLOCK blk1.

    SELECTION-SCREEN BEGIN OF SCREEN 500 TITLE title

    AS WINDOW.

    PARAMETERS: q1(10) TYPE c,

    q2(10) TYPE c,

    q3(10) TYPE c.

    SELECTION-SCREEN: END OF SCREEN 500.

    SELECTION-SCREEN BEGIN OF SCREEN 600 TITLE title1 AS WINDOW.

    PARAMETERS: p1(10) TYPE c,

    p2(10) TYPE c,

    p3(10) TYPE c.

    SELECTION-SCREEN: END OF SCREEN 600.

    START-OF-SELECTION.

    PERFORM disp_screen.

    &----


    *& Form disp_screen

    &----


    • text

    ----


    • --> p1 text

    • <-- p2 text

    ----


    FORM disp_screen .

    IF p_rd1 = 'X'.

    title = 'input name'.

    CALL SELECTION-SCREEN '0500' STARTING AT 10 10

    .

    ELSEIF p_rd2 = 'X'.

    title1 = 'input name'.

    CALL SELECTION-SCREEN '0600' STARTING AT 10 10

    .

    ENDIF.

    ENDFORM. " disp_screen

    Regards,

    Bhaskar

    Add comment
    10|10000 characters needed characters exceeded

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

    Hi,

    Thanks for your replies.

    Regards,

    Suresh

    Add comment
    10|10000 characters needed characters exceeded