Option to mass migrate function modules in a function group to new SAP box

Hi All,
          We have a requirement wherein we have to move all the existing function modules to a new SAP box.
I heard that there is an option to download all function modules in a function group to text files and upload them to a new system at once without much progamming.
Please let me know if anyone knows how to do this.
Thank you,
Vasu

Hi Vasu,
why don't you just use CTS?
Create a transport that contains the objects you want to move. Then. assuming the target system is not in the same CTS landscape, move the files to the transport directory of the target system. Then in STSM goto the Import Queue and select Extras->Other Requests-Add to add your transport to the queue. Then import it as normal.
Cheers
Graham Robbo

Similar Messages

  • Function modules in a function group

    Hi
      hoe many function modules can a function group contain and can we create a function module with out import parameters.

    1. There isn't any limit.
    But whenever you use a FM in your program, system will allocate memory for all the data definition maintained in the TOP include. So, put only relevent FM's in the FG and create another FG, if it has a different purpose.
    2. Yes we can create
    Regards,
    Naimesh Patel

  • What is the difference between the normal function module and bapi function

    hi,
    what is the difference between the normal function module and bapi function module.

    Hi
    BAPI stands for Business API(Application Program Interface).
    A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    Regards
    Anji

  • Function modules from the function pool Z_MEREP_G (Message no. MEREP_00530)

    We installed a new system and imported the syncbo definitions to this new system.
    After the import and generation of all T01 SyncBOs we get an error. E.g. for MAM25_016:
    Function modules from the function pool Z_MEREP_GEN_T01_MAM25_016 contain syntax errors
    Message no. MEREP_00530
    After investigation the following syntax error is shown:
    Source code   LZ_MEREP_GEN_T01_MAM25_016U04                  Line     641
    The FORM "MAM25_016_CONV_NAME" does not exist, but there is a FORM with the similar name "MAM25_016_I_CONVERSION".
    "MAM25_016_I_CONVERSION".
    We are already using three systems D -> Q -> P. The export/import of files between these systems work okay. But not with the new system. All are on NW04 SPS 18. In the other systems the form is available.
    Does someone have an idea how to solve this?
    Thanks in advance,
    Benjamin de Rijke

    Hello Rahul / Karthick,
    Thanks for the tip, I already reimported these with no effect. Next to this I deleted the function modules for a Z-syncbo (our own developed one). But this didn't help as well.  The MAM-SyncBO function group can not be deleted because the system is not a developement system. We are not allowed to develop things in this environment.
    I have the feeling that it has something to do with the initial setup of this system. All the others were first on SPS15 were we developed the SyncBOs. At a certain time we updated the systems to SPS18 and developed further. No issues so far regarding the import / export of the files from D to Q and P.
    Now we initial installed a new system on SPS18 and on this one the generation failes with the mentioned syntax error.
    Kind regards,
    Benjamin

  • Can a function module call another function module

    Can a function module call another function module:-
      within the same function group
    (ii)  within different function  groups

    Hi,
    We can call function from another function. If there is a function which is like a calculator and all the operations are from different functions then we have to call the functions from the calculator function for different functions.
    If all the function are from same function group, Then the data is globally available to all the functions with in the group.
    Otherwise we have to declare the data definitions for each of the functions if they are in different function groups.  
    Yes it is possible to call a function module from another function module:-
    within the same function group
    (ii) within different function groups
    Reward.

  • Whether this function module K_DOCUMENT_UPDATE can send IDOC to Non SAP Sys

    Hi,
    I know function Module K_DOCUMENT_UPDATE can sent IDOC to R/3 systems.
    1.Whether this function module can sent the IDOC to Non SAP System?.
    2.How to make sure, that the function module can sent IDOC to Non SAP System?.
    Please advise.Thanks.
    Regards,
    Dinesh

    Hi Dinesh,
          Inside this function module K_DOCUMENT_UPDATE there is a FM available 
    CALL FUNCTION 'K_DOCUMENT_SEND'
           EXPORTING
                I_LOGSYS      = LOGSYSTEM
                I_COBK        = COBK
           TABLES
                T_COEP        = LT_COEP
                T_COEPL       = LT_COEPL
           EXCEPTIONS
                 This FM is responsible to send IDOCs to the defined logical system LOGSYSTEM. No matter this logica; system is SAP or non-SAP IDOC will be sent. Prerequisite are,
    1) RFC connection exist between system
    2) Partner profile is configured between the system.
    Regards
    Ram

  • How to make a normal Function Module remote able function module

    Hi guys,
    i am a beginner in abap programming. I have made a programm in Se80 which shows all the nodes of the active hierarchies (5 stk.)
    in a ALV grid. Therefore i am getting the active hierarchies from table "rshiedir" and use the normal function module "RSSH_HIERARCHY_READ" to display the nodes of the hierarchie. The problem is the hierarchies do have a different techical name in the systems (development-acceptance-productive) but the descriptive nbame is the same in all systems. Because of the difference of the technical names I can use this programm in just one system. But the hierarchy content should be comparable and be displayed in all three systems. Therefore i would like to create a remoteable function module which covers the normal one. Can i do this and how can i create a remoteable function module and use it? 
    If not do you know any remotable functgion module which gives back all the nodes from an active hierarchy in table "RShiedir".
    Thanks and kind regards,
    Murat

    Hello,
    Simple, create a wrapper RFC (similar to 'RSSH_HIERARCHY_READ' ) & call the normal FM 'RSSH_HIERARCHY_READ' inside the wrapper.
    Something like this:
    FUNCTION z_rssh_hierarchy_read.
    *"*"Global Interface:
    *"  IMPORTING
    *"     VALUE(I_RSHIEDIRKEY) TYPE  RSHI_S_RSHIEDIRKEY OPTIONAL
    *"     VALUE(I_RSHIEDIRLOG) TYPE  RSHI_S_RSHIEDIRLOG OPTIONAL
    *"     VALUE(I_DATE) TYPE  RSHI_DATE DEFAULT SY-DATUM
    *"  EXPORTING
    *"     REFERENCE(E_RSHIEDIR) TYPE  RSHI_S_HIEDIR
    *"     REFERENCE(E_T_RSNODES) TYPE  RSHI_T_HIENODE
    *"     REFERENCE(E_TH_RSINTERVAL) TYPE  RSHI_TH_INTERVAL
    *"     REFERENCE(E_DUPLICATE_LEAFS) TYPE  RS_BOOL
    *"     REFERENCE(E_T_RSNODES_LNK) TYPE  RSHI_T_HIENODE
    *"  EXCEPTIONS
    *"      INVALID_HIERARCHY
    *"      NAME_ERROR
    *"      IOBJ_NOT_FOUND
    " Don't forget to add TYPE-POOLS rshi to the FuGr. TOP include
      CALL FUNCTION 'RSSH_HIERARCHY_READ'
        EXPORTING
          i_rshiedirkey     = i_rshiedirkey
          i_rshiedirlog     = i_rshiedirlog
          i_date            = i_date
        IMPORTING
          e_rshiedir        = e_rshiedir
          e_t_rsnodes       = e_t_rsnodes
          e_th_rsinterval   = e_th_rsinterval
          e_duplicate_leafs = e_duplicate_leafs
          e_t_rsnodes_lnk   = e_t_rsnodes_lnk
        EXCEPTIONS
          invalid_hierarchy = 1
          name_error        = 2
          iobj_not_found    = 3
          OTHERS            = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Here Z_RSSH_HIERARCHY_READ is the wrapper RFC. Hope you get the point.
    BR,
    Suhas

  • Function Module to retrieve ALL Sales Orders in SAP based from a UserStatus

    Can someone know a function module to give me a set of Sales Documents
    of a specifc type and a specific System Status.
    For example:
    CALL FUNCTION '?????'
        EXPORTING
            txt04    =    'INAC'    "specfic status text not the 'E0001' JEST-STAT value.
            inact    =    ' '           "for ACTIVE statuses only.
            auart    =    'ZMAG'   "specifc document type
        TABLES
            t_vbeln    = i_vbeln   "result is a list of sales orders based from criteria above
    I am thinking it is not as simple as the above. But 2 - 3 FMs will do.
    Note: I am not given a choice to SELECT from DB tables VBAK and JEST. They want pure FM calls only. Please reply ASAP.

    Hi,
    i dont think there is any FM as such ..
    but in VA05,,, u will get the all the information
    reward points if it is useful...
    thanks,
    Manjunath MS

  • Need Function module to upload an excel file to SAP

    Need Function module to upload more than 100 characters of excel file data into SAP internal table.
    Currently i have two function module
    1. ALSM_EXCEL_TO_INTERNAL_TABLE --32 characters max
    2. KCD_EXCEL_OLE_TO_INT_CONVERT --50 characters max
    Please let me know some pointers.
    Thanks in Advance,
    A.Karthikeyan.

    hi,
    use the FM GUI_UPLOAD
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = W_FILENAME
       FILETYPE                      = W_FILETYPE
       HAS_FIELD_SEPARATOR           = 'X'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
       DAT_MODE                      = 'X'
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      TABLES
        DATA_TAB                      = wp_it_upload
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17.

  • Function Module for creating Functional Location BOM and Equipment BOM

    Hi All,
    Is there any function module for creating and changing Functional Location BOM and Equipment BOM ???

    Hi,
    Tables for Eq., BOM: EQST, STKO, STPO.
    Tables fro Fun., Loc., BOM: TPST, STKO, STPO.
    You can use FMs: CS_BOM_EXPL_TPL_V1, CS_BOM_EXPL_EQU_V2 & CS_BOM_EXPL_MAT_V2 for extracting the appropriate BOM related data.
    And for the Alternatives please check the customizing or check with your respective Module experts for the appropriate configuration.
    Hope this helps.
    Best Regards, Murugesh AS

  • Call function module from BSP0 (Parameter group)

    Hello All,
    I am trying to call a FM by changing the parameter group of a planning profile (BSP0) as shown:
             CALL FUNCTION Z_BW_CLEAR_VAR.
    The name of the function module is already entered in table RSPLF_FDIR.
    In the above FM there is DB deletion statement, which is not getting process.
    When I kept break point at FM Z_BW_CLEAR_VAR and executed the planning function - it did not trigger the FM.
    Please let me know how to call the FM.
    Thanks & Regards,
    Pratik

    hi Alberto,
    have a look at quesiton 5 in sap note 730870
    it explains what you need to restart
    from this note:
    restart from visual admin:
    " the RfcAdapter J2EE Service 'SAP XI Adapter: RFC' is restarted or a dependend J2EE Service is restarted ('SAP XI AF CPA Cache', 'SAP XI AF Messaging')."
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • BAPI or any Function Modules for XD02 functionality

    Hello Experts,
    I would like to ask if there's any BAPI or Function Module that has the functionality of transaction XD02 - whereas a sales area will be created for customers (entry in KNVV)?
    My requirement is there a background job that should create a sales area for a particular customer.
    Thanks in advance!

    Hi,
    If you need to change the customer details in background use this
    BAPI_CUSTOMER_CHANGEFROMDATA1
    Check also :
    BAPI_CUSTOMER_EDIT
    or std prog RFBIDE00
    Hope this helps,
    Erwan

  • Notes - Standard Function Modules long text functionality

    Hi All
    Need standard Function Modules for Notes (long text) functionality. I need to create a notes tab in dialog program, this notes tab has all formatting icons to enable create/upload/modify the text entered and passed to SAP standard text objects.
    Edited by: sharmalvn on Jun 29, 2009 4:34 PM

    Take a look at function modules:
    - SAVE_TEXT (saves text to an existing object)
    - READ_TEXT (read text from an existing object)
    - CREATE_TEXT (writes text to a new object)
    Hope that helps,
    Michael

  • 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

  • Function module for Profit Center group and Cost Center group changes

    All,
    The requirement is to change the profit center group and cost center group from one node to another. Please remember it is trying to simulate the transactions KCH5 and OKEO programatically.
    I would like to know if somebody had this requirement previously and had made use of some function module or some other technique which will help in changing the standard hierarchy nodes.
    Help is much appreciated.
    Regards,
    Hari

    All,
    The requirement is to change the profit center group and cost center group from one node to another. Please remember it is trying to simulate the transactions KCH5 and OKEO programatically.
    I would like to know if somebody had this requirement previously and had made use of some function module or some other technique which will help in changing the standard hierarchy nodes.
    Help is much appreciated.
    Regards,
    Hari

Maybe you are looking for