Call screen of a function group

Hi experts,
How can I call a screen of a function group from another function and then return to the place of call?
I have my own function and I need to call the screen of a certain function group.

Hi.
If there is function module A, which calls screen N assigned to function group B,
so to call screen N,
you should call function module A within your function module.

Similar Messages

  • How to access the screen from one function group to other function group

    Hi Experts,
    How to access the the screen from one function group to other function group.
    Please help me on this , Bcoz it is client requirement i need to finish this urgently.
    Please
    Thanks
    Basu

    HI ,
    You can do a call transaction or submit and return
    Regards,
    Sooness.

  • Calling subroutine in another function group

    Hi all,
    I want to include a call to subroutine TKKA1000_FUELLEN in function group kkag in my custom program. Can I do that? I come from a C/JAVA baclground in which I could INCLUDE the class or set of programs with a simple statement. can i do the smae here?
    regards,
    Mat

    HI,
      Check the below code....
    <b>PERFORM form IN PROGRAM prog.</b>
    Additions:
    1. ... USING    p1 p2 p3 ...
    2. ... CHANGING p1 p2 p3 ...
    3. ... TABLES   itab1 itab2 ...
    4. ... IF FOUND
    In an ABAP Objects context, a more severe syntaxcheck is performed that in other ABAP areas. See Passsing SY-REPID not allowedand Receiving SY-SUBRC not allowed.
    Effect
    This variant is similar to variant 2 (externalperform). However, here you can specify the names of both thesubroutine and the program in which it occurs dynamically at runtime.If you do this, you should place the variables form and prog in parentheses. The names in form and prog must beentered in uppercase, otherwise a runtime error occurs. If you do notspecify any additions (such as USING) you do not need to specifythe program after IN PROGRAM. In this case, the system looks forthe subroutine in the current program.
    Example
    DATA: RNAME(30) VALUE 'WRITE_STATISTIC',   "Form and program
                                               "names must
          PNAME(8)  VALUE 'ZYX_STAT'.          "be written in
                                               "upper case
    PERFORM (RNAME)         IN PROGRAM ZYX_STAT.
    PERFORM WRITE_STATISTIC IN PROGRAM (PNAME).
    PERFORM (RNAME)         IN PROGRAM (PNAME).
    All three PERFORM statements have the same effect, that is,they call the subroutine 'WRITE_STATISTIC', which is defined inthe program 'ZYX_STAT'.
    Notes
    Dynamic PERFORM statements require more CPU time, since the system has to locate the subroutine each time.
    Regards,
    Vara

  • How to avoid incorrect calling screen sequence

    Hi Techies,
              I have got to enhance std transaction where I need to call  a custom screen which is defined under different funtion group.
    In that screen, I have a command button  to cancel the screen, When I use 'Leave screen' it is calling some screen from other
    function group. All I need to do is to terminate the screen on clicking
    cancel button, I do not need to call next screen of the same froup where new screen defined
    I appreciate any inputs on it
    Thanks
    Sasnthosh

    HI,
    Did you try with this
    SET SCREEN 100. " Here 100 is the screen you wan to navigate to
    LEAVE SCREEN.
    It will terminate current screen and leaves to 100.
    Regards and Best wishes.

  • 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

  • Doubt in Selection-Screen for Program type "Function Group"

    Hi Gurus,
    I created a Function group in that i created one screen and writtem the Screen flow logic. In that screen I called a Function module "COMPLEX_SELECTIONS_DIALOG" For Creating a selection-Screen.
    The code snippet is like below.
    CASE ok_code .
        WHEN c_clk1.
          CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
         EXPORTING
           title                   = text-002
           text                    = 'Material Number'
           signed                  = 'X'
            lower_case              = ' '
            no_interval_check       = ' '
             just_display            = ' '          " Un commented by Srihari
             just_incl               = 'X'          " Un commented by Srihari
            excluded_options        =
            description             =
            help_field              =
            search_help             =
           tab_and_field           = st_tab
          TABLES
            range                   = r_matnr
         EXCEPTIONS
           no_range_tab            = 1
           cancelled               = 2
           internal_error          = 3
           invalid_fieldname       = 4
           OTHERS                  = 5.
    it works fine. But the problem is if i click the multiple selection button for the select-option in selection screen and enter the values and copy those value. In the multiple selection button green button is not coming like noram report selection-screen. Please remember I used the program type as "Function Group" not "Module Pool".
    Please send your suggestions.
    Thanks,
    Srihari.

    Ok, I am not 100% sure, if I understand you correctly, you said, you created one screen to 'simulate' a standard selection screen behavior without using select-options statement?
    If that's not correct, could you please post a few more details on what exactly you are doing.
    I had to 'simulate' a select-option behavior which I did as follows:
    - I created a range variable to store the values (s_ctby)
    - on the screen I defined the LOW (s_ctby-low), HIGH (s_ctby-high) and the multiple selection field pushbutton
    - In the PBO I set the icons for the multiple selection pushbutton
      READ TABLE s_ctby INDEX 2 TRANSPORTING NO FIELDS.
      IF sy-subrc NE 0.
        gv_createby = gc_icon_enter_data.
      ELSE.
        gv_createby = gc_icon_disp_data.
      ENDIF.
    - In the PBO make sure that any values entered on the screen are transferred to the range
    * transfer any changed values into the correct range for user transaction
    * (screen 0110) because that screen just 'simulates' a selection screen
    * so we have to make sure that any data the user enters in the selection
    * fields is passed into the appropriate ranges
      IF sy-tcode EQ gc_trans_user.
    *   created by
        IF NOT s_ctby-high IS INITIAL.
          s_ctby-sign   = c_i.
          s_ctby-option = c_bt.
          IF s_ctby[] IS INITIAL.
            INSERT s_ctby INDEX 1.
          ELSE.
            MODIFY s_ctby INDEX 1.
          ENDIF.
        ELSEIF NOT s_ctby-low  IS INITIAL AND
                   s_ctby-high IS INITIAL.
          s_ctby-sign   = c_i.
          s_ctby-option = c_eq.
          IF s_ctby[] IS INITIAL.
            INSERT s_ctby INDEX 1.
          ELSE.
            MODIFY s_ctby INDEX 1.
          ENDIF.
        ELSEIF s_ctby-low  IS INITIAL AND
               s_ctby-high IS INITIAL.
          DELETE s_ctby INDEX 1.
        ENDIF.
    - If the user hits the multiple selection pushbutton
        WHEN gc_fc_create_by.
    *     if the user hits the multiple selection button on the screen
    *     we call the standard SAP functionality to show the multiple
    *     selection popup SAP uses on a standard selection screen
          CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
            EXPORTING
              title             = text-t02
            TABLES
              range             = s_ctby
            EXCEPTIONS
              no_range_tab      = 1
              cancelled         = 2
              internal_error    = 3
              invalid_fieldname = 4
              OTHERS            = 5.
          IF sy-subrc NE 0 AND NOT sy-msgty IS INITIAL.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    *     now update the header line so the screen fields display the correct values
          CLEAR s_ctby.
          READ TABLE s_ctby INDEX 1.
    Hope that helps,
    Michael

  • Calling custom screen inside a function module

    This is regarding calling a screen as a pop up from a function module.How do I capture the values that would be entered in the fields of that pop up screen?Do I use ABAP memory or SAP memory or is there any other alternative?Please suggest.

    Hi savitha,
    When you create the Custom Screen, you can attach that custom screen to the main program of the function module itslef.
    The TOP Include variables can be used as screen fields and hence you don't need to store the data entered in the screen, anywhere else.
    The data will be readily available in the global variables itself in the whole function group..
    Thanks and Regards,
    Kunjal Patel

  • Call the subscreen from a function group

    hi experts.
    i have created a module program in which i need to call a subscreen. the sub screen is created in a function group .
    how can i call it.
    thanks
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 7, 2008 11:45 AM

    deepu K,
    I always have the same problem in such cases.
    Your hints concerning se38 and deleting with /h are very helpful but
    it is diffucult to locate the right location of this problem. I have followed
    your instructions and I get this:
    PROCESS AFTER INPUT.                    
      CHAIN.                                
        MODULE EXIT.                        
        FIELD: RS38M-FUNC_EDIT,             
               RS38M-FUNC_HEAD,             
               RS38M-FUNC_DOCU,             
               RS38M-FUNC_TEXT,             
               RS38M-FUNC_SSET.             
          MODULE SET_XCODE_SE38.            
        FIELD RS38M-PROGRAMM:               
          MODULE PROGRAMM.                  
        MODULE FUNCTION_MENU.               
      ENDCHAIN.                             
      MODULE MNGR_PAI.                      
    Is generally any way to find out very quickly the affected loacation
    in such cases ?
    Regards
    sas

  • How to create a transaction code for a function group with screen 100 as st

    Hello ,
    I have requirement where I need to create a function group and create screen 100, 200, 300 and include the function in the screens.
    Customer asked me to create a transaction with the screen 100 as the starting screen.
    Can you please let me know how to create a transaction code for a function group with screen 100 as starting screen.
    [ It is not a module pool program ].
    Thanks
    Prashanth.
    Moderator message - Please ask a specific question and do not ask the forum to do your work for you - post locked
    Edited by: Rob Burbank on Jun 2, 2009 11:49 AM

    Go to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
    Name of screen field:                               Value
    D_SREPOVARI-REPORTTYPE                RW
    D_SREPOVARI-REPORT                        ZPCA
    Save and transport accordingly.

  • Call screen in Function Module

    Hi all,
    I want to call a Screen in function module.Is it possible?
    If possible.How can I do that?
    I tried calling a screen from a function module but the PAI module is not getting accessed.
    I am able to see the screen but when I click on the push button the cursor is not entering the PAI.
    I maintained the FCT codes for the push buttons...dont suggest me to do that.
    If anybody know it, please help me.
    Thanks in advance...................
    regards,
    vinil.
    Edited by: vinil kumar aturi on Jul 1, 2009 4:40 PM

    It is possible, not really different than calling from a program. After creating screen from SE80 tcode look at the screen and PBO, PAI blocks.
    If your function module generate a popup screen you must create your gui status in dialog box type. You can also check code in popup_to_confirm fm to make it clear.

  • 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.

  • Acces to Object  of calling Function-Group

    Hello ,
    in Functiongroup IQS0 I have a Textedit-control. This Function-group calls a FM from another Fuction-group(XQQm).
    From XQQM I want to manipulate the Textedit-Control like I can manipulate Data from a calling program.
    see:
    data:fieldname '(Sapliqs0)Field
    ' --> can this be the textedit-control
    Fieldsymbols: <fs>.
    Assign <fs> to (fieldname)
    <fs> = 'Manipulated'
    Is it possible ?
    Best regards
    Simone

    Hello Simone
    You may have a look at the following documentation:
    [SAP User Exits and the People Who Love Them|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8]
    Regards
      Uwe

  • Function group memory with RFC calls

    We have a system where a web front-end interacts with our 4.6C system through RFC calls.
    I am having a number of problems where variables declared in a function group are not being cleared out between separate RFC calls to functions in the same group.
    I would not have expected separate RFC calls from an external system to use the same memory area.
    I have seen this happen at other sites too, but have never found an explanation for it.
    Has anyone else experienced this problem and if so can you give me more information about why it happens?
    Thanks for you help,
    Denis.

    This does make sense as global data within a function group is accessable by all function modules of the group.  Normally, in the ABAP system, you call multiple function modules of the same group, and they all share the data.  If you are calling from outside the system, I would expect a different behavior if you are connecting one by one.  But if you are using a pooled connection, this may be the issue.  Not sure though.  It seems that the session on r/3 has not ended and you are accessing the same when calling the second function module.  Is there any function module of the group that looks like it is a "refresher".  In some groups, there is a function module that will refresh the global data. 
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db992335c111d1829f0000e829fbfe/frameset.htm
    Regards,
    Rich Heilman

  • Function group in tablenaintenance generator.

    hi experts,
           can anybody please tell me why we create a function group
          while creating a table maintenance generator?
    what is the utility of creating a function group.
    regards
    pankaj

    Function Groups
    Function groups are containers for function modules. You cannot execute a function group. When you call a function module, the system loads the whole of its function group into the internal session of the calling program (if it has not already been loaded). For further information, refer to Organization of External Procedure Calls.
    The following diagram shows the structure of a function group: The name of a function group, fgrpcan be up to 26 characters long. This is used by the system to create the components of the group (main program and corresponding include programs). When you create a function group or function module in the Function Builder , the main program and include programs are generated automatically.
    The main program SAPLfgrp contains nothing but the INCLUDE statements for the following include programs:
    &#65399; LfgrpTOP. This contains the FUNCTION-POOL statement (equivalent for a function group of the REPORT or PROGRAMstatement) and global data declarations for the entire function group.
    &#65399; LfgrpUXX. This contains further INCLUDEstatements for the include programs LfgrpU01, LfgrpU02,... These includes contain the actual function modules.
    &#65399; The include programs LfgrpF01, LfgrpF02,... can contain the coding of subroutines that can be called with internal subroutine calls from all function modules of the group.
    The creation of these INCLUDE programs is supported from the ABAP Workbench by forward navigation (for example creation of a subroutine include by double clicking on the name of a subroutine in a PERFORM statement within a function module).
    You cannot declare a COMMON PART in a function group. Function groups have their own table work areas (TABLES). Function groups encapsulate data. In this respect, they are a precursor of ABAP Objects (see From Function Groups to Objects ).
    All of the function modules in a function group can access the global data of the group. For this reason, you should place all function modules that use the same data in a single function group. For example, if you have a set of function modules that all use the same internal table, you could place them in a function group containing the table definition in its global data.
    Function groups, like executable programs and module pools, can contain screens (selection screens and lists) as components. User input is processed either in dialog modules or in the corresponding event blocks in the main program of the function group. There are special include programs in which you can write this code. In this way, you can use function groups to encapsulate single screens or screen sequences.
    In SAP, it is a function group - instead of function - that is loaded into active memory.
    Function ( or function module ) is the one that you call from the program to do things.
    A function group contains functionally related function modules, global variables and procedures .
    To display / edit function module you use SE37,
    To display / edit function group you use SE80 .
    Reward if found helpful,
    regards
    palak

  • Exporting data from one function group to another

    Dear all,
    can you pls provide the solution for the below.
    in my requirement two function groups are there. one is standard function group & other is user specific function grp.
    in the standard FGRP i have one SAP standard screen xxx, & one user created screen yyy. from xxx screen call goes to the yyy screen. then from yyy  call goes to the screen zzz which is in user specific FGRP.
    how to export the data (i.e from structure) from screen yyy which is in one FGRP to screen zzz which is in some other FGRP.
    Regards
    Venkat

    Venkata,
    The receiving FM should have a parameter under TABLES for your structure.  You have to put the structure data in an internal table, and then read table ... index 1 to retrieve it both in the FM, and in the calling program.  Upon return to the calling program you wil again need to read table ... index 1 to retreive it and restore it to the structure you process in your calling program.

