How to create a RFC destination for extracting data to HANA

Hello All,
Could someone help me in providing a document or note on how to create a RFC destination for extracting data from SAP data source to HANA using SAP LT replication server ?
I am able to create a data base connection while transforming data from non SAP data source,but wasnt able to transform data which is from SAP abap tables .

Hi Venkatesh,
In SM59 t.code we create RFC destinations.
Go thru the video link for creating RFC destinations step by step
How to setup a trusted RFC connection between SAP systems: a step-by-step guide - YouTube

Similar Messages

  • Creation of RFC destination for SAP-Access Connectivity

    Hi,
           I want to create a RFC destination for SAP-Access connectivity.
    Can I get some help regarding it's connection type,activation type and gateway options required for the same.
    Regrads,
    Anthony D'souza

    Hi
    Please see the following:
    1. Create an entry in Trxn DBCA for SQL Server in SAP, you are creating a database connection for the SQL server in SAP.
    2. You use this connection, and write Native SQL stmnts...between EXECSQL...ENDEXEC to fetch the data..and then normal ABAP statements to put that data into your ztable.
    TABLE DBCON Entry can be like this...depends on your External database..
    CON_NAME          Raj                      Logical name for connection
    DBMS                   MSS                   Microsoft SQL Server
    USER_NAME        <User name>       For SQL Server
    PASSWORD         <password>         " "
    CON_ENV             MSSQL_SERVER=<server> MSSQL_DBNAME=<database name>
    DB_RECO                 Availability type for an open database connect
    FUNCTION z_houston_connect.
    ""Local interface:
    EXEC SQL.
    CONNECT TO 'RAJ' AS 'V'
    ENDEXEC.
    EXEC SQL.
    SET CONNECTION 'V'
    ENDEXEC.
    *- Get the data from MS-SQL Server
    EXEC SQL.
    open C1 for
    select
    l.loc_id,
    l.loc_name,
    a.acc_id,
    a.acc_name,
    d.person
    from ho_loc_mast as l
    inner join snd_acc_mast as a on l.loc_id = a.loc_id
    inner join snd_acc_addr as d on a.loc_id = d.loc_id and
    a.acc_id = d.acc_id
    where l.loc_id = '001'
    ENDEXEC.
    DO.
    EXEC SQL.
    FETCH NEXT C1 into :wa-c_locid, :wa-c_locname, :wa-c_acc_id, :wa-c_acc_name, :wa-c_person
    ENDEXEC.
    IF sy-subrc = 0.
    PERFORM loop_output.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    EXEC SQL.
    CLOSE C1
    ENDEXEC.
    ENDFUNCTION.
    Regards,
    Raj

  • RFC destination for VMC (Virtual Machine Container)

    Hi ,
    Just loaded the CRM 70 system (customers, materials, contacts, ... ) and the KB from the back-office (ECC 6.0).
    Calling the IPC via transaction COMMPR01 for a configurable material we have the following call in error :
    FUNCTION ipc_get_knowledgebase.
    CALL FUNCTION 'CFG_API_GET_KNOWLEDGEBASE' DESTINATION gv_vmc_dest
    The RFC destination 'gv_vmc_dest' is empty . How to setup the RFC destination for VMC and the configuration so SAP know the RFC destination is the one to use for the VMC.
    Thank you

    Klaus ,
    Thank you , yes VMC is on the same CRM7.0 server , I do get the following short-dump .
    Short text
        "Found no handler for remote function module CFG_API_GET_KNOWLEDGEBASE"
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLIPC_API_CFG_COMMAND" had to be terminated because
         it has
        come across a statement that unfortunately cannot be executed.
        The error occurred during an RFC call to another system.
        In the target system, a short dump has been written as well.
        More detailed information on the error cause can be found there.
    Error analysis
        An error occurred when executing a REMOTE FUNCTION CALL.
        It was logged under the name "RFC_EXTERNAL_ABORT"
        on the called page.
    Trigger Location of Runtime Error
        Program                                 SAPLIPC_API_CFG_COMMAND
        Include                                 LIPC_API_CFG_COMMANDU07
        Row                                     19
        Module type                             (FUNCTION)
        Module Name                             IPC_GET_KNOWLEDGEBASE

  • RFC Destinations for different clients on same host

    Hi
    I have an SRM and SUS on the same server and the clients are different. I have a flow from SRM to SUS and also back from SUS from SRM.
    Do I have to create seperate RFC Destinations for different clients?
    What about the other details likePort, Partner Profile, Logical system etc, do we have to maintain all for both of them seperately ?
    Regards
    Ajith

    Hi Ajith,
    Do I have to create seperate RFC Destinations for different clients?
    >>> A set of RFC Destination, Port & Parnter Profile is used to connect two systems between one client of source system to one client of Target system. Eg. from clinet 100 of XXX system to clinet 100 of YYY system. So, you need to take this into account and create seperate RFC destination for each different pair of connections.
    What about the other details likePort, Partner Profile, Logical system etc, do we have to maintain all for both of them seperately ?
    >>>In PI, you need to create BS for each different client of SRM & SUS system.
    I hope this helps.
    Regards, Gaurav.

  • Creating RFC Destination For UNICODE system From NON-UNICODE system

    hi
    how can i create RFC Destination For UNICODE system( XI ) From NON-UNICODE (R/3) system.
    thanks and regards
    Mithlesh Kumar Jha

    Hi,
    Check these blogs , Hope u would be getting some idea
    <b>/people/thomas.jung3/blog/2004/06/24/bsp-150-a-developer146s-journal-part-v-xml-for-rfcs
    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices
    /people/sap.user72/blog/2004/06/19/how-i-started-with-sap-web-development</b>
    Regards,
    Sridhar Reddy

  • Creat RFC destination for portal

    Hello,
    when i am doing RSPOR_SETUP , i am getting java and abap support package versions are different error message for step 2, i.e creating RFC destination for portal.
    Please send me suggestion regarding this issue.
    regards
    Sreesudha

    is ur BI and Portal SP versions different ?? ....if true ?? make sure they have the same SP
    use this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00bed70a-7501-2a10-ec9e-9a04485ab477
    for guidance......

  • How to create an RFC for MIGO transaction?

    How to create an RFC for MIGO transaction?
    I want my RFC to accept all details as accepted in MIGO transaction.
    For the entered PO no, display the materials against it and allow user to enter the quantity for the same.
    Then the user should be able to post the PO by executing the RFC.
    Kindly revert asap.
    Thanx in advance,
    Bhakti

    Put good movement header data in structure header
      l_header-pstng_date = sy-datum.
      l_header-doc_date = sy-datum.
      l_header-ver_gr_gi_slip = space.
    Assign goods movement code
      l_wa_goodsmvt_code-gm_code = c_gm_code.
    Add material, plant, and other line item details in
    goods movement item table
      l_wa_goodsmvt_item-material = l_wa_selected-matnr.
      l_wa_goodsmvt_item-plant = l_wa_selected-werks.
      l_wa_goodsmvt_item-stge_loc = l_wa_selected-lgort.
      l_wa_goodsmvt_item-batch = l_wa_selected-charg.
      l_wa_goodsmvt_item-move_type = l_wa_selected-mov_type.
      l_wa_goodsmvt_item-entry_qnt = l_wa_selected-deviceid.
      l_wa_goodsmvt_item-entry_uom = l_wa_selected-meins.
      l_wa_goodsmvt_item-move_plant = l_wa_selected-zwerks.
      l_wa_goodsmvt_item-move_stloc = l_wa_selected-zsloc.
      l_wa_goodsmvt_item-move_batch = l_wa_selected-rec_batch.
      l_wa_goodsmvt_item-serialno_auto_numberassignment = space.
      APPEND l_wa_goodsmvt_item TO l_i_goodsmvt_item.
      CLEAR l_wa_goodsmvt_item.
      l_wa_serial_num-matdoc_itm = l_c_mat_doc_item.
      l_wa_serial_num-serialno = l_wa_selected-sernr.
      APPEND l_wa_serial_num TO l_i_serial_num.
      CLEAR l_wa_serial_num.
    To call BAPI BAPI_GOODSMVT_CREATE to transfer material of transfer
    type one step
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header       = l_header
          goodsmvt_code         = l_wa_goodsmvt_code
        IMPORTING
          goodsmvt_headret      = l_goodsmvt_headret
        TABLES
          goodsmvt_item         = l_i_goodsmvt_item
          goodsmvt_serialnumber = l_i_serial_num
          return                = l_i_return.
    cheers
    Aveek

  • RFC destination for your third-party tool

    Hello SAP Guru's,
    I have recently established external db connect for an iseries database. Now developers wants to use the open hub destination to extract data to non-SAP systems. They are using API: RSB_API_OHS_3RDPARTY_NOTIFY to connect a third-party tool to the BI system and use this third-party tool to distribute data to other non-SAP systems. To do so they need RFC destination for the third party tool. Could you tell me which RFC connection i have to use in SM59 ? I mean is it ABAP connection or TCP/IP connection or HTTP connection to external server?
    I would highly appreciate any help on this.
    FYI:
    I have already gone through below help link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/8de3f4743b22a8e10000000a1553f6/frameset.htm

    This will be of type TCP/IP.
    You will need to create an RFC server application on the thirdparty system, and implement this function there. You will need to define that server application in your RFC destination definitions (host/Program).
    You may need to read up RFC server help documentation; you can also browse the SAPGUI subfolders for RFC server sample applications and C code (if you have installed GUI in full, there should be such subfolders on your PC). You can also ask for help on 'application server' or 'abap' forums for this.

  • Create a RFC destination with default pass word

    hi folk,
    I've a Z-program which creates a RFC destionation (SM59) with a default password. The RFC destination has been created successfully with all the necessary fields, but the pass word is not aticve.
    I'm using this fucntion module to scramble the pass word.
      slen = STRLEN( p_p_prfcpw ).
      SET EXTENDED CHECK OFF.
        CALL FUNCTION 'HTTP_SCRAMBLE'
          EXPORTING
            SOURCE            = p_p_prfcpw
            sourcelen         = slen
            key               = key
         IMPORTING
           DESTINATION       = p_pw
    I've got this message from SM59.
    Error in conversion of user password for destination A3
    Message no. SR131
    Diagnosis
    The upgrade to SAP Release 7.0 starts an XPRA program that converts passwords to secure storage. In certain cases, you may need to skip this procedure (for example, due to database locks during the upgrade). This can cause the passwords to become invalid.
    Procedure
    Enter the user password again.
    Any clues what is going wrong or how to solve this situation?
    Best regards
    Linhng

    hi Roberto,
    Everything is working except the pass word is not "converted" when I create the RFC destination in my z-program.
    So my question is still how do I create a RFC destination with the "correct" pass word.
    I've tried the function module  HTTP_SCRAMBLE to convert the pw and also without the FM.
    Best regards
    LinhNg

  • How to create a new row for a VO based on values from another VO?

    Hi, experts.
    in jdev 11.1.2.3,
    How to create a new row for VO1 based on values from another VO2 in the same page?
    and in my use case it's preferable to do this from the UI rather than from business logic layer(EO).
    Also I have read Frank Nimphius' following blog,but in his example the source VO and the destination VO are the same.
    How-to declaratively create new table rows based on existing row content (20-NOV-2008)
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/13-create-with-params-169140.pdf
    I have tried:
    1.VO1(id,amount,remark1) and VO2(id,amount,remark2) are based on different EO,but render in same page,
    2.Drag and drop a Createwithparams button for VO1(id,amount,remark),
    3.add: Create insertinside Createwithparams->Nameddata(amount),
    4.set NDName:amount, NDValue:#{bindings.VO2.children.Amount}, NDtype:oracle.jbo.domain.Number.
    On running,when press button Createwithparams, cannot create a new row for VO1, and get error msg:
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: For input string: "Amount"
    java.lang.NumberFormatException: For input string: "Amount"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    Can anyone give some suggestions?
    Thanks in advance.
    bao
    Edited by: user6715237 on 2013-4-19 下午9:29

    Hi,CM,
    I'm really very appreciated for your quick reply! You know, today is Saturday, it's not a day for everyone at work.
    My principal requirement is as follows:
    1.select/check some rows from VO2, and for each selection create a new row with some attributes from VO2 as default values for VO1's corresponding attributes, and during this process the user may be cancel/uncheck or redo some of the selections.
    --so it's better to implement it in UI rather than in EO.
    2.it's better to implement this function with declarative way as in Frank Nimphius' blog.
    --little Jave/JS coding, the better. I only have experience in ORACLE FORMS, little experience in JAVA/JS.
    In order to get full information for the requirements of my use case, can take a check at:
    How to set default value for a VO query bind variable in a jspx page?
    (the end half of the thread: I have a more realworld requirement similar to the above requirement is:
    Manage bank transactions for clients. and give invoices to clients according to their transaction records. One invoice can contain one or many transactions records. and one transaction records can be split into many invoices.
    Regards
    bao
    Edited by: user6715237 on 2013-4-19 下午11:18
    JAVE->JAVA

  • Want to create RFC FM for Getting data in CRM from R/3

    Hi,
    I have made the RFC connection in CRM system , now I want to make RFC FM for getting data from R/3 'MARD' table into CRM, If any one help me how to do this.
    From CRM system I will pass Plant & material no to FM and I need Storage location & Storage Bin from R/3 MARD table in CRM.
    Thanks
    Bobby

    Dear Bobby,
    You would create a FM in SE37 select 'Remote Enabled Module' radio-button in attributes tab of Function Builder.
    Select matnr werks LGORT LGPBE
               from MARD
               into ET_MARD
               where matnr = i_matnr
               and  werks = i_werks.
    Note:
    matnr is material number
    werks is plant
    LGORT is storage location
    LGPBE is storage bin
    Hope this will help.
    Regards,
    Naveen.

  • RFC destination for Sender System  in R/3 4.6c

    Hi All,
    I am trying create a RFC destination in R/3 4.6 system which will be used as sender RFC communication channel in Xi scenario. However i dont seem to have all the options such as activation type,gateway host and service which used to be there in SAP Enterprise or mySAP ERP systems. Can some one guide me to create an RFC destination in 4.6 system that will be used as a sender RFC system?

    Hi Arul,
           One more important point u have missed.
    Program ID,
    When ur configuring sender service from RFC,The most important point is Program ID.
    Use some name and create it.Use the same name in SM59.
    s such its very crucial .Activate them .make sure the destination for that programID is what u expect.
    Reghards
    chandra shekar

  • RFC destination for synchronous communication (message type SYNCH)

    Hi experts,
    I am trying to configuare ALE settings.waht i did is
    My sending & receiving systems are one server with different clients.By using SALE transaction
    1.crated logical systems.(LS_800 &LR_810)
    2.Assigned those to clients.
    3.Created RFC destination
    4. Created modelview assign sending & receiving
    systems and message type.saved it.
    4.generated Partner profile.Here i am getting below problem
    Target system LR_810
    RFC destination for synchronous communication (message
    type SYNCH)
    Partner profile LR_810 SYNCH does not exist
    Generate partner profile or
    specify outbound partner profiles for message type
    SYNCH
    Target system LS_800
    RFC destination for synchronous communication (message
    type SYNCH)
    Partner profile LS_810 SYNCH does not exist
    Generate partner profile or
    specify outbound partner profiles for message type
    SYNCH
    Regards;
    Upender.

    Hi Shital;
    Thanks for your replay;
    Still am getting the Same Error;
    Thanks;
    Upender.

  • How to get the spool id or how to create a spool id for the report .

    hi,
    how to get the spool id or how to create a spool id for the report .
    this spool id i have to use it in CONVERT_ABAPSPOOLJOB_2_PDF fm to get the pdf download file.
    my requirement is to download a pdf file from the alv grid list.

    Hi Raghu,
    Execute this program.
    REPORT  ZTEST_3318                              .
    tables: usr01.
    perform send_report_to_spool.
    *&      Form  send_report_to_spool
          text
    form send_report_to_spool.
      data: loc_dest like pri_params-pdest,
            wf_listname type char12,
            wf_listtext like PRI_PARAMS-PRTXT,
            wf_copies type i,
            wf_days type i,
            wf_PARAMS LIKE PRI_PARAMS,     " achieving file PRI_PARAMS.
            wf_valid type c.
      clear : wf_listname , loc_dest , wf_listtext .
      move: 'AP interface' to   wf_listname .
      move: 'AP interface' to   wf_listtext .
    select single spld into usr01-spld from usr01 where bname eq sy-uname .
      if sy-subrc eq 0 .
        move: usr01-spld to loc_dest .
      endif .
      call function 'GET_PRINT_PARAMETERS'
        EXPORTING
          destination    = loc_dest
          copies         = 1
          list_name      = wf_listname
          list_text      = wf_listtext
          immediately    = ' '
          release        = ' '
          new_list_id    = 'X'
          expiration     = 1
          line_size      = 200
          line_count     = 65
          layout         = 'X_65_200'
          sap_cover_page = 'X'
          receiver       = 'SAP*'
          department     = ''
          no_dialog      = 'X'
        IMPORTING
          out_parameters = wf_params
          valid          = wf_valid.
      if wf_valid <> space.
        new-page print on parameters wf_params no dialog.
        perform write_summary .
        new-page print off.
      endif .
    endform.                    "send_report_to_spool
    *&      Form  write_summary
          text
    -->  p1        text
    <--  p2        text
    FORM write_summary .
    data: begin of itab occurs 0,
          matnr type matnr,
          end of itab.
    select matnr
           from mara
           into table itab
           up to 10 rows.
    loop at itab.
    write: / itab-matnr.
    endloop.
    ENDFORM.                    " write_summary
    This will create spool in SP01.What data you want to put in Spool write it in form write_summary.I have done coding for testing purpose
    After that use that spool for your purpose.
    If Useful award point

  • No defineded RFC destination for global trade service----urgency!!!!

    how can i resolve this problem for [<b>STOP]</b> Message, just on one sever, not connect any other R/3 system, when i execute mb1c,input  a material information, and try to save the input messages , the system pop up the [<b>stop</b>] error:
        <b> no defineded RFC destination for global trade service</b>
    my system enviroment is:
        win2003 server + db2 8.2 + sap ecc5

    Hi,
    When you post an R/3 material document, the processing terminates with a system message indicating that no RFC destination has been maintained for Global Trade Services GTS.
    This system message is unjustified since SAP GTS has not actually been activated.
    This is caused by a program error.
    Please read the notes-825448, and do the necessary corrections.
    Hope this helps you out.
    Rgds,
    Suman

Maybe you are looking for