Configure RFC connection

Hi,
We have recently decoupled WD applications such that critical data is read using RFC calls to another system or client.I am facing problems in RFC connection configuration.In sm59,in the tab logon and security,I want to configure connection for current user.I think it'll require setting up of trusted system,which I don't know how to do.Could you help me by providing suggestions on what else I could do?
Vikram

Do you want to setup a trusted RFC connection?  I can't really tell from your question what you want.  Do you just always want to use the current logon user for the RFC - if so then you do need to setup trusted RFC.  Trusting relationships are fairly simple to setup, although all users you access a trusted RFC must have a certain security profile.  Have a look at the online help:
[http://help.sap.com/saphelp_nw70/helpdata/EN/d3/5b5c8ac5a93941b9f4e2f09b50beb4/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/d3/5b5c8ac5a93941b9f4e2f09b50beb4/frameset.htm]
Here is also a blog on the topic:
[/people/thomas.jung3/blog/2004/08/16/bsp-150-a-developer146s-journal-part-ix--user-authentication-trusted-rfc|/people/thomas.jung3/blog/2004/08/16/bsp-150-a-developer146s-journal-part-ix--user-authentication-trusted-rfc]

Similar Messages

  • Configuring RFC connections for load balancing.

    Hi ,
    We have the following landscape for our systems.
    The database is installed on z/os , db2 (mainframe). The central services( SCS and ASCS) are also on the mainframe. So the message server is on mainframe.
    The CI is on AIX and The DI is on AIX.
    We have Logon groups configured and load balancing Configured and is RFC enabled.
    1) When we connect to SAP using the SAPGUI and  the portal connection is made to either CI or DI depending upon the best response times.  Now recently we are running the mercury load testing, all the users are connecting to DI. Why are the users connecting to DI even though we have load balancing?
    2) I have a system with SID BP0, with one CI and one DI. The logon group is BP0 and the message server name is cyrix. Now I have other another system EP0. I have created a RFC connection from EP0 to BP0. In SM59 I have selected the load balancing option, and provide the message server name, SID and logon group name. The connection does not work. If I connect directly to the CI or DI the connection works. Please tell me how can I configure load balancing for RFC connections.
    Thanks
    Manmath.

    Dear 917996,
    There are two types of load balancing:
    - Client-side load balancing (setting up the tnsnames.ora on client side). More information here (http://ggsig.blogspot.co.uk/2012/04/client-side-
    load-balancing-in-oracle.html). Very good video produced my friend Igor Melnikov is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/client/clientloadbalance_viewlet_swf.html)
    -Server-side load balancing (remote_listener and setting service parameter clb_goal). Very good Igor Melnikov's video is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/server/serverloadbalance_viewlet_swf.html).
    I have read about client side and server side load balancing. By editing tnsnames.ora I have enabled client side load balancing which is suppose to select listeners at random. then why does it only go to second node?Could you please show your tnsnames.ora on client?
    Please can anyone help me to configure server side load balancing with SCAN. I have read many many post but couldn't find a clear answer.Based on your output (remote_listener string cmbtrnrac-scan:1521) you have already configured the server side load balancing.
    SQL> show parameter listener
    NAME TYPE VALUE
    listener_networks string
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=10.1
    7.67.214)(PORT=1521))))
    remote_listener string cmbtrnrac-scan:1521How many SCANs do you use? Do you use DNS?
    regards,
    Gennady

  • RFC Connection From SAP to Iseries server

    Hi,
    I wish you can help me wtih this issue.
    We are running ECC 6.0 on iseries v5r3m0.
    We are trying to connect to an other non-SAP V5r1M0 system. We are using OSS note 146624 for this purpose.
    Our first problem is that we cannot copy pgm files to a V5R1 system from V5R3 system. This can be solved with manual extraction kernel.
    However our problem is that we are getting an "SQL Error 0" short dump when we start abap report. What ever the entry in DBCON table is we get this short dump.
    Did anyone configured RFC connection to a non-SAP Iseries system? What methos should we use?
    Best Regards

    Hello Volker,
    it is some time ago, you posted the original message here. I have a follow on question and I hope you can help.
    Apart from the redbook I can't find any documentation about rfc with iseries and that gives some examples but no real explanation about what you are supost to do 
    I followed the rfc example "ILE RPG evoked from ABAP" and I can get it to work, as long as I ask for only one parameter from the ABAP.
    Do you know how to get multiple parameters from ABAP? Just repeating the RfcGetData with different parameters doesn't work. The ABAP will cancel with "no data to receive" on the second parameter.
    Also do you know how to create a rfc-trace for these requests?
    Best Regards.
    Richard la Croix

  • BSI server RFC connection

    I am trying to setup an RFC connection to BSI server. I looked up the SAP notes which said that I need to point my connection to a file called TF80SERVER.exe.
    I downloaded the client/server files from the BSI website but it did not have this file(TF80SERVER.EXE). On contacting BSI support, they said a file ; 'TF8API.DLL' needs to be copied to the c:\windows\system\ folder. The RFC connection should point to this file.
    I did exactly as directed. but I still get a communication failure with the message that the DLL file is not registered. I have hit a hard wall here because I cannot find any documentation to help me make it work. Please help.

    You may want to check with BASIS people who load / set up BSI dbase on the server site. Depending on the OS of the appl server, BSI executable could have different name (e.g. for UNIX, it's tf80server) . 
    When configuring RFC connection, in technical setting tab, you need to key in the script to trigger BSI (e.g. /usr/sap/.../tf80server.ksh). In this script, it would define the dbase instance, library path, ... prior to actually executing
    tf80server. This  script is pre-delivered by SAP, and you just have to twig it to fit your need.
    Rgds.

  • SLD Configuration : Error opening an RFC  Connection

    Hi All,
    I am working on EP6 SP19 and trying  to configure SLD.
    I was trying to check the data collection with the transaction RZ70,and I got the following error:
    Data collected succesfully
    Used RFC Destination: SLD_NUC
    RFC call failed: Error opening an RFC Connection
    Existing periodic jobs removed, number: 1
    Program scheduled: 20070327
    Event controlled job already exists,scheduling not necessary
    I performed the follloewing steps:
    I have imported CRContent.zip succesfully.
    I have configured the data supplier bridge with following parameters.
    Update local SLD (sld/active): TRUE
    RFC Gateway:
    Server : <host name of J2EE server>
    Service : <The SAP gateway service port> (here I gave sapgw00)
    This gateway service is installed while installing WAS Java.
    Please clarify if I can use the same or Do I need to install standalone gateway instance?
    I restarted the Data supplier bridge it is running.
    I have created RFC destinations through visual administrator with
    JCO RFC provider and used the same name for the program id
    in RFC destination of SM59
    Once the above steps are done,I am getting the error.(Error opening RFC)
    Please give me a clue of wat else do I need to do?
    Regards,
    Santhosh

    Hi,
    check the following once.
    How to configure the R/3 system as technical system into portal is follows.
    U need to add some properties in VA.
    Then only it will works.
    U can goto the VA and in SLD data supplier add some properties like this.
    1)HTTP settings: host = poratl host , port=50000 ,user = portal username , pwd=give thepwd.
    2)RFC settings : Gateway host= poratl host and Gatewayservice=sapgw00
    3)CIM client generation settings :host and port are the same as above and user and PWD same above
    After this u need to check the Cimclicnt and that shows success.
    And finally u need to go to the SLD add ur r/3 system properties and and ip address and host name in the host file of ur windows.
    and finally add message server host in the services file in ur windows.
    Have you checked the JCo destinations And SLD connetions.
    If all are correct then u can add the properties in the Application server
    Host file add the IP address and alias name
    C:\WINDOWS\system32\drivers\etc\host
    in services file add the <Messageserverhost> 3600/tcp.
    C:\WINDOWS\system32\drivers\etc\services.
    Then it might helps you.
    Thanks,
    Lohi.

  • RFC connection error for PS_ACCESS_1 and PS_ACCESS_2

    dear all,
    i have created the RFC destination PS_ACCESS_1 and PS_ACCESS_2 with TCP/IP. i also installed WDPS* files in *sapgui\ps\access folder. now i m checking for 'TEST CONNECTION' in sm59 for PS_ACCESS_1 and PS_ACCESS_2 but it is giving  'Error when opening an RFC connection' this error. pls suggest the solution for this problem.
    am i missing any other settings? i m using SAP ECC 6.0. is it comfortable with this? is it required any configuration from basis side?
    regards,
    vicky.

    HI,
    please check the RFC Trace File at SM59 -> RFC -> Show trace file.
    For better tracing delete the Trace File first and recheck the RFC Dest.
    Regards,
    Gordon

  • RFC Connection Error (for end-to-end Monitoring)

    Hi,
    I am configure End-to-End monitoring in XI 3.0 SP20, PMI does't show data in end-to-end monitoring... anyway!!! I check RFC connection PMI
    RFC destination name: PMIXQA90020080827
    in TEST connection I am getting an error: "Group PUBLIC not Found" where may I define that PUBLIC to solve this problem please let me know.... thanks
    and what is Group PUBLIC in RFC ??? what does it do???
    Is there any notes I can read for related issue, please help me out this
    Thanks a lot in advanced
    Edited by: issue2008 issue on Aug 28, 2008 10:03 AM

    Thanks for reply... SURE I can tell you
    Connection Type: 3 R/3 connection
    ScreenShot shows blow:
    http://www.flickr.com/photos/25222280@N03/2806290586/sizes/o/
    Thanks
    Edited by: issue2008 issue on Aug 28, 2008 10:20 AM

  • RFC Connection error in SM59 for SAP J2EE

    Hi All,
    i am getting the following error description while testing the connection for
    SAP J2EE ...
    Connection Test SAPJ2EE  
    Connection Type TCP/IP Connection  
    Logon              Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: program sapfallback not registered
    Error Details     LOCATION: SAP-Gateway on host filip / sapgw00
    Error Details     DETAIL: TP sapfallback not registered
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 1483
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1694
    Error Details     RETURN CODE: 679
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Tue Mar 31 02:44:35 2009
    Error Details     VERSION: 2
    Help me resolve this
    Regards,
    Mahesh.

    Hi,
    Please follow this steps:
    Creating RFC Destinations in the ABAP and Java Environment
    You need to create the following RFC destinations in transaction SM59 (ABAP) and the Visual Administrator (Java):
    u2022 AI_RUNTIME_JCOSERVER
    u2022 AI_DIRECTORY_JCOSERVER
    u2022 LCRSAPRFC
    u2022 SAPSLDAPI
    Depending on your client settings, it may be necessary to be logged on your SAP Exchange Infrastructure host as SAP system user with the authorization to maintain customizing tables and to release transport orders. Note, that user "SAP*" or "DDIC" does not have these authorizations.
    Maintaining the RFC Connections (Transaction SM59)
    1. Log on to your SAP Exchange Infrastructure central instance host.
    2. Call transaction SM59.
    3. Choose Create.
    4. Enter at least the following:
    RFC destination: AI_RUNTIME_JCOSERVER
    Connection type: T
    Description: <your description>
    5. Choose ENTER
    6. Choose the tab Technical settings and do the following:
    a. Select Registered Server Program
    b. In the Program ID field, enter: AI_RUNTIME_<SID> where <SID> is the SAP system ID of your Integration Server host. Use uppercase letters only.
    c. Enter Gateway host and Gateway service of your Integration Server host. To find out the required parameters:
    a. On the Integration Server host, call transaction SMGW
    b. Choose Goto u2192 Parameters u2192 Display (see entries for gateway hostname and gateway service)
    7. Choose tab Special Options and select the flag Unicode in the box Character Width in Target System.
    8. Save your settings.
    9. Repeat the steps 3 u2013 8 for the remaining destinations:
    Destination
    Values
    AI_DIRECTORY_JCOSERVER
    Program ID: AI_DIRECTORY_<SID>, where <SID> is the SAP system ID of your SAP XI host
    LCRSAPRFC
    Program ID: LCRSAPRFC_<SID>, where <SID> is the SAP system ID of your SAP XI host.
    SAPSLDAPI
    Program ID: SAPSLDAPI_<SID>, where <SID> is the SAP system ID of your SAP XI host.
    10. Leave the transaction SM59 open for later tests.
    J2EE Configuration for the Destinations (Visual Administrator)
    1. On your SAP Exchange Infrastructure central instance host, start the J2EE Engine administration tool.
    2. Choose Cluster u2192 Server u2192 Services u2192 JCo RFC Provider
    3. In the section RFC destination, enter exactly the same program ID and gateway options for AI_RUNTIME_JCOSERVER that you used in the step Maintaining the RFC connection above. Additionally, set the number of processes to 10.
    4. In the section Repository, do the following:
    a. Enter the parameter for the SAP XI host: Application Server, System Number, Client and Language.
    b. For User and Password maintain the login parameters for the user SAPJSF.
    c. Select the flag Unicode.
    6. Choose Set.
    7. Repeat the steps 3 u2013 6 for the remaining destinations:
    Destination
    Values
    AI_DIRECTORY_JCOSERVER
    u2022 Corresponding values from SM59
    u2022 Number of processes: 10
    LCRSAPRFC
    u2022 Corresponding values from SM59
    u2022 Number of processes: 3
    SAPSLDAPI
    u2022 Corresponding values from SM59
    u2022 Number of processes: 3
    Testing the RFC Destination
    After you have maintained all RFC destinations in both the ABAP and Java environment, you can check all the connections above as follows:
    1. Call transaction SM59 again.
    2. Open your RFC destination.
    3. Choose Test Connection. No error should be displayed.
    This will solve your problem.
    Thanks
    Laxmi Bhushan

  • RFC Connection error message while Debug the running WebDynpro app

    Dear friends,
    I am trying to debug WebDynpro application.
    After configuring the NWDS with the J2EE server instance, I try to run the WebDynpro application, which I want to debug.
    I did selecting the application and run after putting breakpoint at a button click.
    But the webdynpro application uses 2 JCo destiantions, and so it gives JCOClientConnection for logical System: ... Please assure that you have configured the RFC connections and/or logical system name properly for this model! message.
    If I run the same application from the portal, it doesn't give such error message.
    Can anybody help me how can I run the WebDynpro application for debug purpose without getting this error message?
    Thanks and regards,
    Lakshmikanthaiah

    Hi,
    are you running the application on the same server? Or are you using the Debugmode on your local installation.
    If so, you should check the JCO Destinations on you local server.
    <a href="http://localhost:50000/webdynpro/dispatcher/sap.com/tcwdtools/WebDynproConsole">http://localhost:50000/webdynpro/dispatcher/sap.com/tcwdtools/WebDynproConsole</a>
    Regards,
    Dennis

  • Configuring JCo3 Connection Pool with single sign on on non SAP Java server

    Hi Everyone,
    i have configured a connection pool on JBoss as per JCo3 Documentation and is working great.
    Now I need help to configure this connection pool with single sign on so that RFc on SAP ECC systems are executed using end users credential rather than using single user name password used to configure JCo connection pool.
    On SAP Java stack I am sure its possible within Java WebDynpro    and i assume using JCA resource adapter. But what if we don't want to use SAP Java App server.
    Any help will be appreciated.
    Thanks,
    Divyakumar Jain

    Eason, 你好!
    I have exactly the same problem.  Did you find a solution to this problem?  If so, please let me know!

  • Java communication error: Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679 Transaction program not registered ).

    There is a RFC connection not working connection test fails.
    I found out the RFC is using a a program id that is not registerd.
    When I register the program on os level like rfcexec -r -a <program_id> -g <hostname> -x <sapgw> the connection test on the rfc works.
    The problem with the rfcexec is that it just works as long as the os session is active.
    From what I´ve read I need to configure this on java side in the web dynpro content administrator.
    Can you help me with that ? When I try to click Create jco destination I get an error.

    Hello Vioar,
    rfcexec is only a standard program for testing, you sould not register it for your application on the gateway.
    Since you are getting "User is not allowed to read any data..." - did you logon with the correct user? Does this user have enough authorizations?
    Regards,
    Alwina

  • Error while saving web template in WAD? Error in opening RFC Connection?

    Hi All.
    In BI 7.0, While trying to save an web template using BEx WAD resulting an error as mentioned below:
    " Java communication error : Error when opening an RFC connection "
    Who provides this RFC connection?
    - By Basis guy or BI Guy or EP guy or helpdesk.
    Please reply.
    Thanks in Advance.

    Hi,
    Kindly review the notes 917950 and 888687 and ensure that all your web configuration settings are proper.
    Award points if helpful.
    Thank you.
    Regards
    Suresh

  • Solution Manager 4.0 - RFC Connections

    hi there,
    While ago I configured all my RFC connections within Solution Manager 4.0, and wanted to make sure what are those for:
    1. RFC BACK connection (SM_<SID>CLNT<Client no.>_BACK) is used for the SDCCN to collect the session data. But I realized it is also used for Service Desk when users attempt to create support messages from the satellite system. Is this OK?
    2. The other RFC connections (SM_<SID>CLNT<Client no.>_LOGIN, SM_<SID>CLNT<Client no.>_READ, SM_<SID>CLNT<Client no.>_TMW, SM_<SID>CLNT<Client no.>_TRUSTED) I am not sure whether they are used and where.
    Can somebody please give me a light in this matter? because I think this is bringing me issues in other solution manager features :-S
    Thanks a lot.
    regards
    Katia.

    Hi there again,
    Thanks very much. It is more clera; just one last question. Then what RFC destination should I use in my satellite system, the one: SM_<SID>CLNT<Client no.>_BACK or SM_<SID>CLNT<Client no.>_TRUSTED ?
    And using one of those, with no log on screen option, would make me add the corresponding user profile (for example for create support messages) to the user inserted in such a RFC connection in the "logon data" tab right?
    I am using now SM_<SID>CLNT<Client no.>_BACK withtout log on screen option, and the user which is inserted in this RFC connection has the appropiate profiles, but message are created incomplete (I got this error message: "error in local system, message 0000165 incomplete"). I can see those messages from DNOTIF transaction but not from transaction monitor...
    How you do this? Because it used to work using same RFC connection (SM_<SID>CLNT<Client no.>_BACK) but with log on screen, so the user was prompted for logging and messages were created succesfully; but then since this rfc connection is also used by SDCCN the data was not being collected, since the log on was required :-S
    That is what I changed to no log on screen, and got confused about these RFC connections thing...
    Do you have an idea about this?
    And thank you very much in advance again.
    regards,
    Katia.

  • Abour Solution Manager RFC connection

    Hi, All
    About soulation manager 4.0, I got configuration guide to setup "Real time system Monitoring"
    as per user guide -> create RFC connection and setup system monitoring, it make me little bit confousing
    currently Solution manager setup for earlyWatch report and works fine.
    WHAT I WANT ?
    To seutp/configuration "REAL TIME SYSTEM MONITORING" for XI 3.0 and CCMS monitoring in Solution manager
    T-code: SMSY shows this screen:-
    There are 5 different types of Tab after apply SMSY
    1. Landscape Components
    2. Database
    3. System Group and Logical Components
    4. Product Definitions
    5. Overview
    I am not sure where I create RFC connection and what value will i put in it?
    1. Landscape components shows under: all others server name list
       SERVER
         shows server host name: (r5wxw0) and right side windows shows
         data source RFC
         and Technical Data Tab shows all others value (that system I like to monitor)
    2. DataBASE  (all others application server name)
         IDV
           Header Data Tab
           Data Source: TMS/RFC
    3. System Group and Logical Components  (under)
       Project Landscapes
       Solution Landscape - operation
       Logical components
    4. Product Definitions (under)
       lot of product list
    5. Overview
         Server
         Database
         Systems
    Now where sould I go to configure CCMS monitoring ?
    Thanks in Advanced
    Travis

    Hi user issue2008 issue
    actually i can't connect to solman, but i think it was under 3.
    When you select a component, i.e. Dev R/3 or so you should have several clients.
    There you can define RFCs and also there you can define Solution Monitoring.
    But I think there should be already RFC-Destinations, when you had configured the EWA.
    Then you should check the client with the RFC-Destination and Checking Destination.
    In Edit-mode you can check the box for Solution Monitoring and save and ok.
    After that it should be activated.
    Hope it helps you.
    Regards,
    René

  • Regarding RFC connection in File to IDOC Scenario

    Hi everyone,
               I was configuring file to Idoc Scenario, i have made all the required configurations in SLD, IR and ID, in XI system and in R/3 System. i have created RFC connection from XI to R/3 system, and its working fine. i have created an Partner profile in WE20 with sender file system name with inbound parameters. <i>But still i am getting error as EDI Partner Profile not defined in WE05- iDOC ADDED WITH ERRORS. </i><b>Do we need to create an RFC connection from R/3 system to XI for file to Idoc Scenario</b>
         <b>!!! Note:  RFC connection from R/3 system to XI is not working, will this be a problem for file to idoc scenario. !!!</b>
    Regards,
    Varun Reddy.K

    Hi Varun
    Follow these steps
    First - Maintain the Sender R/3 System:
    SM59 : Create a RFC destination to XI
    WE21 : Create a TRFC Port ->Specify the RFC Destination Created
    BD54 : Create a Logical System for the Idoc Receiver
    WE20 : Create Partner Profile ->Maintain Outbound and the Inbound Parameters
    Second - Log on to XI System:
    SM59 : RFC Destination for Sender System
    IDX1 : Create the port to get Idoc Metadata from Sender System ( The Port Name must match the port name in the idoc header - Usually in format SAP<System ID>. eg. SAPID1 [Optional Step. Not mandatory]
    IDX2 : Maintain the Idoc Metadata. This is needed only by XI, and not by other SAP systems. IDX2 is needed because XI needs to construct IDoc-XML from the IDoc. No other SAP system needs to do that.
    Regards,
    Santosh

Maybe you are looking for

  • IPod Touch can't connect to imap/smtp server

    I have a 1st generation iPod Touch running iOS 3.1.3 (it's the iPhone OS, and I suspect that this problem is OS related).  I have half a dozen gmail accounts to which I connect to over WiFi using IMAP for reading and SMTP for sending.  It works flawl

  • Java 1.5 required for Web Start?

    I just got our application to download and run through JWS, but it appears that WebStart is forcing all my clients to upgrade their JRE to 1.5. My JNLP clearly specifies 1.4.2+ as the required JRE, however. Is there somewhere other than the JNLP that

  • My iCloud account doesn't exist on my mac mini.

    Hello, In the beginning I only had the home mac mini to use. Since I was tech savvy I got control of the computer. I created an apple ID and an iCloud account. Then I got my macbook pro and I logged into my iCloud account on there, but didn't set up

  • Flaky DSL connection

    I have a DSL connection through Verizon that requires a username and password to get connected and once connected is always on. Now when I set this up with the DSL Modem/Router(it is a full router with all capabilites for networking like Linksys or A

  • How do I edit the shared drop down menu in sidebar?

    I work in a design studio. We have 6 macs that we share files between. There are also close to twenty PCs on our network that I don't need to connect to. I want to have all the macs at the top of the list for easy access but at the minute I am seeing