Maybe you are looking for

  • JMS Receiver channel EOIO

    Hi, In SAP help, for one of the parameters of JMS Receiver channel it is mentioned that: Delivery Mode of Message Producer : Specify the quality of service of the message producer. You have the following options: u2022        Persist JMS Messages in

  • X79A GD65 (8D) Sub Zero cooling issue getting 91c ??

    Hi All Been on phase for years just a fyi Issue is on this board using phase shows 91c and locks the settings to stock speeds?? on air or water no issues I can get 5.0 seems as soon as I go on my SS which goes -50c I cant OC as the cpu temps shoot ri

  • Tab Order works in Acrobat, but not Reader?

    Using LiveCycle 8.0, I set the tab order in this fiscal chart so the order would flow in the direction of the arrows depicted in the chart below. Saved the LiveCycle doc; then I opened it in AcrobatPro 8.0 and enabled Reader usage rights. Saved file.

  • ZFDAgent causes "Create overlay failed" error for DVD players

    After installing ZFDagent on XP computers, I've noticed (on two I've checked so far) that the DVD players won't play movies anymore. I get an error saying "create overlay failed". The rest of the error is worded slightly different for different softw

  • How to activate aggregate after deactivation

    Hi, I was supposed to delete some requests from Cube, so first i deactivated my existing aggregate. And i deleted my requests from the cube. But after i refreshed the cube, all my existing requests in the cube doesn't contains TICK mark against  roll