Calling a selection screen in a subscreen of a tabstrip

hi,
I have created a tabstrip where i have included a subscreen.
I want to create and call a selection screen within that subscreen.
Can anybody tell me the steps required?
thanks in advance,
Abhishek

hi
good
try this
In the same way that you can define a screen as a subscreen in the Screen Painter, it is now possible to define selection screens as subscreens in an ABAP program:
SELECTION-SCREEN BEGIN OF SCREEN scrn AS SUBSCREEN
                                     [NO INTERVALS]
                                     [NESTING LEVEL n].
SELECTION-SCREEN END OF SCREEN scrn.
go through this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/content.htm
http://sap.niraj.tripod.com/id40.html
thanks
mrutyun^

Similar Messages

  • Calling userdefined selection screen

    Hi all,
    here i am having scenario like
    first calling a selection screen with push button, when click the button
    it should call anyother selection screen and execute that with selection parameters
    please let me know anyone

    Hii,
          first declare a pushbutton like ( if second selection parameter is date type)
    SELECTION-SCREEN PUSHBUTTON /05(20) c_date
                              USER-COMMAND cdate .
    SELECTION-SCREEN BEGIN OF SCREEN 0100." AS SUBSCREEN.
    SELECT-OPTIONS :       s_augdt FOR v_augdt OBLIGATORY NO-EXTENSION." no-display.
    SELECTION-SCREEN END OF SCREEN 0100.
    AT SELECTION-SCREEN.
    *----CHECK FOR USER COMMAND - CDATE MEANS USER HAS SELECTED CLEARIND DATE BUTTON FROM SELECTION SCREEN
      IF sy-ucomm = 'CDATE'.
    CALL SELECTION-SCREEN 0100 STARTING AT '10' '10' ENDING AT '120' '15'.
      ENDIF.
    Regards,
    Arti

  • Calling a Selection Screen from a Function Module/Method

    Hi,
      I would like to call a selection screen from a function module or method. I understand it is not possible by the definition. Are there any alternative options as I am looking for the Variants Save option on the screen. Any thoughts?
    Thanks
    Raghav

    Since i don't know your exact requirements (standard SAP selection screen? your own selection screen?) the onl;y thing i can come up with is:
    1. in your function pool create your own screen with a subscreen area
    2. create your own selection screen as a subscreen.
    3. include the selection subscreen in the first screen
    4. call the first screen in your function.

  • Error in calling a selection-screen...

    Hello experts,
    Please look at my code below:
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_upld RADIOBUTTON GROUP grp2.
    SELECTION-SCREEN COMMENT 2(20) text-007 FOR FIELD pr_upld.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 03(15) text-a11 FOR FIELD p_flnme.
    PARAMETERS: p_flnme LIKE rlgrap-filename DEFAULT 'C:'.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS: pr_list1 RADIOBUTTON GROUP grp2.
    SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list1.
    SELECTION-SCREEN END OF SCREEN 500.
    SELECTION-SCREEN BEGIN OF SCREEN 1500 AS WINDOW.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(22) text-002 FOR FIELD p_dcode.
    PARAMETERS: p_dcode LIKE vbak-kunnr,
                p_name1 LIKE kna1-name1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_list2 RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_add  RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(3) text-005 FOR FIELD pr_add.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_edit RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(4) text-006 FOR FIELD pr_edit.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 03(20) text-a12 FOR FIELD p_code.
    PARAMETERS: p_code LIKE zts0001-cdseq.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF SCREEN 1500.
    IF v_compflag EQ space.
      CALL SELECTION-SCREEN 500.
    ELSE.
      CALL SELECTION-SCREEN 1500.
    ENDIF.
    Now, what I want to do is that the program will call a selection-screen based on a given variable(v_compflag). But its generating an error saying that 'error generating the selection-screen'. Why is this so?
    Again, thank you guys and take care!

    Corrected code.
    REPORT  ztest_errror                            .
    data: v_compflag.
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_upld RADIOBUTTON GROUP grp2.
    SELECTION-SCREEN COMMENT 2(20) text-007 FOR FIELD pr_upld
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 03(15) text-a11 FOR FIELD p_flnme.
    PARAMETERS: p_flnme LIKE rlgrap-filename DEFAULT 'C:'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_list1 RADIOBUTTON GROUP grp2.
    SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF SCREEN 500.
    *************SELECTION-SCREEN BEGIN OF SCREEN 1500 AS WINDOW.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(22) text-002 FOR FIELD p_dcode.
    PARAMETERS: p_dcode LIKE vbak-kunnr,
              p_name1 LIKE kna1-name1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_list2 RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_add  RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(3) text-005 FOR FIELD pr_add.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_edit RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(4) text-006 FOR FIELD pr_edit.
    SELECTION-SCREEN END OF LINE.
    *************SELECTION-SCREEN END OF SCREEN 1500.
    IF v_compflag EQ space.
      CALL SELECTION-SCREEN 500.
    ELSE.
      CALL SELECTION-SCREEN 1500.
    ENDIF.
    Regards
    vijay

  • Call report selection screen in module pool program with tab strip control

    Hi,
    Could anyone explain in detail to call report selection screen in module pool program with tab strip control.
    Thanks
    Mano

    Hi,
    Refer std program:
    demo_sel_screen_in_tabstrip.
    demo_sel_screen_with_tabstrip.
    Call your program with SUBMIT stmt form module program.
    Reward points if this Helps.
    Manish

  • Calling the selection screen of the calling program after the execution of

    Hi all,
    I had created a program for a purchase order display.
    It has three radio-buttons from where i am calling different programs.
    I am using submit in the calling program and get parameter in at selection-screen output of the called program.
    I am getting the end report without the display of the selection screen of called program. But when i am clicking back on the end-report then i want to come back on the selection screen of the calling program. But i am coming out of the execution.
    Can anyone please tell me how to call the selection screen.
    Thanks in advance,
    Regards
    vamsi

    Hi, when you do the SUMBIT statement, make sure that you are using the extension........  AND RETURN.
    Submit <report> <b>AND RETURN</b>.
    This should return control to the caller.
    Regards,
    Rich Heilman

  • Can we call a selection screen from List output

    Hi Folks,
    Can we call a selection screen from the list output?
    I mean for ex:-
    i am getting the data from MAKT and displaying it in the list output having a button EMAIL.
    When I press that button it should call a selection screen asking the user to enter EMAIL id .
    Thanks,
    K.Kiran.

    Hi
    U can create a dynpro as SELECTION SCREEN and call it using CALL SELECTION-SCREEN statament:
    SELECTION-SCREEN BEGIN OF SCREEN 100.
    PARAMETERS: P_MAIL(80) TYPE C.
    SELECTION-SCREEN END    OF SCREEN  100.
    AT USER-COMMAND.
       CASE SY-UCOMM.
          WHEN 'MAIL'.
              CALL SELECTION-SCREEN 100.
              IF SY-SUBRC = 0. "User press F8
              ELSE.
                " User press exit or back
              ENDIF.
    U can use the addition STARTING AT ..... ENDING AT ..... if you need to show the selection-screen as popup
    Max

  • Question on selection screen in a subscreen in dialog prorgamming

    hi,
    i have a module pool in which the main program has the definition of the selection screen as follows:
    SELECTION-SCREEN BEGIN OF SCREEN 0101 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    SELECT-OPTIONS: S_VSTEL FOR  TVST-VSTEL,
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN END OF SCREEN 0101.
    In the PBo of screen 100 this is called
    CALL SUBSCREEN SUBSCREEN1 INCLUDING SY-REPID L_DYNNR.
    The subscreen is displayed as
    Shipping point  _______ To _________  =>
    When I click that arrow (( extension )) nothing happens !! I am supposed to get the standard extension screen in whcih i can select single values, ranges, exclude values, ranges !!
    why is this not displayed..any idea ?
    i have the same code in a normal report program and it works fine ..
    thks

    in module pool you need to add code for the => this is not been handled by SAP in module pool whereas it is been handled in report program.
    There is one FM which needs to be used so that when => is clicked it works...

  • Initializing Selection-Screen as dynpro subscreen

    Hello!
    I wrote a dynpro program that includes a selection screen as subscreen. In the flow logic the subscreen is called before output like this.
    process before output.
      call subscreen sub including sy-repid '110'.
      module status_0100.
    The program works fine to this point. Now I want to initialize a select-options table in the selection screen with some values. Doing this in the status_0100 module doesn't work. I suppose at this point it is too late to change values of the selection screen. I can't change the flow logic of the selection-screen 110 because it is generated automatically.
    My questions are:
    1. Is there any kind of initialization block or something like this where i can place the code to fill the select-options table?
    2. Filling a select-options table by appending lines to it is the common way to do this, isn't it?
    Thank you for your answers,
    Georg

    There is nothing stopping your from doing this?
    process before output.
    module status_0100.    "<-- Put this here
    call subscreen sub including sy-repid '110'.
    And then fill your select-option in the STATUS_0100 module, make sure that you apend to the internal table!
    Regards,
    Rich HEilman

  • Problem in calling a selection-screen

    Hi Friends,
        Please see the code below.
    when r_rbr = 'X', I'm calling sel screen 100.
    when r_cvr = 'X', I'm calling selection screen 200.
    Now the problem is that when I call screen 100 or 200 & press BACK button, even then also it goes to start of selection.Please help.
    AT SELECTION-SCREEN ON RADIOBUTTON  GROUP r1.
      IF g_flag IS INITIAL.
        IF r_rbr = c_x.
    *BREAK-POINT.
          CALL SELECTION-SCREEN 100.
          g_flag  = 'X'.
        ELSEIF r_cvr = c_x.
          CALL SELECTION-SCREEN 200.
          g_flag  = 'X'.
        ENDIF.
      ENDIF.
    START-OF-SELECTION.
    fetch data from data base tables
      IF r_rbr = c_x
       AND g_flag NE 'X'.
        PERFORM fetch_data.
        PERFORM data_consolidate.
      ENDIF.
      IF r_cvr = c_x.
    AND g_flag NE 'X'.
        PERFORM fetch_data1.
      ENDIF.

    Hi,
    Do it this way...
    Tables : SSCRFIELDS.  " Added
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP r1.
    IF g_flag IS INITIAL.
    IF r_rbr = c_x.
    *BREAK-POINT.
    CALL SELECTION-SCREEN 100.
    g_flag = 'X'.
    clear sscrfields-ucomm.      " Added line
    ELSEIF r_cvr = c_x.
    CALL SELECTION-SCREEN 200.
    g_flag = 'X'.
    clear sscrfields-ucomm.  " Added line
    ENDIF.
    ENDIF.
    START-OF-SELECTION.
    * fetch data from data base tables
    IF r_rbr = c_x
    AND g_flag NE 'X'.
    PERFORM fetch_data.
    PERFORM data_consolidate.
    ENDIF.
    IF r_cvr = c_x.
    * AND g_flag NE 'X'.
    PERFORM fetch_data1.
    ENDIF.
    Please let me know if this does not work
    Regards,
    Siddarth

  • Calling the Selection screen in the Interactive report

    Hello,
    this is urgent requirement.
    I need to call the selection in the interactive report.
    my requirement is i have to display list of the table name which is stored in the table DD20T.
    in basic list i have to display all the table name.
    if i double click the table name that the key field of the particular table with select option should display in the secondary list.
    so please help me.
    Thanks and regards,
    zubera

    Hi,
    Go for Drill down report.
    call transaction SE16 or SE16N. pass the tables to the transaction.
    exp code:
    DATA : lv_field(10) TYPE c VALUE 'MARA'.
    WRITE : lv_field.
    AT LINE-SELECTION.
      SET PARAMETER ID 'DTB' FIELD lv_field.
      CALL TRANSACTION 'SE16' AND SKIP FIRST SCREEN.
    please reward if help full..........
    By
    Gupta

  • How to call dynamic selection screen from another report

    hi,
    i have transaction ZFAGLL03.
    it has got standard selection screen.. and dynamic selection screen...
    i am calling this transaction from another report, now how do i display this dynamic selection screen.....

    Try following code and see if it helps:
    TYPE-POOLS : rsds.
    TABLES:tgsb.
    DATA: trange TYPE rsds_trange,
           trange_line
             LIKE LINE OF trange,
           trange_frange_t_line
             LIKE LINE OF trange_line-frange_t,
           trange_frange_t_selopt_t_line
             LIKE LINE OF trange_frange_t_line-selopt_t,
              trange_line1
             LIKE LINE OF trange,
           trange_frange_t_line1
             LIKE LINE OF trange_line-frange_t,
           trange_frange_t_selopt_t_line1
             LIKE LINE OF trange_frange_t_line-selopt_t,
           texpr TYPE rsds_texpr.
    DATA: seltab TYPE TABLE OF rsparams WITH HEADER LINE,seltex TYPE rsds_texpr.
    SELECT-OPTIONS:so_gsber FOR tgsb-gsber.
    LOOP AT so_gsber.
       trange_line-tablename = 'FAGLFLEXA_FS'.
       trange_frange_t_line-fieldname = 'RBUSA'.
       MOVE-CORRESPONDING so_gsber TO trange_frange_t_selopt_t_line.
       APPEND trange_frange_t_selopt_t_line
       TO trange_frange_t_line-selopt_t.
    ENDLOOP.
    APPEND trange_frange_t_line TO trange_line-frange_t.
    APPEND trange_line TO trange.
    CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
       EXPORTING
         field_ranges = trange
       IMPORTING
         expressions  = texpr.
    submit FAGL_ACCOUNT_ITEMS_GL with FREE SELECTIONS texpr   AND RETURN .

  • Dynamic variant calling multiple selection screens

    Hi all,
    The concerned issue is that i am trying to execute a report( which on execution throws a selection screen) from a program using 'submit' statement passing a variant. along with it iam creating a dynamic varinat using FM RS_CREATE_VARIANT, the variant is being made, but on execution , the program throws an error meassage " invalid variant called'.
    This is because the varinat is calling multiple  screens , although only one screen number is passed in teh FM,( screen no 0170).
    Please tell me the possible solution fr this .
    Cheers,
    Thanks in advance.

    Hi,
    first try to pass only the static variant with the submit statement and c whether its working properly.
    and than check for dynamic variant..
    c the difference and let me know what happens ??
    thanks
    ravi aswani

  • Can I call a selection-screen that is in another function group?

    I am writing a function module in function group ZFG_A.
    There exists a Dypro 9001 that exists in function group ZFG_B.
    How can I call the dynpro 9001 from my function in ZFG_A?
    This is not OO so I am not sure how to qualify the 9001?  Such as ZFG_B=>9001
      call selection-screen 9001 starting at 5 5
                                 ending   at 70 15.
    I get compile errors on the selection-screen variables because they are not found.
    Thank you,
    Olivier

    Its not at all possible to call a screen of different program from other program.
    But u can copy the screen using a FM called 'RS_SCRP_COPY' or 'RS_SCREEN_COPY'. In the former u can copy the screen with out popup but u have to specify the SOURCE program name and screen number and TARGET program name and screen no.
    In the later u ll get the popup similar to when u copy a screen in SE51.In the popup as u know u have to enter source name and screen no. and target program name and screen no.
    Thanks & Regards
    Santhosh

  • Calling the selection screen of report with data for the selection field

    I have the selection screen with 2 fileds.
    sales order and  payment terms.
    My requirement is to update the payment terms into the ztable for the given order.
    Sometimes the payment terms will be there ie already maintained ,in that case i need to show to the user the existing payment term ,so that he can modify and save that one.If the payment term is not existing then simply i can go inside the program and update the payment term.
    What I thought of doing is , writing a report program and then after the user inputs the selection screen ie order number , I Will check in the ztable and if the payment terms is found then i will use the key word leave list processing. But i dont know how to populate the payement term in the selection screen oncegaing from the program

    Hi shiva,
    when the user enters sales order number on screen, in parameter 1,
    you want to show payment term, on selection screen itself, in parameter 2.
    We can use the event
    AT SELECTION-SCREEN.
    Eg. PO Number <----
    > User
    Below is sample code for same.
    If you enter PO Number, the system will show the corresponding user in parameter2.
    Just copy paste.
    REPORT  YAM_TEMPA09.
    PARAMETERS : EBELN LIKE EKKO-EBELN.
    PARAMETERS : ERNAM LIKE EKKO-ERNAM.
    AT SELECTION-SCREEN.
    ERNAM = ''.
    SELECT SINGLE ERNAM
    FROM EKKO
    INTO ERNAM
    WHERE EBELN = EBELN.
    regards,
    amit m.

Maybe you are looking for