Dialog' selection screen

Hi Guys,
Im developing a dialog program that the first screen is the Selection screen, where it contains select options and parameters.
My question is how can i make my dialog's selection screen having the same functionality as normal SE38 program's selection screen? Basically in dialog's selection screen, i want to save the input as variant.
I did tried to copied standard status - Program RSSYSTDB, Status %_00 as my dialog selection screen's status. but the save button will not trigger the variant saving.
Pls comment.
Thanks in advance.

Have you tried getting SAP to generate the selection screen for you?
For example :
selection-screen begin of screen 200.
selection-screen begin of block a with frame title text-t01.
select-options s_vendor for  eina-lifnr obligatory no intervals.
select-options s_matnr  for  mara-matnr.
parameters     p_werks  type mard-werks default 'D100'.
parameters     p_lgort  type mard-lgort default '0002'.
selection-screen end of block a.
selection-screen end of screen 200.
You would need to call screen 200 from your main program, and after execute is hit the main program continues populated with the selection parameters

Similar Messages

  • Problem in Submit via selection screen statement

    Dear Experts,
    I have designed selection screen and a dialog screen 100. I am passing the selection screen values to dialog screen using Selection screen via selection screen statement. When i tried to change the values in dialog screen, it is not allowing me to do so and the values are not refreshed.
    I have searched the SDN Forum, but not able to find the suitable thread.
    Regards,
    Ramesh Manoharan
    Edited by: ramesh.manoharan on Mar 17, 2010 1:03 PM

    Hi,
    I have used the below statement to pass values the values from selection screen to dialog screen (Created as an Executable program)
    Submit <pgm> via selection screen
      with ...... .
    Dialog screen is created as an executable program where i have created two subscreen area and populating the Selection Screen as subscreen by using the below statement:
    selection-screen begin of screen <subscreen no.> as subscreen.
    selection-screen end of screen <subscreen no.>.
    The problem i am facing is that the values of selection screen are getting populated in the dialog screen. But when i tried to change the input values in the dialog selection screen. I am unable to do that and it is not showing the new entered values. Only the previous values are shown (got from selection screen from Submit via selection screen statement).
    Kindly let me know where i am going wrong ? Kindly help me to overcome the problem .
    Regards,
    Ramesh Manoharan

  • At selection screen output dialog

    how i can make
    i have customer i want when i click enter to get the description.
    the program is dialog , i get always err,and when i put in PBO or PAI.

    Hi Little ,
      What i understand is that you are working on a report and not a module pool.
    If it is a report then you will first have to modify the selection screen , go to SE51 , put in the program name and the screen number ( which is generally 1000) , on the screen add a new I/O box which is for Output only let it be KNA1-NAME1 .
    Now you need to write the code in the event AT SELECTION-SCREEN OUTPUT .
    Here is the sample code for the same
    tables : kna1.
    parameter : kunnr type kna1-kunnr.
    at selection-screen output.
    if not kunnr is initial.
      select single name1 into kna1-name1
        from kna1
        where kunnr =  kunnr.
    endif.
    Hope this helps.
    Regards
    Arun

  • Selection-screen in a Dialog Screen

    Hello,
       I want to create a selection screen in a dialog screen with all its functionality specially the option for multiple selection like want I'm doing in a report-type program. Is this possible?
    tnx,
    Jeff

    Hi Jeffrey
    As Harald mentioned, it is possible. You can check out Re: Store select-options on database to find some more information.
    As another thing, since you are a new SDN member, you are welcome and let me introduce you the SDN forums pointing system: You can assign points to posts you find while helpful solving your question. You can reward points by clicking the yellow star icon at header of each reply post. You can reward;
    - one 10 points (solved)
    - two 6 points (very helpful answer)
    - many 2 points (helpful answer)
    Kind regards...
    *--Serdar

  • How to get the file name dialog on the selection screen

    Hi All
    I have a selection screen in which there is a parameter where I need to enter file name. Instead of typing filename in the parameter I would like to give a path from presentation server ( I am downloading Data to presentation server ).
    How to achive this functionality in case of a parameter on the selection screen. I need to have File open Dialog box like Windows here and then it should show the filename and it's path in this parameter after selectiong from the dialog box.
    Amol

    Hi..,
    Use the function module <b>F4_FILENAME</b> or <b>WS_FILENAME_GET</b> in the event
    <b>AT SELECTION-SCREEN ON VALUE REQUEST FOR P_FILE.</b>
    Parameters p_file type rlgrap-filename.
                AT SELECTION-SCREEN ON VALUE REQUEST EVENT            
    at selection-screen on value-request for p_file.
      perform value_request.
    *&      Form  value_request
          This subroutine proposes the possible input values             *
    There are no interface parameters to be passed to this subroutine.  *
    form value_request.
      call function 'WS_FILENAME_GET'
       importing
         filename               = p_file
       exceptions
         inv_winsys             = 1
         no_batch               = 2
         selection_cancel       = 3
         selection_error        = 4
         others                 = 5.
      check sy-subrc eq 0.
    endform.              
    Reward all helpful answers !!
    sai ramesh

  • How to use a parameter  of a report program from selection screen in a dialog program

    how to use a parameter value(entered ) of a report program from a selection screen in a dialog program.
    I have to fetch the value entered in the parameter of report program and display it in a dialog program

    Hi Aasim,
    Just mention like below in your ABAP report.
       PARAMETERS: p_aufnr TYPE aufnr MEMORY ID ord.
    and mention the same memory ID name in the module pool screen property it automatically populates the value to and fro

  • How to create application toolbar in modal dialog box in selection-screen

    Hi Experts,
    how to create application toolbar in modal dialog box in selection-screen?
    Regards,
    Swapnika

    Hi,
    Check the following link regarding Model dialog box and appication toolbar
    http://help.sap.com/saphelp_nw70/helpdata/en/d1/801b84454211d189710000e8322d00/frameset.htm
    It helps in solving your problem.
    Thanks.
    Ramya.

  • Calling Selection Screen in Modal dialog box

    Hi Experts.
    I have created screen 9000 having user interface and in tool bar there is create button in the screen 9000
    The create button 9001 will call another screen with different I/O fields (9001 is Modal dialog screen).
    In the 9001 there is push button for which the selection screen is called 9002.
    I have declared 9002 as subscreen and called the screen 9002 in user command.
    In the Screen 9001 when user clicks the push button i need to get pop up screen where the user select some data.
    How i need to do ?
    I am getting error can't call subscreen in modal dialog box.
    Thanks,
    ERPSAP

    HI,
    HOpe this will help you
    How to call table control in subscreen in module pool program
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/reg-tab-strip-control-module-pool-abap-444944
    http://12go.com/sap/search?query=title%3A(calling%20subscreens%20in%20module%20pool)
    Regards,
    Pravin

  • Displaying selection screen as pop-up from dialog box

    Hi,
          I have a screen which is of dialog-box type. This dialog screen shows an ALV and has a button in the ALV toolbar. On pressing this button, a pop-up screen is to be displayed. This pop-up screen is designed as a selection-screen. Is it possible to display this selection screen as a pop-up from a dialog box screen?
    Regards,
    Suhas

    Hi Suhas,
    Its possible to display selection screen as pop-up from dialog box.....Check the code below...copy paste and execute...
    SELECTION-SCREEN BEGIN OF SCREEN 123 AS WINDOW TITLE text-001.
    PARAMETER p.
    SELECTION-SCREEN END   OF SCREEN 123.
    CALL SELECTION-SCREEN 123 STARTING AT 20 5
                                ENDING AT 80 15.
    The below code might help u to add a button in alvgrid's toolbar......
    *       CLASS lcl_event_handler DEFINITION
    CLASS lcl_event_handler DEFINITION.
      PUBLIC SECTION.
        DATA: wa_toolbar   TYPE stb_button,
              calc         TYPE REF   TO cl_gui_frontend_services.
        METHODS : toolbar_handle FOR EVENT toolbar      OF cl_gui_alv_grid
                                        IMPORTING e_object
                                                  e_interactive,
                  ucomm_handle   FOR EVENT user_command OF cl_gui_alv_grid
                                        IMPORTING e_ucomm.
    ENDCLASS.                    "lcl_event_handler DEFINITION
    *       CLASS lcl_event_handler IMPLEMENTATION
    CLASS lcl_event_handler IMPLEMENTATION.
      METHOD toolbar_handle.
        MOVE   3 TO  wa_toolbar-butn_type.
        APPEND wa_toolbar   TO e_object->mt_toolbar.
        MOVE : 0            TO wa_toolbar-butn_type,
               'CALC'       TO wa_toolbar-function,
               '@0M@'       TO wa_toolbar-icon,
               'Calculator' TO wa_toolbar-quickinfo.
        APPEND wa_toolbar TO e_object->mt_toolbar.
      ENDMETHOD. "toolbar_handle
      METHOD ucomm_handle.
        IF e_ucomm = 'CALC'.   " When button added in toolbar is clicked
          IF calc IS INITIAL.
            CREATE OBJECT calc.
          ENDIF.
          CALL METHOD cl_gui_frontend_services=>execute
       EXPORTING
         application            = 'CALC'.
        ENDIF.
      ENDMETHOD. "ucomm_handle
    ENDCLASS.                    "lcl_event_handler IMPLEMENTATION
    DATA : container    TYPE REF   TO cl_gui_custom_container,
           grid         TYPE REF   TO cl_gui_alv_grid,
           event        TYPE REF   TO lcl_event_handler,
           it_display   TYPE TABLE OF mara,
           wa_display   TYPE mara.
    START-OF-SELECTION.
      CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'BASIC'.
      PERFORM build_it_display.
      PERFORM create_objects.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          SET SCREEN 0.
          LEAVE SCREEN.
        WHEN 'EXIT'.
          SET SCREEN 0.
          LEAVE SCREEN.
        WHEN 'CANC'.
          SET SCREEN 0.
          LEAVE SCREEN.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  build_it_display
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM build_it_display .
      SELECT * FROM mara UP TO 15 ROWS INTO TABLE it_display.
    ENDFORM.                    " build_it_display
    *&      Form  create_objects
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM create_objects .
      IF container IS INITIAL.
        CREATE OBJECT container
        EXPORTING
          container_name     = 'CUSTOM'.
        CREATE OBJECT event.
        CREATE OBJECT grid
          EXPORTING
            i_parent         = container.
        SET HANDLER event->toolbar_handle FOR grid.
        SET HANDLER event->ucomm_handle   FOR grid.
        CALL METHOD grid->set_table_for_first_display
          EXPORTING
            i_structure_name = 'MARA'
          CHANGING
            it_outtab        = it_display.
      ENDIF.
    ENDFORM.                    " create_objects
    Cheers,
    Jose.

  • Include a dialog screen in tabstrip of selection-screen

    Hi All,
    Could anyone please tell me how to include a dialog screen into selection-screen? We have a normal selection screen for a report but now we need to add some more function and this requires to key in material number in first column and quantity in second column in a tabstrip subscreen(eg. screen 2000) and put current select-options(screen 1000) in another tabstrip to make user easily switch between new filters and previous filters. I've no idea if it's possible to have a dialog screen included in a tabstrip in the selection-screen. So please give me some suggestion. Thanks.
    Best Regards,
    Jeff

    Hi Jeff,
    In the selection screen you need to call a custom tab strip that would have two sub-screens 1000 and 2000. It is completely designing of tab strip and its code manipulation.
    Did you search for TAB STRIP IN SELECTION-SCREEN ?
    This will  help you in from start-up designing of tab-strip. It's not possible here in forum to explain all the steps in details.
    For your help you can refer the link
    [Sub-screen in Tab strip|Tabstrip and Subscreen;
    This link gives you a complete idea on Tab strip
    [Creating a Tab Strip Control|http://help.sap.com/saphelp_nw04/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/frameset.htm]
    Still you can search and find more as per your requirement.

  • Dialog Prog. with a selection screen

    Hi Gurus,
    How its possible to achieve a SELECTION-SCREEN with in a Dialog Prog. Pls. give me rough idea.
    Thank you.

    Hi,
    If you are taking about to use the selection screen in you Dialog Program than please follow the following.
    You will have to add following Lines in PBO and BAI You need a custom Control on the your Screen where you display your sub screen.
    PBO
    CALL SUBSCREEN <custom_control_name> INCLUDING '<Programe_name_where_sub_screen'> '<Screen Number'>
    PAI
    CALL SUBSCREEN <custom_control_name>
    In Program it must be like this.
    selection-screen begin of screen 0001 as subscreen.
        parameters: date like sy-datum.
    selection-screen end of screen 0001.
    Hope above will help you,
    Please Reply if not Clear,
    Kind Regards,
    Faisal

  • Reg- Selection screen in Dialog Programing

    Dear Friends,
                      I have developed one Dialog program. In that i have to select profit center like from and to option. Apart from i want to select more profit ceneter also. Now my problem s i designed form,to and more fielsd also. If i enter more filds it s not coming in to from to option.
    Tell any gud function modulr for selectiong from,to and more fields.
    Thanks & regards
    Prabu K

    Hi,
    See below report it might help you.
    REPORT selectoptionsrestrict.
    Include type pool SSCR
    TYPE-POOLS sscr.
    TABLES :
      marc.
    defining the selection-screen
    select-options :
      s_matnr for marc-matnr,
      s_werks for marc-werks.
    Define the object to be passed to the RESTRICTION parameter
    DATA restrict TYPE sscr_restrict.
    Auxiliary objects for filling RESTRICT
    DATA : optlist TYPE sscr_opt_list,
               *** type sscr_***.
    INITIALIZATION.
    Restricting the MATNR selection to only EQ and 'BT'.
      optlist-name = 'OBJECTKEY1'.
      optlist-options-eq = 'X'.
      optlist-options-bt = 'X'.
      APPEND optlist TO restrict-opt_list_tab.
      ***-kind = 'S'.
      ***-name = 'S_MATNR'.
      ***-sg_main = 'I'.
      ***-sg_addy = space.
      ***-op_main = 'OBJECTKEY1'.
      APPEND *** TO restrict-***_tab.
    Restricting the WERKS selection to CP, GE, LT, NE.
      optlist-name = 'OBJECTKEY2'.
      optlist-options-cp = 'X'.
      optlist-options-ge = 'X'.
      optlist-options-lt = 'X'.
      optlist-options-ne = 'X'.
      APPEND optlist TO restrict-opt_list_tab.
      ***-kind = 'S'.
      ***-name = 'S_WERKS'.
      ***-sg_main = 'I'.
      ***-sg_addy = space.
      ***-op_main = 'OBJECTKEY2'.
      APPEND *** TO restrict-***_tab.
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
       EXPORTING
        restriction                  = restrict
       EXCEPTIONS
         TOO_LATE                     = 1
         REPEATED                     = 2
         SELOPT_WITHOUT_OPTIONS       = 3
         SELOPT_WITHOUT_SIGNS         = 4
         INVALID_SIGN                 = 5
         EMPTY_OPTION_LIST            = 6
         INVALID_KIND                 = 7
         REPEATED_KIND_A              = 8
         OTHERS                       = 9
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Thanks
    Mohit

  • Selection-screen functionality in dialog screen

    SELECT-OPTIONS pr_matnr FOR lv_matnr-matnr.
    What this does is display a 'From' and 'To' field, plus a little right-hand arrow to allow additional ranges to be added. I'm trying to achieve the same but within a dialog screen. Anyone?.
    I just know that I'm going to kick myself when I find out how to do it, but I have all but given up searching for it. Perhaps it's just a bad day and I've chosen the wrong search params.
    thanks.

    Hi.
    I tried this at my system and the following seems to work
    1) Create a report that defines a subscreen:
    REPORT ztst.
    TABLES mara.
    SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    SELECTION-SCREEN END OF SCREEN 1010.
    2) Call this subscreen from your dialog screen
    in PBO:
    CALL SUBSCREEN subscreen_1 INCLUDING 'ZTST' '1010'.
    in PAI:
    CALL SUBSCREEN subscreen_1.
    Reward if helpfull...
    Cheers,
    Sundar.

  • SELECTION SCREEN AND DIALOG SCREEN

    Can a selection screen and a dialog screen be combined.If yes then how

    YES YOU CAN DO THIS
    SELECTION-SCREEN BEGIN OF SCREEN 99.
      SELECTION-SCREEN PUSHBUTTON 15(25) PUBU
                       USER-COMMAND US01.
      SELECT-OPTIONS SEL2 FOR SPFLI_WA-CONNID.
      PARAMETERS     PAR2 TYPE I.
    SELECTION-SCREEN END OF SCREEN 99.
    CALL SELECTION-SCREEN 99.
    AFTER THAT YOU CAN CALL
    CALL SCREEN 100.
    LIKE THAT
    REGARDS
    SHIBA DUTTA

  • Selection screen dialog programming

    I have used a selection screen in the dialog programming.
    I have written some code in the at selection screen to display the output on a table control in another screen 1001.
    my problem is that when i try to enter the multiple values for material ,
    it goes to the at selection screen and displays the output again.
    if i write the code in start of selection instead of at selection screen
    it doesnt give any output at all.
    how do i correct this error?
    SELECTION-SCREEN BEGIN OF SCREEN 2000 .
    SELECT-OPTIONS : s_ersda FOR MCHB-ERSDA OBLIGATORY.
    SELECT-OPTIONS : s_matnr FOR MCHB-MATNR.
    SELECT-OPTIONS : s_matkl FOR MARA-MATKL.
    SELECT-OPTIONS : s_ferth FOR MARA-FERTH.
    SELECTION-SCREEN END OF SCREEN 2000.
    at selection-screen.
    statements to fill the output table
    screen containing table control
    call screen 1001

    Friends,
    Req for ABAP HR
    ROLE: SAP HR ABAP DEVELOPER
    Location: TULSA, OK
    Duration: 3 + MONTHS
    REQUIRED SKILLS: SAP ABAP / Dialog and regular / R/3 and HR / Workflow / smartforms
    / ALV / LSMW for HR and R/3 / Modules - MM , SD , HR, PD , PS
    Start Date: 11-12-07
    If interested Please send the cvs to [email protected]

