How to make this function module as RFC to get data from different system?

Hi
I am trying to use following function module . This function module is used to copy data from one cube to another cube within same system however I need a this should happen across two different system. How can I use this function module to make it remote call to different system and do the same function what it is doing ?
Name of function module -
RSDRT_INFOCUBE_DATA_COPY
Any help would be really helpful
AG

HI,
  let us say you want to copy the data of a cube in system A to a cube in system B .
  1) create a RFC function module in system B (in this function module  call the function module RSDRI_CUBE_WRITE_PACKAGE to update the data), this RFC function module should have same parametersa as RSDRI_CUBE_WRITE_PACKAGE .
2) write a program in system A .. read the data from the infocube using the function module RSDRI_INFOPROV_READ and call the RFC function module in system B that you have created..
for the details of the parameters to pass to these two function modules use the RSDRT_INFOCUBE_DATA_COPY and get the required code
Thanks
mahesh

Similar Messages

  • How to create RFC function module and how to call this function module

    Hi,
    i want to know step for creating RFC function module and then How to  use this function module from some other sap system.
    Thnaks,
    jigar

    Jigar,
    To implement a remote function module in ABAP, perform the following steps:
    Register the module as remotely callable in the RFC server system.
    In the function module Administration screen (transaction code SE37), set the field Can be called via REMOTE CALL. Registering a module as remote causes an RFC stub to be generated for it.
    Write the code for the function module.
    Create the destinations.....................
    Displaying, Maintaining and Testing Destinations
    To display, create or modify destinations, choose Tools ® Administration ® Administration ® Network ® RFC destinations or enter transaction code SM59.
    Remote Destinations are stored in table RFCDES. The RFCDES table describes logical destinations for remote function calls.
    It is not possible to maintain the RFCDES table directly.
    You can also access logical destinations via the Implementation Guide (IMG) by choosing Tools ® AcceleratedSAP ® Customizing ® Execute Project ® SAP Reference IMG.
    In the Implementation Guide, expand the following hierarchy structure:
    Basis
    Application Link Enabling (ALE)
    Sending and Receiving Systems
    Systems in Network
    Define Target Systems for RFC Calls
    Displaying Destinations
    The initial screen for this transaction displays a tree:
    Different connection types (i.e. partner systems or programs) are possible. For further information, see Types of Destinations.
    To display all information for a given destination, double-click it, or place the cursor on it and press F2 .
    To search for a destination, press the Find button and specify your selection. You get a list of all entries matching your selection. Place the cursor on the one you want, and press F2 or simply double-click the destination. All information for the given entry appears.
    Creating Destinations
    On the destinations overview screen (transaction code SM59), the connection types and all existing destinations are displayed in a tree structure.
    All available connection types are explained in Types of Destinations.
    To create a new RFC destination, press the Create button. A new screen is displayed with empty fields for you to fill in.
    If you want to create a new destination
    As you create a remote destination, you can specify a particular application server or a group of servers for a balanced distribution of system load.
    For details of the destination parameters, see Entering Destination Parameters.
    Changing Existing Destinations
    On the destinations overview screen (transaction code SM59), the connection types and all existing destinations are displayed in a tree structure.
    You can display all information for a given destination by double-clicking it or pressing F2 on it.
    To change an existing destination, double-click it, or place the cursor on it and press the Change button.
    For details of the destination parameters, see Entering Destination Parameters.
    Testing Destinations
    To test a destination, choose the appropriate function from the Test menu.
    Connection (also available via the Test connection pushbutton)
    Authorization (checks logon data)
    Local network (provides a list of application servers)
    You can use the CALL FUNCTION statement to call remote functions, just as you would call local function modules. However, you must include an additional DESTINATION clause to define where the function should run:
    CALL FUNCTION RemoteFunction
    DESTINATION Dest
    EXPORTING
    f1 =...
    f2 =...
    IMPORTING
    f3 =...
    TABLES
    t1 =...
    EXCEPTIONS......
    The field Dest can be either a literal or a variable: its value is a logical destination (for example, "hw1071_53") known to the local SAP System. Logical destinations are defined in the RFCDES table (or the TRFCD table in R/2 Systems) via transaction sm59 or the following menu path: Tools ® Administration, Administration ® Network ® RFC destinations. You can also access logical destinations via the Implementation Guide (IMG) by choosing Tools ® Customizing ® Enterprise IMG. In the Implementation Guide, you can then choose Cross-application components ® ALE ® Communication ® Define RFC destination.
    The remote function call concept, for example, allows you to access a function module in an R/2 System from an ABAP program in an R/3 System. If you want to read a customer record from your R/2 System’s database, create a remotely callable function module in the R/2 environment which retrieves customer records. Call this function from your R/3 System using a remote function call and listing the destination for the target R/2 System:
    Pls. reward if useful

  • How to use this function module on abap hr GET_PDSNR_RANGE

    how to use this function module on abap hr GET_PDSNR_RANGE
    thankx.

    PASS INETRNAL TABLE WITH SOME DATA TO TABELLE FOR GENERATING PDSNR SEQUENCE

  • How to get data from CRM systems?

    Hi...
              How to use adapters to get data from external systems such as  CRM systems.

    It is totally depends what kind of message is or are coming out from CRM Systems.
    If it is sending IDoc then use Idoc adapter.
    If it is BSP and sending HTTP Post then use HTTP adapter.
    If you are using proxy then use XI adapter.
    thanks
    farooq

  • How to make the active save-to-file with the data from GPIB ?

    Hello,,everybody !!
    I want to make the active save-to-file with the data from GPIB since starting the measurement. To save-to-file at the end of measurment is somehow risky for losing the data because my measurment have to take for long time (eg. 24-48 hours).
    Thank you in advance for anybody's help !!

    Thanks Dennis,
    I have already append, I got it but still have one small problem that between each line it has the blank line. Example as below ,
    16:40:33 54.24
    16:40:34 54.23
    16:40:35 54.24
    I want to get rid of the blank line in between.. Do you have the idea about it ?

  • How to use RFC to get data from BW?

    Hi all, we need to get data from BW using RFC, I am not  familiar with BW and RFC, would you please give me some advice? Many thanks in advance!

    would you please bring your solution  to light here?
    thank you
    God's blessing
    Andreas

  • How to get data from  different SEGMENTs

    Hi;
    My requirement is to first of all retrieve the data from different segments in run time.
    I mean, i have to execute t/code WE19 and the idoc will be given after that an user exit would called where i have to retrieve the data from different segments and then it would store in an internal table for further calculation.
    Can you all please guide me how to retrieve the data via ABAP code in runtime so that it can store in an internal table.
    Regards
    Shashi

    write code lke this ..
    form post_idoc tables idoc_data structure edidd
                                    idoc_status structure bdidocstat .
    loop at idoc_data .
      case idoc_data-segnam .
        when 'zsegment1'.
           move idoc_data-sdata to wa_zsegment1 .
        when 'zsegment2'.
          move idoc_data-sdata to wa_zsegment2 .
       when 'zsegmentn'.
          move idoc_data-sdata to wa_zsegmentn.
      endcase .
    endloop.
    After this write code to move data to int table from work area .
    endform .
    Hope this helps u....

  • How to use this function module DP_CREATE_URL

    hi,
    I am using the following function module DP_CREATE_URL
    now there i have to pass a parameter called as data,
    wat to pass to DATA and how to create it
    im am displayin an image from desktop onto a container in the screen using the class cl_gui_picture
    for tat i need to use the above function module to generate the URL

    Hi Amit,
    I'm not sure if I understand your problem. Is your image stored on a frontend? In that case use GUI_UPLOAD first to get the image in an internal table.
    Regards,
    John.

  • How to make this function random chose bits and flip it

    Hi ni and member
    I try to make this vi that do this function 
    I need it to use in academic research
    I have  stream of bits  have length=100bitsmove in serial
    and I want a selector that select between ratio  0.1 0.2 or 0.05 that represent error ratio
    its ratio of bit that much flip (0 to 1) and (1 to 0)
    for exqmple
    for 0.1 ratio 10 bit of stream must randomly chosen and flipped
    for 0.5 ratio  50 bit of stream must randomly chosen and flipped
    any help please
    best regards
    hi ?Q>

    GerdW wrote:
    Hi mangood,
    - use a ring or enum for your selector
    - depending on the selector value create a boolean array containing randomly set bits
    - XOR your boolean array with your stream bit array
    Done...
    thank you with kudos
    i did not understand the stament """use a ring or enum for your selector"""
    can you make a pic for the vi  
    best regards
    hi ?Q>

  • How to make this function in enviroment?

    Hi I think I need some help here.
    I want to set a enviroment to switch the audio instruments like the VSL performence tool:
    when I press the first key on the midi keyboard, the first instruments plays , and then the second press , the second instruments play then the third press, the first instruments play .....i mean 2 instrument play in turns .
    so anyone here can give me some suggestion how to build this enviroment?
    Thanks at first.

    this is easy to setup with logic.
    if you go to logicprohelp.com and look up environments and templates, download my basic orchestral template and you will see how i do it.
    basically you set up a GM instrument cabled to a transformer and then to an audio instrument. the transformer then converts information you specify to control aspects of the audio instrumnet/s. in my case i use it to convert program changes to operate keyswitches or articulation switches in my custom made instruments.
    to quickly achieve what you want to do use a cable switcher or selector in faders -> special to switch between different audio instruments.
    - first create a GM instrument, name it and bring it up in arrange.
    - then cable it to a cable switcher in the environment.
    - cable the first cable to 1 AI then the next to the next and so on.
    - select the cable switcher and define the paramter that will activate the switch in the paramters box on the LH side of the screen in environment. you may need to make sure that the midi channels match.
    now, when you do your keyswitch or program change or set a controller the cable switcher will switch the midi information to the correct AI.
    have a look at the percussion page in the environment of my full orchestral template to see how it works if you get stuck.

  • How to use this function modules

    Read Function modules FIRST_DAY_IN_PERIOD_GET and LAST_DAY_IN_PERIOD_GET to ge the first and last  dates of the periods entered on the selection screen. Here Year = First 4 characters and Period = Next two characters of YearPeriod field of the selection screen.

    * get the first day of the period
    CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
      EXPORTING
        I_GJAHR              = wgjahr
    *   I_MONMIT             = 00
        I_PERIV              = 'V9'
        I_POPER              = wbuper
      IMPORTING
        E_DATE               = wfirstday
      EXCEPTIONS
        INPUT_FALSE          = 1
        T009_NOTFOUND        = 2
        T009B_NOTFOUND       = 3
        OTHERS               = 4.
    * if today is not the first day of the period, return an error.
    if sy-datum <> wfirstday.
    * Date is not the first day of the fiscal period.
      MESSAGE E003(ZBW).
    endif.
    CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
               EXPORTING
                    I_GJAHR        = LOC_YEAR
                    I_PERIV        = '01'
                    I_POPER        = LOC_POPER
               IMPORTING
                    E_DATE         = LOC_DATE
               EXCEPTIONS
                    INPUT_FALSE    = 1
                    T009_NOTFOUND  = 2
                    T009B_NOTFOUND = 3
                    OTHERS         = 4.
          L_S_RANGE-LOW      = LOC_DATE.
          L_S_RANGE-SIGN     = 'I'.
          L_S_RANGE-OPT      = 'EQ'.

  • How to use this function module

    Guys I want to use this function moudle(/SAPAPO/TS_DM_SET  ) to uodate key figures ,
    but what are the key values to update key figures .
    Please guide me .,

    HI Arul,
    i_header is basically SAPscript: Text Header. You have
    pass the values like TDOBJECT - Texts: application
    object, TDNAME - Name, TDID - Text ID, TDSPRAS -
    Language Key thses are the main values you to pass to i_header.

  • How to make this faster?? read millions of record from txt file

    Hi there,
    I got an issue. There is a txt file contains 2 million records, I also got another file contains over 10000 numbers. Now, I need to compare this 10000 numbers with that 2 million records if any records contains a number which belongs to 10000 number set, i retrieve this record and keep it. later on, when i finish the comparison i'll write all the result records into a txt file.
    What kind of data structure shall i use to keep the records and numbers? how to make the comparison quicker? Any idea will do!
    Thanks!

    if i were to do it, i will insert bout the records into the db. then do an sql statement on the two tables to get the results. Then get the rs and output it to another text file.
    just my opinion. not sure if this is faster.
    Message was edited by:
    clarenceloh

  • Function Module to send Vendor Master Data from SRM to ECC

    Hi Guys
    I heard there is a function module in SRM which can send Vendor Master Data from SRM to ECC please confirm for me if there is such a function Module and what is it called. Thanks

    Hi,
    Vendor Master data is replicated to SRM from ECC. Standard Transactions (BBPGETVD,..) will be used to replicate the data from ECC.
    Vendor Master will exists in ECC, so there is no point in sending the same back from SRM to ECC. If the requirement is the other way around, we can use the transaction BBPGETVD in SRM system.
    Hope this helps.
    Regards,
    Hemanth

  • Function module to create a CS order from external system

    Hello,
    i´m setting up a prototype for customers service (CS).
    My goal is to create the CS order automatically from a external system where i have all the required data.
    Is there a function module or something in SAP ERP which i can use to create the CS order in background?
    Thank you.
    Best regards
    Manfred

    Hello Amit,
    the requirement is the following:
    we have a SAP CRM System where we create Servicetickets.
    This tickets contain the following data which are also from interest for the CS Order:
    - Customer data
    - Equipment
    - Shorttext
    The goal is to create as follow up for the SAP CRM Serviceticket not a SAP CRM Serviceorder but a CS Order in ERP.
    All data which can be used from the ticket should be used - all further data should the user add to the CS Order manually.
    Thank you for your ideas.
    Best regards
    Manfred

