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

Similar Messages

  • Creation of RFC Destination for Syncronouse RFC adapter.

    Hi,
       Can any one please give me step by step process to create RFC destination in XI and SAP-R3. plz help me out
    thanks,
    dhanush.

    No one is going to help you if you keep posting same question multiple times.
    You need to priovide more details on what you are doing ? There are many reasons why you create a RFC destination in XI and R3. There are multiple types of RFC destinations. What is the end to end scenario you want to implement. It all depends on this. Try to provide more details.
    Regards
    Bhavesh

  • Http RFC destination for ECC to PI Connection Error

    Hi,
    While doing the proxy runtime configuration http RFC destination for ECC to PI .
    I configure the RFC destination as  below ---
    Target Host --  PI Host 
    Service No  -- 50000
    Path Prefix --- /sap/XI/engine/?type=entry
    Login  Security Details
    User Id -- PI user id
    Password --- PI password
    While doing the Connection Test , I got the error "ICM_HTTP_CONNECTION_FAILED"
    I checked  T-code in ECC system SMICM  and ICM is in green status and I checked the services are activated in SICF transaction.
    Please let me know how to resolve this issue.
    regards,
    Rohit

    Hi Rahul,
    I checked  all service are activated in SMICM  and I configured the FQDN also.
    Now  I cofigured the Service No  --- 8000(http port no of PI) instead of 50000(J2EEport no of )
    Target Host --- hostname
    and did a Connection test...then I am getting a status as "http reponse 500" and status text as "empty http request received".
    pls let me know is it correct configured or not.
    regards,
    Rohit

  • 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

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

  • 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

  • Creating RFC Destination in SAP R/3

    Trying to create an RFC destination in SAP R/3.  Looked at few articles in creating them, but I am getting error while testing.  It says that the "Program" couldn't not be found.  I tried with all options, "Registered in Server Program", "Start on Application Server" etc.,
    Is there a place to register a "Program"?  Is this program specific to my XI server?  How should this program be created or registered.
    Any help is greatly appreciated!
    Thanks
    Satya

    one more hit:
    http://server:port/rwb/index.jsp
    message monitoring
    BTW
    you have created everything in XI repository & configured everything in xi directory haven't you?
    if not you can try this document:
    "Validating a Connection Between R/3 and SAP XI with RFC"
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/validating a connection between sap r3 and sap xi with rfc.pdf
    by Sridhar Rajan Natarajan
    Regards,
    michal
    Message was edited by: Michal Krawczyk

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

  • NO RFC Destination for BAPI's

    Hi,
    I am working on ALE for Activity allocation. I am using 3 methods in my distribution model. I need to transfer data from ECC 6.0 source system to R/3 4.7.
    BUS6010 Method POST & CHECK
    BUS2072 Method FINDDETAILS
    I am using the Program RHINLV00_LSO to transfer data.
    When i execute this report it's throwing an error
    " NO RFC Destination for 2 BAPI's".
    An RFC Destination is created in SM59 to link the two systems and i have distributed the distribution model to R/3 4.7.
    The Function modules are marked as Remote enabled function modules.
    Regards,
    Ramesh K.

    Hi,
    After creating the distribution model with 3 methods in ECC 6.0 (source system). Generated Partner profile automatically from BD64. Then distributed the distribution model to the other system i.e., SAP R/3 4.7 successfully. Then created partner profile from that system automatically.
    Port, partner profiles,outbound parameters, inbound parameters were created successfully.
    Thanks
    Ramesh

  • 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

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

  • NO RFC Destination for BAPI

    Hi,
    I am working on ALE for Activity allocation. I am using 3 methods in my distribution model. I need to transfer data from ECC 6.0 source system to R/3 4.7.
    BUS6010 Method POST & CHECK
    BUS2072 Method FINDDETAILS
    I am using the Program RHINLV00_LSO to transfer data.
    When i execute this report it's throwing an error
    " NO RFC Destination for 2 BAPI's".
    An RFC Destination is created in SM59 to link the  two systems and i have distributed the distribution model to R/3 4.7.
    The Function modules are marked as Remote enabled function modules.
    Regards,
    Ramesh K.

    Hello,
    Did you test RFC destination whether the definition is working fine or not?
    You can test the destination,if it's working fine,then Bapis' should be able to execute.
    Thanks.
    Mark points if helpful.

  • RFC Destinations for Webdynpro models

    Hello Everybody,
    I am trying to use RFC Destinations for the Webdynpro model.
    I have multiple systems with same RFCs. Based upon the inputs on the screen, I wanted to call respective RFC.
    To achieve this, can I use RFC destinations in my webdynpro application?
    I know, this could have been solved through XI in between.
    That is not a valid path for me right now.
    Have anybody used RFC Destinations in Webdynpro models?
    I am getting exception: NoClassDefFound when I used DestinationService API for this.
    Please help me.
    Thanks in Advance,
    Bhavik

    Hi Bhavik,
    RightClick on the project->Goto Properties
    try adding library "tcsecdestinations~interface" in the interface references of WebDynpro reference.
    "tcsecdestinations~service " in the library references.
    Regards, Anilkumar

Maybe you are looking for

  • How to preserve mixed case in Data Dictionary

    Hi, I am very new to Oracle, please excuse in advance for silly questions. Using Oracle 9i R2, SQL Developer 1.51.5440. I don't know if it's Oracle DB or The SQL Developer tool, but the names of the object I create are all transformed in uppercase. T

  • Web Dynpro Java with Adaptive Model

    when i Created Web Dynpro Java with an Adaptive Model I got  Some error in webdynpro.  the error is com.sap.dictionary.runtime.DdException: Type com.sap.cust.model.types.Zcustdata does not exist what would be the problem . can u anybody please help m

  • How to find the tomcat path from registry?

    Hi, How can I find the tomcat path from registry? please tell me. Thanks Gaurav Agrawal

  • Adobe reader disappeared from my Windows 7, 32  computer, and will not install the download?

    I have not been able to open my PDF's since this occurred, and the download completes but the installer is a black screen. Please help!

  • Disable Browser Menu/Toolbars

    I have an application in which I need to disable printing and saving. I have javascript for disabling the right-click function and that's been inserted in the page header and it works. I have another bit of code to disable the toolbar and menu on the