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.

Similar Messages

  • 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

  • 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

  • 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

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

  • Copying a function group gives error

    Dear All,
    I am copying a function a group JV05. I have copied evrything i.e all the includes, TOP etc. But when i activate the group it gives me error. What could be the problem? I have tried to activate the includes & TOP individually. Still it gives error for some variables. Please help me out.
    Thanks in advance!
    Regards,
    Prasad

    hi ,
    **Go to se80..**
    **1. Select function group**
    **2. Enter JV05 as name  "-----> click on spectacles button.**
    **3. Right click on JV05**
    **4. Select copy  "--------> give a Zfunction group name**
    **5. "Copy all the function modules in this function group with zfunctionmodules.**
    **6. Save & Activate.**
    Regards,

  • System error: Error when copying parameter function group CR01

    Dear friends
    I am getting the above error while doing the Backflushing in REM.
    It occurs when backflushed quantity is issued ,and while confirming the
    ACTUAL ACTIVITES above error occurs..........
    We have upgrade the system from SAP 4.7 to ECC6.0.
    It is giving some error in CRM system but we don't have CRM system.......
    Message displayed is as below..................
    System error: Error when copying parameter function group CR01
         Message no. CR085
    Diagnosis
         Internal error.
    Procedure
         Repeat the transaction.
         If the error occurs and you have a CRM System connected to your ERP
         System, the document may have been archived in the CRM System.
         If the error occurs again, inform your system administrator. If the
         error cannot be corrected, call the SAP Hotline directly. Describe which
         steps preceeded the error.
    Thanks& Regards
    Sandeep
    Message was edited by:
            Sandeep Bhowmick

    Hi Sandeep
    Standard R/3 does not allow backflush without any operation. You need to have an operation to do a backflush.Error message CR 085 is issued because there is no operation in the routing of the material backflushed. System should issue an error when no operations are found in routing. Although, error message CR 085 is not correct, more appropriate message RM 824 for this a program correction is requried check note (691161).
    Regards
    Prasad
    Reward if useful

  • Copy of Function Group SETB giving error

    Dear All,
    I tried to copy the standard function Group SETB to ZSETB(Which is having SE16 transaction attached) but during activation the include is giving error as "The Field TABNAME is unknown". I have just copied the entire functional group along with function modules. No clue how I can avoid the error. I deleted the include LSETBF10 and re-copied, but error is persisting. Do you have any clue???
    Thanks and regards,
    AD

    Hi!
    Thanks for all your valuable reply. I could avoid the error but could not avoid another error: "The parameter INTTAB of the Global interface has already been defined outside the function". While double clicking on the error, I have reached to a hidden include (Not possible to browse through Navigtion) LZSETB$07. The include contains the following code:
      THIS FILE IS GENERATED BY THE FUNCTION LIBRARY.               *
      NEVER CHANGE IT MANUALLY, PLEASE!                             *
    FUNCTION $$UNIT$$ ZRS_TABLE_VIEW
             IMPORTING
                   VALUE(TABNAME) LIKE !DATABROWSE-TABLENAME
               DEFAULT 'TFDIR'
             TABLES
                   !FIELDTAB STRUCTURE !X031L OPTIONAL
                   !INTTAB
             EXCEPTIONS
                   !CANCELD
                   !GENERATION_ERROR
             $$GLOBAL.
    I assume that is a system generated include. The Global option in FM has automatically been copied during copy of the function group and the function module.
    Thanks and regards,
    AD

  • Error in creating function group

    Hi
    In my z function group, do i need to declare all the parameters used in function modules explicitly in any top include?.it was not declared as such in the standard function group from which i copied .

    Hello ,
    Sometimes when u copy any standard function group into ZFuntion group u will get some systax errors saynig some varaible is not defined .
    then
    goto SE37
    Enter the fucntion module  and get into function bulinder
    select EDIT Menu option and Interface Submenu option inthat u will find GLOBALIZE PARAMETERS and LOCALIZE PARAMETERS  Just do that operation u will be free of errors.
    regards

  • Error : Syntax check form not found in function group program

    Hi All,
    I have a function group ZMRMK. In its source code the function-pool SAPLZMRMK contains error
    "Form XYZ does not exits"
    There is an  include in SAPLZMRMK named  lzmrmkf01 : in this include there is an include lmrmkf02 . Here XYZ is called->
    perform XYZ.
    The form XYZ is written in LMRMKF16 and this include is  in function pool SAPLMRMK.
    Kindly suggest how to remove this error.

    Hi
    Yes you do
    But It seems many standard includes are missing in the Z-function group: perhaps this function group was created in another system or in another release?
    It's strange many includes are missing, this is a typical upgrade problem:
    A standard function group was copied, but only some components were copied, so the function group use Z-include and standard ones, now in the new system "old standard includes" calls new routine defined in new include, used in standard function group, but not in Z-function group.
    If it's so, you need to put the missing include manually
    Max

Maybe you are looking for

  • How can I get Thunderbird to propose an email address when I start to type that person's name?

    Hi! Please help me. I need to know what to do. This just happened today. Before, everything was fine. Starting today, when I type someone's name in the To box of my email, no email address comes up. I have to go to my address book to find out what it

  • Permissions repair takes hours, never finishes

    I've been doing some looking around the forums but haven't found an answer to my question. PROBLEM: Permissions repair takes FOREVER. I started a permissions repair task on the startup drive yesterday afternoon and it hadn't finished by this morning.

  • Flash player issue

    how do i down load adobe flash player an make it work

  • How to use destination function for javascript

    Hi, I used javascript:var a = window.open('OA.jsp?page=/oracle/apps/cdar/admin/brandupload/webui/SupportPG&retainAM=Y&OARF=printable', 'a','height=500,width=900,menubar=yes,toolbar=yes,location=yes'); a.focus(); in destination URL property, it can wo

  • Re: CCMS

    Hi, CCMS is pre-configured monitoring tool in SAP R/3 or we need to configure CCMS separetely after installation of SAP R/3. Please give more information about monitoring sap. vivek