Copying Function group includes

Hi all,
I am facing problem while copying function group. I am copying the function group in SE80 transaction . while copying i am able to copy the function modules in it only . but i need to copy includes in the function group. because i need to edit the code inside the includes. while copying  Function group standard includes are there in the Z function group.
Can any one help me out how to copy the includes also.
Thanks & regards
sreehari.p

Hi,
Transaction SE38 and copy object SAPL<FUGR> with all sub objects
<FUGR> = function group name
Regards,
Ivan

Similar Messages

  • Error - Copying Function Group STXW

    Friends,
    I am trying to copy Function Group STXW into Z_STXW with one function module CONVERT_ABAPSPOOLJOB_2_PDF.
    But I am not able to activate the main program SAPLZ_STXW. I get an error 'Field OTF is unknown'. But OTF is an internal table already defined in the function module CONVERT_ABAPSPOOLJOB_2_PDF (I have activated this FM). I also have activated all other includes.
    Please resolve. Thanks in advance.
    Warm Regards
    Sagar

    <u>Scenario 1(when you copied only 1 function module).</u>
    If you are able to successfully activate, then the problem may be with navigation index not being regenerated correctly. To do that, go to your function module display in SE37. Once inside the source code, in the menu, 'Utilities--> update navigation index' will do the trick.
    <u>Scenario 2(where you copied all the function modules)</u>
    Here the error is coming because the function module in question has its parameters declared as global. Probably when you copied yours are not. You can check that in attributes tab of the function module. To globalize your function module's parameters, you have to be in change mode. In the menu, 'Edit>Interface> Globalize parameter' will do the trick.

  • Copying function group

    Hi
    I am copying function group CORU (CO13 Transaction),
    but i am not been able to make a change in includes because they are not having a prefix "z",
    How to copy that includes  along with Function groups in my program with 'Z' prefix so that i can make the changes,
    I have to make customize transaction zco13 having some changes compare to SAP transaction ZCo13

    Vinod,
    When you are copying function group to ZCORU you need to also copy all FM's to ZFM's then the includes will also be copied.
    Regds
    Manohar

  • How to copy function group from one SAP system to another

    dear all,
    our company will set up a sub-company currently,and the sub-company want to copy some programs from our SAP system.
    how to pack and copy function group?
    pls help me,tks!

    Hello  Snow zeng,
    Will the 2 systems be connected ? I.e Same land scape ?
    If they are non connected systems, check this Wiki by Marcin [How to copy Repository Objects between non-connected SAP systems|http://wiki.sdn.sap.com/wiki/display/ABAP/HowtocopyRepositoryObjectsbetweennon-connectedSAPsystems]
    Regards

  • Program names L... are reserved for function group includes

    Hi All
    Im involved in a migration project from GTS  to ECC server where i have problem while creating a function group, when am creating a same include LZFR1T00 in ECC server am getting an error *'Program names L... are reserved for function group includes' Please help.
    Thanks & Regards,
    D. Sandeep.

    I'm not sure what GTS is, but I guess you'll need to go to SE80 and create a function group (Z...). SAP will automatically generate the include with the L... name.

  • Getting msg 'Program names L... are reserved for function group includes'

    Hi all,
    When I try to create a SAP standard Include which start with L, I get the message which says <b>''Program names L... are reserved for function group includes".</b>
    I have already created two standard SAP FMs.
    Please let me know how should I go ahead and create the Include.
    Thanks and regards,
    Anishur

    Hi,
    When you create the Function group, then if you look at the Fucntion group in SE80, then tehre inlcudes will be created, for FORMS if it will create the includes, and for TOP it will create the include, for L also it will create the Incldue(L referefs coding of subroutines).
    So, goto SE80 and activate the Include directly, then you can write the code in that include
    Regards
    Sudheer

  • FUNCTION GROUP INCLUDE S

    Hi all,
         i  got a program starting with " <b>LSS.</b>........."  it is a <b>function group include</b> .
    can u please tell me the <b>T-code and procedure</b> how to include this particular function group  include program.
    Thanks.

    Hi,
    goto the main prog of the group and just include your own include over there
    use tcode se 37
    Regards,
    siva chalasani.

  • Copy Function Group to New Name: Transport Question

    When I did this I only see in the transport Function Group with the Function Group Name under it. I would have expected to see all of the objects but I guess not?
    I suppose everything will go under thge Function Group name? ie. Includes, Function Modules, etc.?
                Thank-You.

    When I see a thread title like this, the first question I think is "Why copy the function group".
    Copying a complete function group leaves your system very open to future data corruption and other problems as patches etc change the code in the original group but do not get reflected in your copy.  A repair or enhancement to the original object has the advantage that SPAU will highlight any new versions from SAP allowing you to confirm that your change is still needed. 
    Another option is to create a custom function that calls the standard code with customer specific pre and post processing.  If both the standard and custom function are needed, then including logic based on transaction code, calling report, etc can handle this.
    It is interesting to work on the upgrade of a system where there has been significant copying of SAP code - you compare the "Z" version with the original SAP code in the pre-upgrade system and nearly always find differences due to OSS notes etc that were applied without thinking of the customer copy.
    Andrew

  • Reg copying function group

    Hi All,
    I want to copy the function group COISSELECT to ZCOISSELECT.I have done from SE80 transaction but the problem is I want to change some includes in this function group when I am copy it has been asked target function module names but it has not been asked the target include programs so I am not able to modify the includes in this function group.
    Please some body suggest some idea how to do this?
    Mahesh

    Copy the includes separately in SE38.
    Replace with the new include name in your FG where it is declared.
    For eg:
    INCLUDE ABC. "declaration in FG
    This needs to be replaced with INCLUDE ZABC.
    Automatically the FMs in the FG will start referring to the code in the new include.

  • Copy function group

    hi gurus, i've created a function group with severel function modules and all that stuff but i wonder if ist possible to download all the function modules, PAI, PBO and includes to the hard drive. Is there any FM that i can use to do that ?
    Thanks,
    Regards

    You can try with this -;)
    <a href="/people/alvaro.tejadagalindo/blog/2006/03/18/taking-good-care-of-z-function-modules good care of Z Function Modules</a>
    You can upload/download a FM....Not Screen events supported....But you get the complete source code -;) Including all Import and Export parameters -:D
    Greetings,
    Blag.

  • Copied Function Group to New Function Group Name

    After I did this why do some objects have blue text and some have black text in SE80 under the new function group name??
                   Thanks.

    HI,
    This exists to show you an inactive object on the Function Group.
    Try to activate the all objects in Function Group and the color will be changed.
    Regards.
    Marcelo Ramos

  • Copying of function group

    Hi all,
    Please help me in this issue.
    when i copy function group , i am ablw to copy the function modules but i am not able to copy the Inlcudes in the function group
    can anyone please explain how can i copy the includes also
    Thnaks in Advance
    K reddy

    Hi k reddy,
    it may depend on the release you use. I remember it was not that easy in the past as already described.
    Note that copying functions as well as includes you always need new names for copied objects.
    Now, if it is not too much work: Go to main program, see the INLUDE statements for the 'old' function groups includes. Change to new names and copy the includes manually to new name.
    Next time it may work.
    Or delete new function gropu and start all over again.
    Note: If any inluce includes other include statements: Those inludes you must copy and rename manually (if changes are required).
    Regards,
    Clemens

  • Regarding Function Group

    hi all,
    When i am trying to copy function group j1i4 to j1i4z( This i need to copy from j1i4 , i have acess key also).It is showing this error.  
    SAP names file for RAMI locked by another process
    Message no. PU815
    Diagnosis
    An operating system file (the SAPNAMES file of user RAMI) could not be accessed from the program that is running, since it is locked by another transaction.
    The name of the lock file is "/usr/sap/trans/tmp/RAMI.LOS".
    Procedure
    Execute the function again after a few seconds.
    If the message occurs regularly, contact your SAP administrator.
    what will be the problem.
    please suggest.
    Regards
    Reddy

    Try to copy to zj1i4 instead of  j1i4z and you may not need access key to do this. The custom objects shoul start with Z or Y. Otherwise you will have namespace conflict.

  • Function group cannot be processed

    Hi All,
    I have added a new field to an already created custom table. when trying to regenerate the table maintenance generator i get an information message "*function group cannot be processed*". The reason being that the function group is inactive. I tried to activate that function group. But then found that there were some errors because of which i couldn't activate it . it showed that an Include report was not found. That include is reserved for function group includes. What do i do to solve this problem.
    Edited by: Herwin Wilmet Dsouza on Dec 10, 2009 7:58 AM

    Hi,
    The best thing to do when you add a custom field in the custom table is to degenerate the TMG, the View and then activate the Table using SE14 (Database utility) and then from the View again use the TMG to generate the Maintainance Views.
    Yes, this is a lengthy process but at least this is good as it will ensure that the Function Group is activated and the views will work properly.
    Note : If you have added your own logic or code in the TMG for any additional functionality you need to take a backup of the code or all the relevant objects (e.g. Include Reports,etc) as once you do a new generation of the same function groups this will be over written.
    Hope this helps.
    Thanks,
    Samantak.

  • Function Group and Subroutines

    Hi all,
    I have two Function Groups.
    I have a subroutine defined in one Function Group and want to use same subroutine in another Function Group.
    Is there any way to do it, <u><b>without redefining same Subroutine in another Function Group?</b></u>

    Hi,
        either define subroutines in include
        and inlude in function group
         include ztest.
          perform abc .
          perfrom add.
    Function group ZFG
         include ztest.
    Function group ZFG1
         include ztest.
    <b>    or</b>   
    perform test(prog1).
    Regards
    amole

Maybe you are looking for