Registration of a Server Program in SAP Gateway

Hello Everybody,
Everyday while checking logs using T-Code SM21 I am getting the following error log and its description are as follows:
R49 Communication error, CPIC return code 002, SAP return code 679
R64 > CPI-C function: CMINIT(SAP)
Details
Recording at local and central time........................ 01.02.2008 02:36:28
Task................ 04756 / Background Processor No. 14
User................ HSSP1681
Client.............. 000
Terminal............
Session............. 1
Transaction code....
Program name........ RSLDAGDS
Problem class....... K SAP Web AS Problem
Development class... STSK
Further details for this message type
Module name......... thxxcpic
Line................ 3594
Error text.......... 002679
Caller.............. ThCPICS
Reason/called....... CPIC-Er
Documentation for system log message R4 9 :
A CPIC function has failed. The conversation ID and CPIC function are
specified in the system log entries. Use the conversion ID to find
more detailed information about the error in the system log for the SAP
gateway.
Technical details
File................ 000011
Position............ 0000134100
Entry type.......... m ( Error (Function,Module,Row) )
Message ID.......... R4 9
Variable parts...... 002679 ThCPICSCPIC-Erthxxcpic3594.
I had also referred the notes 353597 and 63930.
I had also Registered the Server Program :RSLDAGDS in SAP Gateway using T-Code: SM59 but while doing test connection it shows the following Error:
Connection error Error opening an RFC connection.
Detail Description of Error:
ERROR program RSLDAGDS not registered
LOCATION SAP-Gateway on host saptrng / sapgw00
DETAIL TP RSLDAGDS not registered
COMPONENT SAP-Gateway
COUNTER 778
MODULE gwr3cpic.c
LINE 1609
RETURN CODE 679
SUBRC 0
RELEASE 640
TIME Fri Feb 01 09:35:19 2008
VERSION 2
Please suggest the solution and steps to solve the above mentioned Error in my Development System.
Thanks and Regards,
Ashish Thakkar.

Hi Vincent,
          I had alreadry referred the Note:353597 and created the RFC connection for program "RSLSAGDS" but while testing the connection it shows the following error:
ERROR                program RSLDAGDS not registered
LOCATION             SAP-Gateway on host saptrng / sapgw00
DETAIL               TP RSLDAGDS not registered
COMPONENT            SAP-Gateway
COUNTER              8105
MODULE               gwr3cpic.c
LINE                 1609
RETURN CODE          679
SUBRC                    0
RELEASE              640
TIME                 Mon Feb 04 02:43:46 2008
VERSION              2
I wanted to know what should I define in Program ID while creating a connection for program "RSLDAGDS" as in my System only registered Program ID is IGS.SBX.
Thanks and Regards,
Ashish Thakkar.