Maybe you are looking for

  • OWB 10g repository assistants no longer work on 10.3.0.1 win2003

    Just posted this to the database forum... oops.... now that I'm in the right spot... I just installed Oracle 10.2.0.1 for win2k3 and OWB 10g. With 10.1.xxx the design and runtime reporitory assistants worked fine building their respective schemas, bu

  • Blackberry Desktop Manager and Mac

    I have a new 8530 Curve and I am not able to sync my contacts through Desktop Manager. My calendar syncs fine but when I try to sync my contacts the program freezes up about 3/4 of the way through. Has anybody had this problem and how did you solve i

  • IDOC Timeout

    Hi, I have an IDOC problem and im not sure if it is a performance issue or a customization. I have a job that runs program RBDAPP01 and processes all IDOCS of status 64. The thing is the program terminates with a timeout error of maximum runtime exce

  • Color problems between Lr5 and other software

    I can not see where to make adjustments to get the same tones between Lr and my other software: Photoshop, Irfanview, Windows Viewer ... My test conditions: My monitor is calibrated ... - Export Lr Jpeg quality 85% and also tests 16bit TIFF (sRGB, Ad

  • DOCTYPE interfere with heigth = 100%

    Hi All, just having fun with JSF/ADF Faces and it seems the DOCTYPE generated by the afh:html component (<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">) interferes with my page. Because our client wants