Maybe you are looking for

  • How to view JPEG in LR5

    I just loaded lr5 with the library on my HD, and all Raw and JPEG images show nicely in the library pane, but no JPEG image will open in the develop module.  The notice "THIS FOLDER COULD NOT BE FOUND" is displayed. (and yes, i checked the box in gen

  • Windows 7 client will not connect to hp 5550 printer with windows xp host

    I am trying to get a Windows 7 PC to share a printer connected to a Windows XP computer. I see the shared printer from the W7 computer. But, it keeps aking me for a driver. I cannot seem to find a driver for w7 that I can manually load into w7. Anybo

  • Flat file and encoding of euro sign

    Hello, I have a problem with a flat file which contain the euro sign. The file is encoding in ISO-8859-15. I try to send the contain of the flat file in a DB2 database and it works fine. All characters are well encoding (é,è,û, ...) except for the eu

  • BT "Fixed" my connection now it's 25% slower

    I'm sure I'm not the first and won't be the last to have this issue. I had a problem with my connection where the speed dropped to around 0.3 to 0.5 Mb. Before my issues my connection speed was around 3.2-3.3Mb. Now my speed never goes above 2.36Mb.

  • Trying to use my iPod as a hard disk

    The iTunes tutorial, under "Other ways to use your iPod," gives specific instructions for enabling "your iPod to work as a portable hard disk," but the instructions do not follow what I see on my screen ("Select your iPod in the iTunes Source list" i