Copy Standard Fucntion module

Hi,
I am copying the standard fucntion module in R/3. My requirement is i would like to make changes for standard and create the generic. I am getting the Interface error for the function module while copying as it has related Type Group. Can anyone help by providing me the inforamtion how to copy type group for this function group.
Thanks

Sorry, it cannot be an acesskey information because i am copying. It cannot be an authoriation as i have the developer access.
It is the Function Module -> improt tab for the standard function module , they have used type groups which is not getting copied while copying the functiona module. Is there is any way which can help me to resolve this...
I am ware that it is not the ebst practice to copy but i have a small modification hence i was interested in copying rather then creating new,
thanks

Similar Messages

  • Copy Standard Function modules  to Z Function modules

    Hello,
    I have a requirement like , I need have a typical requirement where i need to copy few function modules in the same function group , in  this regard i copied 4 function module and calling performs with the program name , but i am unable to achive the requirement , Function module is getting Dump,
    Can any one explain the standarded function modules and place it in Z function group. or is it possible to include standard function group in to Z function group ?
    How to get reslove ?  please guide ...
    Thanks In Advance.
    With Best Regards
    Naganjaneyulu.P.V

    Hi Naganjaneyulu,
    If you copy it will be similar to Standard. But you can modify those FMs as you like which will not be possible in standard. Also if you solely copy the FM, If that FM consists or depends on the screens or Includes which are present in the Function Group then there will be syntax errors and shortdumps. The Reason for your short dump might be this.
    If you are still not happy with this approach, Kindly paste the standard FM that you are trying to clone and the short dump that you are encountering.
    Thanks,
    Sai

  • Copy Standard Functional Module

    In standard FM, DETERMINE_TXJCD_EXTERNALLY. City and county are optional. What effort it takes to makes this fields as mandatory.
    Please let me know.
    Can I copy this Standard FM to custom funtional module and just say check the check box in export parameters.
    Please let me know. Thank you.
    Regards
    Madhu

    Hi,
    My suggestion will be
    Write a wrapper function module of DETERMINE_TXJCD_EXTERNALLY with the same fields
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(COUNTRY) LIKE  TTX_TXJCD-COUNTRY
    *"     VALUE(REGION) LIKE  TTX_TXJCD-REGION
    *"     VALUE(CITY) LIKE  TTX_TXJCD-CITY OPTIONAL
    *"     VALUE(COUNTY) LIKE  TTX_TXJCD-COUNTY OPTIONAL
    *"     VALUE(ZIPCODE) LIKE  TTX_TXJCD-ZIPCODE
    *"     VALUE(PROCEDURE) LIKE  TTX_TXJCD-PROCEDURE OPTIONAL
    *"     VALUE(ID_TAX_EXT) LIKE  TTX_TXJCD-ID_TAX_EXT OPTIONAL
    *"     VALUE(NO_DIALOG) LIKE  TTX_TXJCD-ID_TAX_EXT OPTIONAL
    *"  EXPORTING
    *"     VALUE(TXJCD) LIKE  TTX_TXJCD-TXJCD
    *"     VALUE(CITY) LIKE  TTX_TXJCD-CITY
    *"     VALUE(COUNTY) LIKE  TTX_TXJCD-COUNTY
    *"  EXCEPTIONS
    *"      TXJCD_NOT_FOUND
    *"      TXJCD_NOT_UNIQUE_IN_NO_DIALOG
    *"      EXTERNAL_TXJCD_NOT_REQUIRED
    *"      TXJCD_PROCESSING_NOT_REQUIRED
    *"      RFCDEST_NOT_FOUND
    and within that wrapper function module make fields mandatory. This will reduce your effort during patches updattion. otherwise if you are copying the standard function module, then after applying the patches to original function module you need to redo the changes mannually in to your  copied function module

  • Standard Fucntion module error

    Hi,
    I need to calculate the standard deviation.  For this there is a function module RRT_MATH_STDDEV exist. But this standard function module is not working. It is giving error as 'Error generating the test frame' when executing.
    I tried by calling this function module in program also but there also it is not working. Can please help me in this regards.
    Thanks & Regards,
    Murali.

    It wont popup any error message & will continue with the next ABAP statement.

  • Copying Enchancement spots from standard function module to Z fun module

    Hi All,
    I copied standard function module SD_BACKORDER_LIST to my Z function module . But i am unable to copy the enchancement spots available in the standard function module . please give me the suggestion to copy this to my Z function module .
    Regards
    R.Vijayakumar

    Hi Martin,
    A SAP note will soon be released about this (compatible back to 6.40)
    There is a light version available in 7.3 to transfer data between PFCG and ST01.
    There is an optional Rolls-Royce version available for Z-codes / functions and the import parameter specific checks. The trick is to keep the original context of the call and maintain the proposals to the RFC enabled entry point, and know whether the tcode triggered it or the external caller.
    There is a service delivered which is context sensitive (e.g. the message type of the IDOC determines the application authorizations needed for synchronous processing, so SAP cannot deliver SU24 reliable proposals and the ones they tried for the /SDF/ are very isolated..).
    You need a "common functions" role for the basic scenarios like you have for interactive SAPGUI end-users, and then you need a runtime analyzer to perfect SU24 context sensitively. You also need to distinguish between a local BAPI (context is tcode) and remote one (context is RFC protocol, or http protocol... etc)
    That comes with the SAP Note...  (it is not released yet. I will update this with the number in the next weeks.)
    --> Just a little heads-up and insight that there is some light at the end of the tunnel and you can even order it as a service from SAP to fix your Z-problems for you. The question happened to match that which I know SAP is working on.
    Cheers,
    Julius
    Disclaimer : I have done many such spagetti fixes in the wild and developed the tool and services for customer scenarios together with SAP from my experiences, it is one of my favourite topics --> the Rolls-Royce version with Z-functions, hard-wired external RFC clients and configuration scenario dependent checks includes consulting fees if you want SAP to secure your own scenarios for you. The tools help this, but you cannot fully automate or propose it fro SU24 in "factory settings".

  • Standard funtion module to fetch IDOC in xml format

    Hi Experts
    I am not from ABAP background, am working in SAP PI. I have a queay regarding standard function modules in ABAP.
    I am wrote a java code to fetch IDOC by making a call to the ABAP standard functions. (passing an idoc number and fetching the idoc)
    The IDOC that i am receiving is in Flat format, but I want to fetch the IDOC in XML format.
    Is there any Standard fucntion module to fetch the IDOC in xml format?
    regards,
    Osman Abdul Aziz Jabri

    hai ,
                      in SE37 tcode
                      Check with IDOCTOXML u get FM 's
                                                 use sutable ur requirement.
    Moderator message: please do not use SMS speak in these forums.
    Edited by: Thomas Zloch on Jan 5, 2011 6:03 PM

  • Deactivating the standard func. module in FQEVENTS

    Hi,
    I have a requirement to add a z func. module to a event and there are standard func. modules already activated to this event could anyone please help me out how to deactivate the standard FM.
    My requirement in detail is i have 9 standard func. modules assigned for an event which are in active status now i need to copy the standard func. module to a zfunc. module.
    i have copied standard func. module no. 8 to a zfunc. module and have assigned the same no. 8 to my Zfunc. module from the change customizing, but the problem here is both the standard and zfunc. modules are in active state which in turn calling the standard func module first and not serving my purpose so i need to deactivate the standard func. module ..
    Thanks in advance,
    Venkat Mahesh Addanki.

    Hi Rajendra,
    Thanks for the reply.. but one small problem the change customizing button is only available for IS specific fm modules whn u click that it showing the zfunc.module in tabstrips i cannot find the standard fm here to delete.
    I think we can do the table maintenance for the below tables will serve the purpose right??
    TFKFBS - Table for STANDARD FMs
    TFKFBC - Table for CUSTOM FMs
    thanks in advance,
    Venkat Mahesh Addanki

  • COPY THE STANDARD SAP MODULE POOL PROGRAM

    HOW I CAN COPY THE STANDARD SAP MODULE POOL PROGRAM ((INCLUDING SCREENS) INTO Z REPORT?

    Hi,
    Go to transactionSE38 ABAP Editor.Type the program name.Click copy.It will ask whether you want copy documentation,screens,etc.,
    Check mark it.

  • SD Payment card deletion in Sales order (Standard fucntion?)

    Hi all,
    I have this below scenario regarding updating of Payment Card in a sales document (Header level)
    Requirement is to need to be able to add/delete a payment card when an cusotmer does it online.
    An customized RFC(Z_RFC_1)is called form the outer application RFC is called which internally calls
    Z_RFC_1 internally calls SD_SALES_HEADER_MAINTAIN.
    Here in SD_SALES_HEADER_MAINTAIN is a structure FXZAKAKOM. Here I am passing
    I have the following information to pass.
    TYPZM     Means of payment for classifying payment card plan lines
    CCINS          Payment cards: Card type
    CCNUM     Payment cards: Card number
    FKSAF     Billing status for the billing plan/invoice plan date
    UPDKZ     Update indicator
    When I send UPDKZ = u2018Iu2019 a payment card is created for that sales order.
    Tables: FPLA, FPLT, FPLTC. (Tables for payment card).
    Linked to VBAL-RPLNR
    But when I wan to delete a card and I send u2018Du2019 in field FXZAKAKOM-UPDKZ (SD_SALES_HEADER_MAINTAIN). It does not work.
    After debugging I found that I can delete the payment cards by using function BILLING_SCHEDULE_SAVE. But here the problem is the link in VBAK-RPLNR does not get updated. Hence I have to clear VBAK-RPLNR using a UPDATE statement. (Which is not advised).
    Irrespective of the above scenario can any one let me know how a payment card can be deleted from a sales order using a standard function module.
    Note: Currently I am using SD_SALES_HEADER_MAINTAIN.
    Thanks in advance.
    Kiran

    Hi manam narayana
    Either  you need to have a separate sales document type , but with the same sales document type OR ,it is not possible.So if you want to make it mandatory payment card field mandatory then first of all copy document type OR to ZOR . Now use transaction variants  using t.code SHD0 and there give document type ZOR and business object as BUS2032.and make the feild payment cards as required .
    Now create the sales order using document type ZOR for the customers for whom payment cards should be mandatory.
    But with the same document type i think it is not possible.Because if you make this field mandatory it will affect to all customers
    Regards
    Srinath

  • Problem in copying the function module.

    Hi All,
    I have to Copy the standard function modules "FI_ITEMS_DISPLAY" and "ITEM_DERIVE_FIELDS".
    The Function group for both of above FM is "FI_ITEMS".
    What i did is I went to SE80 ,I copied down the Function Group 'FI_ITEMS' to 'ZFI_ITEMS'.
    later on i copied the standard function modules 'FI_ITEMS_DISPLAY' and 'ITEM_DERIVE_FIELDS'
    to the 'ZFI_ITEMS_DISPLAY' and 'ZITEM_DERIVE_FIELDS' resp.in the same function group 'ZFI_ITEMS'.
    Then i made some changes to these copied modules (I did change the structure of it_items from RFPOSXEXT to ZRFPOSXEXT in ZFI_ITEM_ITEM_DISPLAY,and same change in ZITEM_DERIVE_FIELDS but for the parameter s_item).
    And finally i activated these FM..and it got activated also.
    But later on when i used these FM in my report...error occured saying that -
      "The name of the function module to be called is "ZITEM_DERIVE_FIELDS".
    but "ZITEM_DERIVE_FIELDS" cannot be found in its function group. "
        hence i thought of activating the function group ZFI_ITEMS,which was inactive before to this...but when i tried activatin this FM it was giving hell lot of errors showing conflict occured at diffrent places,I think just because of the change (structure of IT_ITEM chnged from RFPOSEXT to customised ZZRFPOSXEXT).
    I am helpless in removing all this errors ...
    Can anybody suggest where did i go wrong?
    And what is the right way to copy the function module.?
    If possible reply me ASAP.
    Thanx in advance.

    Hello Sanjay,
    First, delete your new function group and
    Do like this:
    1. copy FI_ITEMS_DISPLAY to zFI_ITEMS_DISPLAY from Se37. here you find a button on the application toolbar to do it. It also asks about the Function group. GIve the FG as
    ZFI_ITEMS.
    Activate all the related objects
    2. same for the other FM. Use the same FG. and activate the related objects.
    Regards,
    Naimesh

  • Copy the Function Module one server to another server

    Hi Guy's,
    Please help me How to copy the Function module from one server to another server.
    Present requirement is like this, copy the FM from DRH-100 to NRH-100.
    Thanks and Regards,
    Sai

    if it is a zfm, u might have assigned a TR when cretaing this FM.so u need to relese this TR to the desired system.contact ur BASIS for the transport lanscape.
    if it is a standard FM, u better copy this FM to a ZFM and make it as RFC enabled if it is not RFC enabled and call this ZFM from the system in which want to call this FM by giving the logical system id in the destination while calling this FM.

  • Error in copy of function module  FIEB_PASSWORD_ENCRYPT as a Z FM

    Hi Gurus,
    I want to make a copy of function module  FIEB_PASSWORD_ENCRYPT as a Z FM.
    but after coping standard FM when i am trying to activete it ,it is showing one error
    *form decrypt_password does not exist.*
    if possible give me the solution step by step.
    Regards,
    Susheel Joshi

    do something susheel,
    create an empty function group:ZFIEB_PASSWORD.
    Now in the attribute of your ZFM, just add this name (ZFIEB_PASSWORD)in the FUNCTION GROUP section.
    in the main program of this FG-- (ZFIEB_PASSWORD)i, copy the includes given in function group:FIEB_PASSWORD.
    Add these codes:
    *   System-defined Include-files.                                 *
      INCLUDE LFIEB_PASSWORDTOP.                 " Global Data
      INCLUDE LFIEB_PASSWORDUXX.                 " Function Modules
    *   User-defined Include-files (if necessary).                    *
    * INCLUDE LFIEB_PASSWORDF...                 " Subprograms
    * INCLUDE LFIEB_PASSWORDO...                 " PBO-Modules
    * INCLUDE LFIEB_PASSWORDI...                 " PAI-Modules
    INCLUDE LFIEB_PASSWORDF01.
    the intension is to copy all the includes from this pool.
    you should be able to do it now
    ags.n
    Edited by: ags on Oct 30, 2009 3:19 PM

  • Copy standard transaction

    Hi,
    I want to copy standard transaction CO02.But its a function pool program. I am getting a dump after copying can anyone guide me on this??
    <REMOVED BY MODERATOR>
    Regards,
    Sowmya.
    Edited by: Alvaro Tejada Galindo on Jun 12, 2008 2:23 PM

    Hi Sowmya,
    Dump occurs cause the function modules in that function pool u copied with z names.
    those function modules are used again in that copied funtion pool.
    so u need to change the CO02 function pool function modules to Z function modules in that Zfunction pool program.
    paste the dump so we can infoprm u better..
    Regards,
    Syed A

  • Change the standard function module

    The standard function module FI_DUPLICATE_INVOICE_CHECK will check whether an invoice/credit memo has already been posted where all of the following attributes match: Company code, vendor, currency, document date, reference number (If a reference number was entered in the current invoice/credit memo). If no reference number was entered in the current invoice/credit memo the system checks whether an invoice/credit memo has already been posted where all of the following attributes match: Company code, vendor, currency, document date, amount in document currency
    my requirement is
    The above functionality described in the short description doesn’t provide for the need within AP to check on duplicate invoices. The functionality in FI differs from the functionaltiy provided in LIV and therefor needs to be aligned. The risk of posting duplicate invoice entry is eminent since the check is dependent on all parameters. For a good duplicate invoice number check we need FI to check on Vendor and invoice reference within the same fiscal year. To modify rules, copy FI_DUPLICATE_INVOICE_CHECK, modify the checks and then call the copied function module from FB60. The remaining field check in the standard function module should be deleted.
    how  to achive this. i didn't understand the requirement .Please give me any suggestion for this.

    Hi ,
    I think what you are saying is the functionality given in Logistics Invoice verification is not suitable for FI Invoice.
    If I am correct , then there is a configuration setting in SPRO where you set check for duplicate invoice. It has just three checkboxes
    a) Company code b) Reference number c) Invoice date
    so I think this configuration setting will suffice your requirement.
    Please let me know.
    Amit

  • Copy standard tcode

    hello,
    I want to know that how  to copy any standard tcode to ztcode.
    e.g suppose i want to copy mm01. then.
    Please tell me how  .

    Imagine copying VA01, the module pool behind it, dozens of includes etc. to customer name range. From that moment that copy is frozen and no SAP patches for the standard transaction will be applied to that copy, and you will have a hard time implementing these manually into your copy (no SNOTE support...).
    Often, people only copy those includes that need to be changed, otherwise the standard includes are used in the copy of the module pool. Now imagine that during an upgrade SAP changes code in standard includes, e.g. referencing variables that your copy of the TOP-include does not know about. You will have syntax errors in your copy that are a pain to resolve.
    In addition, often there is entries in T...-tables (e.g. screen flow) that contain the name of the standard transaction or program, and your copy will not work properly without those entries being copied as well.
    I am speaking from own experience here, by all means look for other solutions than to copy a complex SAP standard transaction.
    Cheers
    Thomas

Maybe you are looking for