Similar Messages

  • JCO.Server Error while trying to execute a RFC program from SAP

    Hi,
    We are connecting to an external registered server program from SAP via Web Methods.
    The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
    An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
    We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
    Number - 10
    LUname - dev01
    TPName - sapgw00
    User - KRAORANE
    Status - CONNECTED
    Symbolic - PRDB2B
    Conversation - 86520353
    Prot - REG
    SAP return code - 0
    CPIC rtn code - 0
    The external program returns results as expected.
    However sometimes the RFC fails and returns the message “JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS”.
    We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
    -Kiran

    Hi,
    Please see the below links..
    JCO.Server Error while trying to execute a RFC program from SAP
    Re: JCO.Servcer could not find server function
    Re: JCO.Server could not find server function 'SET_SLD_DATA'
    /people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
    Re: interfacing SAP with an existing java applications
    http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
    http://www.sapgenie.com/faq/jco.htm
    Regards
    Chilla..

  • JCo server programming, properties and connection settings

    Greetings, SAP professionals.
    The reason I come to this forum is that I'm hoping to gain some insights into the use of the SAP Java Connector (JCo). I am a developer who was tasked with making a new component for a systems integration application. As is typical of integration software, our app can link together various different systems using a variety of protocols, as well as providing the means to apply business logic on messages passed from one location to another. We already have a connector acting as an SAP client which was implemented using JCo. Now, we were asked to develop a new component: a server capable of accepting RFCs from a remote SAP system acting as client. The server is to be created using the JCo classes, so basically an extension of JCo.Server, with some logic for creating function templates from configuration files.
    However, while I'm understanding the structure of the Java API, it's not entirely clear to me just what the classes do. I've found the JavaDoc for JCo to be mostly descriptive of the interface of classes and methods, but not really explaining what these achieve, or how. So I'm hoping to be set straight, as I fear I'm kind of misunderstanding the functionality of JCo... Being mainly an integrations developer, I unfortunately often have to settle for gaining a superficial knowledge of a variety of systems to quickly interface with them, so I don't have any prior knowledge of SAP but still need to be able to implement something with JCo without too much delay.
    The most important question I have is this: when a JCO.Server implementation is started, does it act as a fully standalone component capable of receiving calls, or does it merely act as a sort of listener for some main SAP system? I'm not talking about a reliability on the two .dll files (or .so for Linux) that are required for the use of JCo, I just wish to know if the JCo package is entirely self-sufficient for server functionality or if it is intended to be linked to some SAP system.
    A second problem I have is that the parameters passed to various constructors aren't clear to me... I'm not familiar with SAP terminology, nor have I worked with any client apps that make use of an SAP system.
    The meaning of client strings, gwhost, gwservice, ashost, system IDs and program IDs mostly elude me, especially when it comes to knowing what client parameters must match what server parameters.
    In order to familiarize myself with the classes, I've tried playing around with them a bit trying to create a small test app that first starts a JCO.Server instance, then tries to make a remote function call to it with a JCO.Client (within the same class, for simplicity and debugging purposes). I was wondering if this actually makes sense... Would a JCo client be capable of connecting to a JCo server, all running purely in Java, or is that nonsense?
    To eliminate some common troubleshooting options, I'll quicly describe the steps I've taken:
    Both librfc32.dll and sapjcorfc.dll were placed in the Windows system32 folder. Maybe only librfd32 needs to be placed there, but I copied both anyway to make sure.
    The directory containing the jar file and both dll files is included in my environment path variable.
    I've added a line to the C:\Windows\system32\drivers\etc\services file as follows:
    sapgw00          3300/tcp                           #SAP System Gateway Port
    I've opened port 3300 in my Windows firewall. In fact, I also tested with the firewall completely turned off.
    However, I do not manage to get my test class to work. I've tried ports 3300, 3200 and 3600. I've tried various permutations of the client and server properties. I've tried removing the line from the services file, which would prompt the client to state upon connecting that the service "sapgw00" is unknown. When I add it back in, the error changes to "partner not reached", so it is definitely picking something up.
    The server itself starts just fine, but connecting through a client doesn't work. My class source code is posted below. Maybe what I'm trying to do doesn't make any sense, but at the moment it's my best guess.
    I realize this is a pretty long post and the class, while not exactly big, also implies a bit of reading of its own. But if anyone could give me any answers that are new to me, I'd be hugely grateful. Right now I'm kind of stuck, and just setting up the service and letting our customer test on it is a somewhat slow approach that can't match developing and testing on one and the same host.
    Preliminary thanks to everyone who took the effort to read this.
    //Start of code
    import java.util.Properties;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.IMetaData;
    import com.sap.mw.jco.IRepository;
    import com.sap.mw.jco.JCO;
    public class Test {
         public static void main(String[] args) {
              Test test = new Test();
              ServerThread serverThread = test.new ServerThread();
              serverThread.start();
              while(!serverThread.isReady) {
                   try {
                        Thread.sleep(5000);
                   } catch(final InterruptedException i) {
                        System.out.println("Rudely awakened");
              try {
    //               JCO.Function func = getSampleFunction(test, "STAY");
    //               serverThread.server.handleRequest(func);
    //               System.out.println(func.getExportParameterList().toXML());
    //               func = getSampleFunction(test, "STOP");
    //               serverThread.server.handleRequest(func);
    //               System.out.println(func.getExportParameterList().toXML());
                   final Properties clientProps = getClientProps();
                   JCO.Client client = JCO.createClient(clientProps);
                   client.connect();
                   IRepository rep = JCO.createRepository("1", client);
                   IFunctionTemplate templ = rep.getFunctionTemplate("TEST_FUNC");
                   JCO.Function function = templ.getFunction();
                   function.getImportParameterList().setValue("STAY", "FIELD1");
                   client.execute(function);
                   JCO.Function function2 = templ.getFunction();
                   function2.getImportParameterList().setValue("STOP", "FIELD1");
                   client.execute(function2);
              } catch(final Exception e) {
                   e.printStackTrace(System.out);
                   serverThread.requestStop();
                   while(serverThread.isAlive) {
                        try {
                             Thread.sleep(5000);
                        } catch(final InterruptedException i) {
                             System.out.println("Rudely awakened");
              } finally {
         private static Properties getClientProps() {
              final Properties props = new Properties();
              props.setProperty("jco.client.client", "100");
              props.setProperty("jco.client.user", "");
              props.setProperty("jco.client.passwd", "");
              props.setProperty("jco.client.lang", "");
              props.setProperty("jco.client.sysnr", "00");
              props.setProperty("jco.client.ashost", "/H/localhost/S/sapgw00");
              props.setProperty("jco.client.gwhost", "localhost");
              props.setProperty("jco.client.gwserv", "sapgw00");
              return props;
         public class ServerThread extends Thread {
              public void run() {
                   isAlive = true;
                   IRepository repos = new TestRepository("testrep");
                   repos.addFunctionInterfaceToCache(getFunctionInterface());
                   server = new TestServer(repos);
                   server.start();
                   System.out.println("Server successfully started");
                   isReady = true;
                   while(!stop) {
                        try {
                             Thread.sleep(1000);
                        } catch(final InterruptedException i) {
                             System.out.println("Wouldn't let me sleep...");
                        stop = server.stopRequested;
                   server.stop();
                   isAlive = false;
                   System.out.println("Server successfully stopped");
              public void requestStop() {
                   server.requestStop();
              public TestServer server;
              public boolean isReady = false;
              public boolean isAlive = false;
         public class TestServer extends JCO.Server {
              public TestServer(IRepository rep) {
                   super("localhost", "sapgw00", "PROGID", rep);
              public void handleRequest(JCO.Function fct) {
                   try {
                        JCO.ParameterList importParams = fct.getImportParameterList();
                        final String importXML = importParams.toXML();
                        System.out.println("XML representation of import parameters: ");
                        System.out.println(importXML);
                        final String input = importParams.getString("FIELD1");
                        System.out.println("FIELD1 value: " + input);
                        JCO.ParameterList exportParams = fct.getExportParameterList();
                        if(input.equals("STOP")) {
                             exportParams.getField("FIELD2").setValue("OK");
                             stopRequested = true;
                   catch(JCO.AbapException ex) {
                        throw ex;
                   catch(Throwable t) {
                        throw new JCO.AbapException("SYSTEM_FAILURE", t.getMessage());
              public boolean checkAuthorization(String functionName, int authorMode, String partner, byte[] key) {
                   System.out.println(functionName + " " + partner);
                   return true;
              public void requestStop() {
                   stopRequested = true;
              public boolean stopRequested = false;
         public class TestRepository extends JCO.BasicRepository implements IRepository {
              public TestRepository(String name) {
                   super(name);
         public static IMetaData getFunctionInterface() {
              JCO.MetaData metaData = new JCO.MetaData("TEST_FUNC");
              metaData.addInfo("FIELD1", IMetaData.TYPE_STRING, 4);
              metaData.setFlags(0, IMetaData.IMPORT_PARAMETER);
              metaData.addInfo("FIELDX", IMetaData.TYPE_STRING, 8);
              metaData.setFlags(1, IMetaData.IMPORT_PARAMETER & IMetaData.OPTIONAL_PARAMETER);
              metaData.addInfo("FIELD2", IMetaData.TYPE_STRING, 2);
              metaData.setFlags(2, IMetaData.EXPORT_PARAMETER);
              return metaData;
         public static JCO.Function getSampleFunction(Test test, String s) {
              TestRepository testRep = test.new TestRepository("testrepository");
              testRep.addFunctionInterfaceToCache(getFunctionInterface());
              JCO.Function func = testRep.getFunctionTemplate("TEST_FUNC").getFunction();
              func.getImportParameterList().setValue(s, "FIELD1");
              return func;
         private static boolean stop = false;

    If I understood you correctly, you want to provide a "service" that can be called from SAP. To provide this service you've chosen to implement an (external) RFC server program via JCo. One common method for RFC server programs is to register in SAP on the gateway - you do this by supplying the three parameters
    <ol>
    <li><b>jco.server.gwhost</b> -  SAP gateway host on which the server should be registered (so this would be the server name or IP address of the SAP gateway; localhost is only correct, if your RFC server program runs on the same server as the SAP gateway)</li>
    <li><b>jco.server.gwserv</b>  - Gateway service, i.e. the port on which a registration can be done</li>
    <li><b>jco.server.progid</b> - Program ID under which your RFC server program can be reached (free, made-up case sensitive name, that should represent the service your RFC server is providing)</li>
    </ol>
    So essentially you're creating a listener, that is registered in SAP and waits for any invocations. Within SAP they will define a <i>RFC destination</i>, which basically represents a TCP/IP connection pointing to the SAP gateway where you registered with the given program ID. If you want more details, check the SAP help pages for <a target="_blank" href="http://help.sap.com/saphelp_nw04/helpdata/en/22/04262b488911d189490000e829fbbd/content.htm">RFC destinations</a> (you're looking for destination type <b>T</b>, see explanations <a target="_blank" href="http://help.sap.com/saphelp_nw04/helpdata/en/22/042652488911d189490000e829fbbd/content.htm">here</a>).
    Usually gateway host and service (port) are given to you by the SAP basis folks and you tell them which program ID you're using. They will then enter those parameters in an RFC destination of type <b>T</b> in SAP. So no need for any of the client parameters you've mentioned. Although, I'd like to repeat, it's usually handy to also have SAP logon parameters maintained on your RFC server program, so that you can utilize the repository data from SAP (might be irrelevant in your case).
    Hope this clarifies it a bit...

  • Connect to SAP Gateway failed.

    Hello.  When I setup the databridge it errors out.  When I check for processes, it shows sapmsj2e as being on port 3601 in my services file.  But I can't launch a webdyn pro or access my machine with the sap gui.  Any ideas?
    Heres the log file snipped
    352 11/16/04 1:28:12 PM [SAPEngine_Application_Thread[impl:3]_12] INFO com.sap.lcr.webui.DPBridgeServlet: Data Supplier Bridge started.
    #351 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: JCO exception processed.
    #350 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: On server exception: Terminated thread.
    #349 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: JCO Server exception received: Server startup failed at Tue Nov 16 13:28:09 PST 2004.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.
    Could not start server: Connect to SAP gateway failed
    Connect_PM TPNAME=SLD_NUC, GWHOST=orw-gharnish, GWSERV=sapmsJ2E
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR connection to partner broken
    TIME Tue Nov 16 13:28:09 2004
    RELEASE 640
    COMPONENT NI (network interface)
    VERSION 37
    RC -6
    MODULE ninti.c
    LINE 784
    DETAIL NiPRead (147.34.68.157/sapmsJ2E, hdl 1)
    SYSTEM CALL recv
    COUNTER 88
    Thrown:
    com.sap.mw.jco.JCO$Exception: Server startup failed at Tue Nov 16 13:28:09 PST 2004.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.
    Could not start server: Connect to SAP gateway failed
    Connect_PM TPNAME=SLD_NUC, GWHOST=orw-gharnish, GWSERV=sapmsJ2E
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR connection to partner broken
    TIME Tue Nov 16 13:28:09 2004
    RELEASE 640
    COMPONENT NI (network interface)
    VERSION 37
    RC -6
    MODULE ninti.c
    LINE 784
    DETAIL NiPRead (147.34.68.157/sapmsJ2E, hdl 1)
    SYSTEM CALL recv
    COUNTER 88

    Also.  If I check my bridge connections it shows this:
    [DOWN] JCO/RFC server threads
    Is that related to the other problem?
    Thanks,  Graeme.

  • Calling JCO RFC Server program from JCO RFC client

    Hi,
    I have an RFC registered server program which implements JCO.Server.  It seems to be working fine, when called from SAP.
    For testing purposes, I was trying to write a JCO client program which would take the place of the SAP client.
    This program opens a connection to the RFC server and executes a function e.g.
    JCO.Client client = JCO.createClient("xx.yy.com", "sapgw35", "MYPROGID");
    client.connect();
    client.execute(function);
    The RFC server program receives the call fine, when I test with a simple function which has no table parameters.  However when I tried a more complex function with table parameters, I get an serverExceptionOccurred from the RFC server program:
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: connection closed without message (CM_NO_DATA_RECEIVED)
        at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method)
        at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(MiddlewareRFC.java:1368)
        at com.sap.mw.jco.JCO$Server.listen(JCO.java:6805)
    I have tried to initialize the repositories in both server and client programs correctly, so that the function is in the cached function list and the table structures in the cached structures list before the function is invoked.  But I am not sure if there is still something I am missing, so any ideas would be welcome.
    Thanks,
    Richard

    JCO example 5 is a very good one for server side programming.
    try the example,somethings you 'd better make clear.
    1) JCO.server
    2) repositories--data mapping
    3) parameters: export import,table...
    further topic:
    1) JCO pool
    2) tRFC,qRFC
    After you have success in Client side programming,try example 5.
    Regards

  • Issue in registering program id to SAP gateway using JCO

    Hi All,
    In our java application we are registering a program id to SAP gateway so that we can listen the data sent from R/3 systems.
    I need some basic information about the gateway registeration. I have following queries :-
    1. If I register a program id, till what time this registeration remains in the R/3 system.
    2. Is there any way to do the permanent registeration.
    3. In our scenario we have clustered java server which is set up on a clustered OS. That means one java server is on one hardware machine and other java server is on another machine. Once we register a program id from one of the java server ,it
    gets registered with that particular machine IP address. Now if one of the java server gets down ,other java server should start listening to SAP system. But this is not happening because our other java server is on another machine whose IP address is different and is not registered with SAP system.Is there any way to deal with this situation. One thing we could think of is to register all the machines permanently with SAP system. So that whichever machine gets down communication will not break.All the machines will remain registered in the R/3. But I am not sure how to do that.
    Can anyone help me here.
    Thanks and Regards,
    Reena

    1.) The registration remains active until you unregister it, or until the SAP gateway recognizes that the connection has been interrupted somehow. If there are multiple registrations of the same programID, this is valid for each single one. So one could say, that a programID's registration is valid as long as at least one registration is still valid.
    2.) There is no such thing. What do you mean with permanent registration?
    3.) You already gave the answer by yourself. Just register all RFC servers from all nodes simultaneously. The RFC requests will be dispatched to any of the nodes all the time. If one server node gets down, the connections to this particular server will be interrupted and it won't receive any RFC requests any longer.
    And you don't know how to do that? Just start the RFC servers on all server nodes and they will register at the SAP gateway. I don't understand this question.

  • Registering a program on the SAP gateway

    Hi All
    I have to setup an interface to an external application from SAP using ALE and IDocs. The external application needs to register an instance on the SAP gateway server. If this is complete then you only need to setup an RFC connection with a programID (The ID that is used in the gateway instance) and it will allow a connection between SAP and the external application.
    The problem I am having is that I don’t know how to register the external application on the SAP gateway. Can anyone help me with this problem?
    Thank you.

    Hi,
    the below blogs may help you
    Program ID in RFC destination-XI
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    - Satish

  • No ehs management server is currently logged on at SAP Gateway

    Hi,
    I have installed EHS management server and WWI server on a separate server. The RFC between ECC Dev to WWI server is running fine. The ECC Dev server is able to call the registered program on SAPRFC.ini.
    But when I run TCD CGSADM notthing is coming up and it throws error as "No ehs management server is currently logged on at the sap gateway".
    I have checked and done whatever was required as per the sapnote 839750, 580586, but still CGSADM is not working.
    Also in SMGW i can see the EHS server as Remote Gateway.
    Kindly let me know how to rectify the Issue.
    Thank You!

    Hello
    I am facing similar issue, could you please let us know if you found any solution.
    Thank You.

  • Same Program ID registered two times at SAP gateway

    Hi Experts,
    I Developed RFC to File scenario. In the sender rfc adapter i provided program id PID_SAP_ID. I used this program id in TCP/IP rfc destination.of r/3 system. I am running one report ZPM_SCHEDULE_OUTBOUND in r/3 to send data to XI. The problem is that, there are two instance of program id PID_SAP_ID registered in sap gateway because of this some times when I run the ZPM_SCHEDULE_OUTBOUND program, nothing is being passed to XI. What could possibly cause two instances of PID_SAP_ID program to run?
    If anybody knows solution please let me know.
    Thanks,
    Venky

    Hi Jakub Turminski ,
    I am using that program id in one communication channel.
    Thanks,
    Venky

  • How to copy a Module Pool Program from one SAP server to another SAP server

    Hi Experts,
    My requirement is to copy some Module pool programs from one SAP server to another SAP server which do not have any link.
    Please advise on this.
    Regards
    Dipak

    put all relevant objects inside a transport request and release it. this will generate two files, a control file in /usr/sap/trans/cofiles/ and a data file in /usr/sap/trans/data/
    you can take these two files, zip'em up and e.g. email them to your destination. There they have to be put into the same directories of that other server and can then be added to the import queue and finally imported.
    These last steps would usually be done by an administrator.
    Both systems should be on the same release, as far as I know.
    Cheers
    Thomas

  • Connect from SAP gateway to RFC server failed - Java StandAlone app X SAP RAC System

    Dears,
    I'm developing a Java application (RFC SERVER) with JCo3 and I need to connect to SAP RAC system.
    I have configured the TCP/IP connection via transaction SM59, but when I try to start my server I face the error below (dev_jco_rfc.trc):
    ==========================================================================================
    **** Error file opened at 20140714 112024 Brasilia Time Rel 3.0.10 (2013-08-08) [720.440]
    Error:  >Mon Jul 14 11:20:24,636<    RfcException: [null]
        message: Connect from SAP gateway to RFC server failed
    Connection parameters: TYPE=A DEST=VSPAGUE ASHOST=cpe1601 SYSNR=01 SAPROUTER=/H/155.56.49.28 PCS=1
    LOCATION    SAP-Gateway on host ld7624.dmzwdf.sap.corp / sapgw01
    ERROR       hostname 'cpe1601' unknown
    TIME        Mon Jul 14 16:20:25 2014
    RELEASE     740
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -2
    MODULE      /bas/740_REL/src/base/ni/nixxhl.cpp
    LINE        193
    DETAIL      NiHLGetNodeAddr: hostname cached as unknown
    COUNTER     3
        Return code: RFC_FAILURE(1)
        error group: 102
        key: RFC_ERROR_COMMUNICATION
    ==========================================================================================
    This problem happens when my app executes the line:
    JCoServer myServer = JCoServerFactory.getServer(myServerName);
    My system properties:
    jco.client.lang=EN
    jco.destination.peak_limit=10
    jco.client.client=800
    jco.client.passwd=********
    jco.client.user=********
    jco.client.sysnr=01
    jco.destination.pool_capacity=3
    jco.client.ashost=/H/155.56.49.28/H/cpe1601
    jco.server.connection_count=3
    jco.server.gwhost=/H/155.56.49.28/H/cpe1601
    jco.server.progid=VSPAGUE
    jco.server.gwserv=sapgw01
    jco.server.repository_destination=VSPAGUE
    Using SAP Logon i can connect to server cpe1601 system E16 without problems.
    Please, I really need some help, because my knowledge on SAP platform is minimum.

    Hi Markus,
    Changing ASHOST=ld7624.dmzwdf.sap.corp as you have suggested, I got the error message: Connect to SAP gateway failed ...
    As you could see, the host I'm connecting is from SAP RAC Service.
    Here in our company we have only SAP Logon and my RFC Application, and I can connect to SAP remote system via SAP Logon with this settings:
    System Connection Parameters
    Description: SAP ECC 6.0
    Application Server: cpe1601
    Instance Number: 01
    System ID: E16
    SAProuter String: /H/155.56.49.28/H/
    Below the connection information I received from SAP RAC SUPPORT for testing purposes:
        E16 System:
        SID: E16
        Client: 800
        System Number: 01
        Server: cpe1601
        Component Version: SAP ERP Central Component 6.0 Enhancement Pack 6 Suite on HANA
        User: ********
       Password: ********
       SAProuter String:
       If you don't plan to use SAPRouter at your end,
       /H/155.56.49.28/H/    

  • Crystal report- Connect from SAP gateway to RFC server failed

    Hi All,
    I am trying to connect to a SAP R3 system from crystal reports but it gives me below error.
    Please note : Transports have been imported and also the roles CRYSTAL_ENTITLEMENT and CRYSTAL_DESIGNER. My user is a member of these roles which were release along with Best practice reports v1.31
    Error :
    Logon failed.
    Details: CMALLC : rc= 27 > Connect from SAP gateway to RFC server failed
    Connect_pm GWHOST=10.10.4.63, gwserv=SAPGW30, SYSNR= 30
    Location SAP-gateway on host ply.log.com/sapgw30
    Error timeout during allocate
    TIME ....
    Release 700
    Component SAP Gateway
    Version 2
    RC 242
    Module gwr3cpic.c
    LINE 1996
    Detail no connect of TP sapdb30 from host 10.10.4.63 after 20 sec
    Can you please help us solving this error.
    Thanks
    Chetan

    Hi Stratos,
    The SAP Version is ECC 6.0.
    The below transports have been imported.
    u2022 Open SQL Connectivity transport (K900574.r21 and R900574.r21)
    u2022 Info Set Connectivity transport (K900575.r21 and R900575.r21)
    u2022 Row-level Security Definition transport (K900576.r21 and R900576.r21)
    u2022 Cluster Definition transport (K900585.r21 and R900585.r21)
    u2022 Authentication Helpers transport (K900578.r21 and R900578.r21)
    Thanks & Regards,
    Chetan

  • Connect from SAP gateway to RFC server failed

    Good day and a happy new year to you all!
    I am failing to connect to my SAP BW system from BEx. The logon fails with this message:
    >>>>>Start<<<<<<<<<<
    Error Group
    RFC_ERROR_COMMUNICATION
    Message
    Connect from SAP gateway to RFC server failed
    Connect_PM  GWHOST=10.16.64.77, GWSERV=sapgw02, ASHOST=10.16.64.77, SYSNR=02
    LOCATION    SAP-Gateway on host bwsys / sapgw02
    ERROR       timeout during allocate
    TIME        Sat Dec 31 13:16:19 2005
    RELEASE     640
    COMPONENT   SAP-Gateway
    VERSION     2
    RC          242
    MODULE      gwr3cpic.c
    LINE        1785
    DETAIL      no connect of TP sapdp02 from host 10.16.64.77 after 22 sec
    COUNTER     2
    >>>>>>>>>END<<<<<<<<<<<<
    I only experience this problem when connecting using any BEx component, but, I can successfully connect to the SAP BW system from SAP gui.
    Additionally, I have the service 'sapdp02' defined in the services file, both on the workstation and the server.
    What could be wrong or missing in my configuration?
    Regards,
    Joao.

    hi Joao,
    check if oss note 447882 relevant
    you may ask basis for help
    Symptom
    You want to access the customer system using the BEx Analyzer.The connenction fails:The system displays the error RFC_ERROR_COMMUNICATION.In the detail screen, the system displays message "Partner not reached" (host 192.168.4.2, service sapgw 00).
    Other terms
    SAP Gateway, RFC_ERROR_COMMUNICATION, partner not reached
    Reason and Prerequisites
    The SAP gateway host is deactivated or the TCP/IP port 33xx (where xx corresponds to the system number) is not open.
    Solution
    Issue statement ping <IP address> (In this example:192.168.4.2) No reply: Boot SAP Gateway host required.
    An answer:Check whether the TCP/IP port 33xx is open (where xx corresponds to the system number) and start the SAP gateway.
    The TCP/IP port is also partially defined in the services file as an sapgw<SID> or sapgwxx entry (where xx corresponds to the system number). The services file is in the Windows directory or in WinNT/System32/drivers/etc.

  • Error: Connect from SAP gateway to RFC Server failed

    Hi
    I am trying to connect SAP server using the java (JCO connection), and getting following error. While I am able to connect to the same sever using SAP Logon pad with the same ipaddress (hostname) and logon credentials.
    Please kindly help.
    Erro: Connect from SAP gateway to RFC server failed.
    Connect_PM GWHOST = hostname, GWSER = sapgw03, ASHOST=hostname, SYSNR=03
    LOCATION  SAP-Gateway on host hostname / sapgw03
    ERROR       timeout during allocate
    TIME Wed Oct 31 05:31:45 2007
    RELEASE 640
    COMPONENT SAP-Gateway
    VERSION 2
    RC 242
    MODULE gwr3cpic.c
    LINE 1795
    DETAIL no connect of TP sapdp03 from host hostname after 22 sec
    COUNTER 3

    Hi K Patil,
    Acording to me you are faceing this issue because the entry of your backend System is not in the SLD (System Landscape Directory ) of your server.
    to make this work you have to make entry in the SLD of your server
    fort that plesae acess this link.
    Re: JCo connection Error
    Re: wt is SLD.. how to do configure it
    Please Reward Points if Helpfull.
    Regards
    Vinit
    Edited by: Vinit Soni on Dec 19, 2007 7:20 AM

  • Unable to connect to SAP gateway to RFC server failed(hostname unknow)

    Hi All,
    I am trying to create a new Model(to connect to SAP R/3 server) using the following steps:
    1.Selecting Import Adaptive RFC Model
    2.Entering Model name,package,default logical system names
    3.Selecting the single server option and giving the details of the SAP R/3 server.
    When I try to connect it gives me the following error :
    -Connect from SAP gateway to RFC server failed.
    Also it mentions :
    <b>"ERROR hostname 'sapR3' unknown "</b>
    Where <b>sapR3</b> is the entry corresponding to the IP address in the host file.
    Further I am able to establish a telnet session using the same hostname in command prompt.
    I have searched the Internet for solutions, but I haven't found any yet.Any ideas?
    Regards,
    Kshitij Agrawal

    Hi,
    Please check if the hostname that you specify in the "Reimport Model" GUI of NWDS matches with the application server name specified in your R/3 system.The same can be verified by following three simple steps:
    1) Open the SAP LogOn.
    2) Choose the server to which you wanted to connect and right click on it to get the "properties" in the context menu.
    3) Look for the value entered in the field "Application Server" in the properties window.
    Hope this helps.

Maybe you are looking for

  • In FCPX, how do I use multiple clips of the same event?

    This is a beginner question, but having recently moved from Final Cut Express to FCPX, I am having trouble using 3 clips (church play, 3 cameras) of the same event (and reading through the manual has not helped me). I have lined them up in the timeli

  • Creative zen 32Gb help

    Ok I just got it and installed the software. I plugged the player in and when I wanted to remove it XP said "cannot remove device try again later" like it does for every removable device it comes in contact with. So I removed it and now the player wo

  • Lumia 930 location links can not be open by Here M...

    Most of Lumia models sending and receiving location or favorite location from Here maps by SMS or email opens links by Here Maps app. Lumia 930 open those links on internet explorer and it is impossible to manage from there. Is there setting telling

  • It won't eject the Ipod without shutting down the entire laptop....

    I have what I guess is the 'classic' 30g iPod it has no problems syncing at all my problem comes in when I try to 'eject' it. I have tried getting itunes to 'eject' and the response comes up: "The iPod _ cannot be ejected because it contains files th

  • Photoshop CS to Photoshop CS5

    Hi, i've a Adobe Photoshop CS product and i want to upgrade.... but on the page of Adobe Photoshop CS5 under the menù 'upgrade' there's not my version. What should i have to do? I have to upgrade only for Adobe Photoshop CS4? Thanks, Andrea