A problem about Simple RFC Server

I'm developing a Simple RFC Server by SAP dotNet Connnector. As a necessary step, I create a TCP/IP destination on R/3 system, however I meet some problem in this step as following: 
  There is a console exe file as Simple RFC server run on the windows side name "RFCConsole.exe", and I want to create a TCP/IP destination by SM59.
  In the process to create it, three data "Program ID", "Gateway Host", "Gateway Service" should be inputted. How to set them correctly? I guess I should set "RFCConsole.exe" to "Program ID", is it correct? And how about the others? Now, I set Computer Name of the windows side to the "Gateway Host" and "SAPGW00" to the "Gateway Service". It failed when test connection. 
  As a sever, the console program also want to register "Program ID", "Gateway Host", "Gateway Service" when it running, are these three data same to the three ones in destination on R/3?
  Thanks a lot to anyone who answer my question.

First thanks to Guangwei.
Now I'm success to call it. The Gateway Service Name can be find from R/3 by several ways, and if you do a search in SAP Library you can get them. I use the program 'RSPFPAR' and find it from the result report.
To Yevgeniy Trukhin:
I don't know what you mean. If you realy want to know what value the RFC server has, I only can tell you that I just do it as a technology test, no for any bussiness goal.
However, I think maybe it will be useful as the following scenarios:
1. There is a current R/3 system with many programs using RFC call. Formerly, it only be needed to exchange data with another R/3 system, but if now I want to connect it with a NO-SAP server, how I can do it? Yeah, there are a lot of ways can realize the connection like ALE, iDoc and so so. But though them, you want to change you code and solution, as the RFC is not useful in those ways. But if you can develop a RFC server run as a service on the target server, you can still stay your code on the R/3, nothing will change only to configure the TCP/IP destination set. So I think in this scenarios the RFC server is a good solution, save money and time.
2. R/3 system is a high price product, not all the company can use it. So if in the B2B case, develop a RFC server give us a way to keep connection and exchanging data with the customer's R/3 system without buy one for our side. This is also helpful to keep the current solution on NO-SAP side and reduce cost.
In the integration, SAP want to realize the loose couple so how to work with NO-SAP products is in consideration.

Similar Messages

  • DS XI3.2 SP1 - Problem when starting RFC server from management console

    Hi,
    We're using DataServices XI 3.2 SP1 FP1 on a windows 2008 server 64bits to load SAP BW. We have set up an external system in SAP BW called "DI_SOURCE" and then successfully created a RFC server interface (DI_SOURCE) within the management console.
    When we try to start this RFC server from the management console, we immediately get the following error message : "An internal error occurred in: server.start()::rfc_bad_connection".
    On the other hand, when we follow the "old method" (pre SP2) and start the RFC server from a command window, it works : we have "CONNECTION DI_SOURCE OK" in SAP BW.
    Any ideas how to solve this ?
    Thanks,
    Olivier

    Hi,
    We have tried your suggestions above.
    Instead of just crashing we now get an error from designer (before closing down). Seems as if our librfc32.dll has a problem.
    We have verified that the librfc32.dll from the Data Services package is the only one on the server.
    Problem signature:
      Problem Event Name:        BEX
      Application Name:        al_designer.exe
      Application Version:        12.2.2.0
      Application Timestamp:        4b99c5ef
      Fault Module Name:        LIBRFC32.DLL
      Fault Module Version:        7100.3.144.6097
      Fault Module Timestamp:        49bec8be
      Exception Offset:        000179a4
      Exception Code:        c0000409
      Exception Data:        00000000
      OS Version:        6.1.7600.2.0.0.272.7
      Locale ID:        1030
      Additional Information 1:        4b85
      Additional Information 2:        4b85a4b06dde50b4e092d24f447efca0
      Additional Information 3:        45fe
      Additional Information 4:        45feda9db76a48384005c14dafbddc29
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

  • Installation Problem about ORACLE HTTP SERVER 10g

    I tried to install oracle http server on windows xp sp2. Everthing was all right until
    it made some recommend tasks while installing. It could'nt start the http server at there. I completed the installation. After then when i connect to the internet and try to start http server it starts. But when i do not connect to the internet it gives an error like apache.exe couldn't start on executing ApacheModuleonsinst.dll. I want to learn what causes to this problem.

    pparkko wrote:
    With this type of behaviour, you always need to find out the real error.
    Try opening a command prompt (cmd) and running the command from the command line.
    Then you can see what is going wrong.I have a question, I just upgraded our test 11i database (9i) to 10g (10.2), as a part of that upgraded forms, reports, graphics to patchset 18. Now planning to install 10giAS on appsTier on which forms, Apache and discoverer running. If I install 10giAS in differnet home, how can I get that in to appsTier?, does it mean adapcctl script no longer be used to start webservices?. I haven’t done this before, if my question is stupid, please ignore :).

  • RFC Server - Can't get to work

    I will prefice this by saying I am an ABAP developer with very little VB.Net experience.  Basically I am trying to write an application that will be called from SAP, perform a routine and return some values back to SAP.  In order to prepare for this I am trying to do the sample tutorial that came with the SAP .Net Connector documentation (called "How to Build a Simple RFC Server in .NET").   I have gotten to step 4 without many problems, but I am having trouble finding out where to put the "Command Line Arguments" in the "Set Logon Parameters for your SAP Server" step.  If I go to "ConsoleApplication1" properties pages under "Configuration Properties" there is a place for command line arguments (it is under "Debug").  Is this where I am to put my arguments?  When I run the console do these arguments get executed?  Also, what is the best way to deploy this to the application server?
    Thanks for any help you can provide!

    When you run the exe file from server, you have to pass those paramters in the command line only.
    For Example:
    C:\>ConsoleApplication1 -a<registerd name> -g<servername> -x<Gateway Service>
    We have created a batch file (.BAT) with the above command line parameters. You should make sure that this exe file run always.
    I have read somewhere, it says EXE file can be converted into windows services and deploy it. I have not used this. Let me know if you get this.
    Thanks & Regards,
    Govind.

  • RFC Server with TCP / IP destination "Start"

    Hi all,
    I have a great problem, I have tried to look in the forum for the solution but I have not succeeded there.
    I repropose an user's very such to mine problems unfortunatelly without solution.
    I would to install a RFC Server on the client. From an ABAP Program i would send some parameters to my RFC .NET Server (on the users's computer) by the command 'Calling function x Destination y' (There is no problem as long as I use a TCP-IP destination of type "Registration").
    The information is processed by the RFC Server and afterwards used to start another client application.
    Of course I do not want to maintain a RFC destination for every client to keep it unique. So it would be nice to have a RFC destination of type "Start".
    But when I look at the samples I have no idea how to pass the parameters to my RFC Server if it is a "Start" destination.
    Has anyone an idea? Any help would be really appreciated!
    There are the link on which this problem was discussed:
    RFC Server with TCP / IP destination "Start"?
    SAP .NET Connector: How To implement RFC Server destination type Start
    Sorry for my bad English.
    Thanks in advance
    Luca

    Hi Alok,
    if you are sending  message to tibco then tibco guys need to register on the SAP gateway and you need to do nothing, just give them the details of your system and verify via transaction <i>SMGW</i>, menu <i>goto->logged on clients</i> if tibco is registered.
    if you are receiving  message then you only need to create a user on SAP and give it to them so that they can authenticate on the system before sending.
    Regards.
    Sergio

  • Everytime I put in my password it says it has a problem connecting to the server!! what is this all about?

    Everytime I try to connect to facetime and put my password in I am told it is having a problem connecting to the server!!

    I know what I was doing wrong.  You need to remove private browsing.

  • C++ RFC server app - problems installing functions.

    System: Fresh Netweaver 7 trial on XP machine. No changes made to Netweaver configuration, it's as-installed.
    Dev environment: Visual Studio, C++
    I'm trying to use the rfc sdk in c++ to create an rfc server that can register functions. I've followed the samples in srfcserv.c that came with the SDK, but I am missing something.
    I can connect to netweaver with RfcAcceptExt, and I can install a function with either RfcInstallFunction or RfcInstallFunctionExt. All that goes smoothly. However, that installed function doesn't show up anywhere. If I add a function named "ABC", when I call RFC_FUNCTION_SEARCH no such function is returned in the results. Likewise, if I run transaction SE37 in netweaver, and type "ABC" into the function module box I get the error: "Function module ABC does not exist".
    Am I missing something here? Should I be looking somewhere else for the functions I install?
    Thanks.
    Charles.

    System: Fresh Netweaver 7 trial on XP machine. No changes made to Netweaver configuration, it's as-installed.
    Dev environment: Visual Studio, C++
    I'm trying to use the rfc sdk in c++ to create an rfc server that can register functions. I've followed the samples in srfcserv.c that came with the SDK, but I am missing something.
    I can connect to netweaver with RfcAcceptExt, and I can install a function with either RfcInstallFunction or RfcInstallFunctionExt. All that goes smoothly. However, that installed function doesn't show up anywhere. If I add a function named "ABC", when I call RFC_FUNCTION_SEARCH no such function is returned in the results. Likewise, if I run transaction SE37 in netweaver, and type "ABC" into the function module box I get the error: "Function module ABC does not exist".
    Am I missing something here? Should I be looking somewhere else for the functions I install?
    Thanks.
    Charles.

  • Tell me about Simple SMTP/POP Server

    Hi,
    I want to write javamail apps but i want to do it while being offline so i need a simple pop server that i can install on my system and test my code
    Thanks

    I haven't used it but the Apache James project is a mail server (smtp/pop/imap I think) written in Java. http://james.apache.org/

  • 2x RFC server on the same destination computer?

    HI,
    I'm new to sap and i don't know much about the way a rfc server connects to a sap gateway.
    We are trying to run 2 rfc servers on the same computer. Both of them register at the same sap gateway, under diferent programID , but with the same destination.
    the programID were registered with SM59.
    One server registers himself, and the other no.
    Any ideas?

    ok, so that's what i'm doing, and it doesn't work for me: as i said, it doesn't throw any kind of Exception or anything, it's just running as if the code of the remote method do nothing.
    i have a different name for each of the servers,
    each server extends UnicastRemoteObject and implements a R.I/F, and when i do "super(port_num)" for each one of them- i give them different port numbers.
    the clients are calling the right names in the lookup
    but yet, nothig works.
    maybe it's a codebase problem?
    where should i define the codebase in such case?
    can they have each one it's own codebase?
    one (of the) thing(s) i don't fully understand about rmi, is the client port: if i have a simple client-server system on different computers, the client is "connecting out-wards" through the rmiregistry port (1099) ??
    if so, when i have 2 clients on the same computer- they'll both try to
    connect through the same port (1099) wouldn't that create a collision??

  • External device connection: RFC Server?

    Hello to all,
    i'm new here.
    I'm facing a new problem i never met before.
    I'm on a 4.7 enviroment and i have to interface sap with an external device.
    The producers of external device, release an executable file that makes (but i don't kwnow how) the communication from the device and sap.
    The only things that i had to do was (following the device documentation):
    1. Create a tcp/ip remote destination that point to one external executable (es: Z_EXT_DEVICE --> c:\device\device2sap.exe) (if i double-click on it, it don't do anything) 
    2. Setup in the external setup device program (setupdevice.exe), the name of the RFC destination (Z_EXT_DEVICE), the sapgateway address (sapgw00) and the sap host address (ex 10.2.4.XX)
    (Note that i don't have to specify sap usr/pwd for the connection in any step).
    3. Call a simple function module in SAP system in this way:
    CALL FUNCTION 'Z_RFC_DATA' DESTINATION 'Z_EXT_DEVICE'
        EXPORTING
          header        = szheader
          data          = szdata
          status        = '0'
          data_len      = szvalue
        IMPORTING
          system           = szretsystem
          code             = szretcode
          ret_text         = szrettext
          header           = szanswerheader
          len_data         = szlendata
          bct_status       = szstatus
          bct_data         = szanswerdata
        EXCEPTIONS
          communication_failure  = 1
          system_failure         = 2
          OTHERS                 = 3.
    The code of the function module is empty :
    FUNCTION Z_RFC_BCT.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(HEADER) LIKE  BAPIRET2-MESSAGE
    *"     VALUE(DATA) LIKE  BAPIRET2-MESSAGE
    *"     VALUE(STATUS) LIKE  BAPIRET2-MESSAGE
    *"     VALUE(DATA_LEN) LIKE  BAPIRET2-MESSAGE
    *"  EXPORTING
    *"     VALUE(SYSTEM) LIKE  BAPIRET2-MESSAGE
    *"     VALUE(CODE) LIKE  BAPIRET2-MESSAGE
    *"     VALUE(RET_TEXT) LIKE  BAPIRET2-MESSAGE
    *"     VALUE(HEADER) LIKE  BAPIRET2-MESSAGE
    *"     VALUE(DATA) LIKE  BAPIRET2-MESSAGE
    *"     VALUE(LEN_DATA) LIKE  BAPIRET2-MESSAGE
    *"     VALUE(STATUS) LIKE  BAPIRET2-MESSAGE
    *"  EXCEPTIONS
    *"      COMMUNICATION_FAILURE
    *"      SYSTEM_FAILURE
    ENDFUNCTION.
    After the call of the function module in sap system, magically the importing variables are filled all by values read from the external device. At this point I'd like to ask u some questions :
    1. I think that external device program (device2sap.exe) is an RFC server program. Is it right ??
    2. How the connection from external executable and sap works if i don't specify usr/pwd in any configuration file? The device    infact, work with every sap (if u execute the three sinple step wrote before)
    3. I'd like write a server like that for a different external device. In the old release of sap (4.0,4.5) there was a sap tools (in function module editor SE37) that permitted (starting from a function module), to generate a client or server external program (in C or VB). In 4.7 this functionality is missing. Is there other sap tools that permitt to do the same thing or this functionality is completly lost?? In the second case, do u have some hits that could help me in this step??
    4. I'd like to have some documentation about the server program and communication methos between external RFC server program and Sap. Where i can find some good documents that could help me in that task ??
    5. I heard about DCOM connector. Where i can find some good documentations that explain how is it , how it works and if it could solve my problem ?
    Thanks a lot in advance.
    Andrea

    Hi, I'm sure the device2sap.exe is developed by a Connector Tools. E.G. .Net Connector, Jco and so on.
    So reply your question as following:
    1. Yes, in the external application side, it can simulate a RFC server for the SAP to call, just like call to another R3 server.
    2. No need on use/pw. it is not DataBase connection, just a RFC connection. The key feature only need is the IP. And you should configure the RFC destination using IP. RFC is a FM call protocol, not to access a DB.
    3. Using the Connector tools I mentioned in the former reply. And you can navigate in the .Net Tech Forum in SDN.
    4. The guide of Connector Development can be get from SDN, and some sample code will be copy in the install directory, after you installed it.
    5. DCOM is the tech used in the former Connector version SAP DCOM conncetor. Now, as the windows is into the Dotnet Time, recommand you to use DotNet Connector.
    That's all.   hope it will be helpful

  • Problem when call rfc using function control

    i try to call rfc using functin control but error "wdtfuncs error '800a03eb' Fail to call Remote Function Module" be popuped.
    my code like that:
    Set objSAPFunction = Server.CreateObject("SAP.Functions")
              Set objSAPFunction.Connection = objSAPConn.NewConnection
              IsLogOnSAP = False
              If objSAPFunction.Connection.Logon(1, True) Then
                   IsLogOnSAP = True
                   'Upload Cancel Invoice
                  Set objFunc = objSAPFunction.Add("ZRFC_SD_BILLINGDOC_GET1")
                   Set objISGR1 = objFunc.exports("DOCUMENT")
                   Set objISGR2 = objFunc.exports("COMPANYCODE")
                   Set objISGR3 = objFunc.exports("YEAR")
                   set objOSGR1 = objFunc.imports("NETVALUE")
                   set objOSGR2 = objFunc.imports("CURRENCY")
                   set objOSGR3 = objFunc.imports("DATE")
                   set objOSGR4 = objFunc.imports("CUSTOMERCODE")
                   set objOSGR5 = objFunc.imports("CUSTOMERNAME")
                   objISGR1.value = cstr(doc)
                   objISGR2.value = cstr(companycode)
                   objISGR3.value = cstr(year)
                   bResult = objFunc.Call          <<<<< Error
                   GetDataFromSAP = Array(cstr(objOSGR1),cstr(objOSGR2),cstr(InvDateFormat(objOSGR3)),cstr(objOSGR4),cstr(objOSGR5))
                   If IsLogOnSAP Then
                             objSAPFunction.Connection.Logoff
                        End If
              End If
    These code can run on the A machine, but do not run on the B machine. And both two machines have been installed SAP FrontEnd.
    which problem about it?

    To change all definition of parameters of the function from type to like may be solution.

  • Need help regarding Simple Data Client and Simple Data Server VIs

    Hi everyone.
    I have a simple objective. I just want to test the 2 example VIs, "Simple Data Client" and "Simple Data Server" between 2 computers. I just want to check whether is this working between the 2 computers.
    What I have done for now is that I changed the "address", from "localhost" in the "Simple Data Client.vi" to the IP address of the computer running the "Simple Data Server". I runned the "Simple Data Server" VI in one of the computers first followed by the "Simple Data Client" in the other computer. Nothing is received and the client just timed out.
    Can anyone please help me troubleshoot and tell me what are the possible problems for this? Are there any wires connections between 2 computers that I am missing or any other configurations I have to make before I can successfully do this?
    Thanks.
    Regards,
    Jonathan

    Hi Lee.P.
    I understand that. I was just feeling frustrated about the project not working. Sincere apologies from me.
    I was wrong about the error number. It is not Error 60. It is Error 59 - The network is down, unreachable, or has been reset.. Yes, I have tried changing the port numbers at the 2 computers when trying to send/receive.
    Could anything else be the problem?
    Regards,
    Jonathan  

  • There was a problem connecting to the server ... OS 10.8.4 + WD NAS

    Dear all,
    first my configuration:
    iMac from mid 2012, MacOS X Mountain Lion, 10.8.4, iPhoto 09 v. 8.1.2 - all software updates done and up-to-date
    MacBook Pro late 2011, MacOS X Mountain Lion, 10.8.4
    NAS WD My Book World Edition II (white light), 2 x 1TB (configured RAID : 1TB mirrored), original firmware (01.02.14 with MioNet built on Thu Feb 9 14:11:48 CST 2012 ) NFS, AFP enabled
    a win 7 laptop and plenty of other devices
    everything on a LAN with GB router + WiFi
    I have my iPhoto library on my iMac, but the photos (the originals) stored on the NAS. I have the option "copy photos to library when importing" disabled. So I guess iPhoto has a reference / link in the library to the original files.
    Everything used to work fine until some weeks ago. Not sure what happened but suddenly I got the error message "There was a problem connecting to the server ... Check the server name or IP address, and then try again. ..." when I tried to import photos stored on my WD NAS.  When I want to display any photo stored on the NAS - same thing.
    Now I guess I have a bunch of gray hairs more while trying to get this fixed.
    I tried so many of the tips posted everywhere including booting in save mode, deleting the .plist files (first I actually tried to clean them using Xcode first before deleting them), etc. I cleared out KeyChain. I removed all recent entries (folders) and recent servers from the "history". I tried to connect as guest or named user. There are also no "logIn items" pointing to the NAS. I even tried to disable / enable AFP + NFS on the NAS, not to mention countless restarts of all the machines
    One other thing I noticed: Before that problem occured I was able to select the NAS in Finder and it would show me all the shares. When I selected one of them it was mounted automatically. When I select it now I get "connecting" for a loooong time and then "Connection Failed". Most of the time (not always!) however I am able to get in via "Go -> Connect To Server - smb://<nas server name>). And suddently after that also selecting the NAS in Finder shows me all the shares! Hoever even this not in 100% of all cases. I can replicate this from the iMac and the MacBook.
    I do use an external HD for TimeMachine to back up my data (directly connected via USB). No issues there.
    Not I really don't know what to do any more
    Do you have any ideas? Did anyone ever get a response from Apple with a useful solution that really hit the core of the issue?
    Thank you!

    SOLVED!! and I want to share the solution which worked for me with everybody here. Ultimately I had to install nettalk 2.2 on my NAS as described here: http://mybookworld.wikidot.com/netatalk2-2-on-whitelight . A nice description on how to do that can be found here: http://forums.macrumors.com/showthread.php?t=1102423 .
    One last remark: When asked about the "DHX2 login process", I opted to install the original version, so I can confirm this one works too.

  • An old and difficult problem about "UnsatisfiedLinkError"

    Hi dear all,
    I have been struck with the problem about "UnsatisfiedLinkError". I have a c++ class HelloWorld with a method hello(), and I want to call it from within a java class. In fact, I have succeeded in calling it on the windows platform. But when I transfer it to linux, the error "UnsatisfiedLinkError" comes out. I have tried to take the measures as Forum has suggested, but it failed.
    The source code is very simple to demonstrate JNI.
    "HelloWorld.h"
    #ifndef INCLUDEDHELLOWORLD_H
    #define INCLUDEDHELLOWORLD_H
    class HelloWorld
    public:
    void hello();
    #endif
    "HelloWorld.cpp"
    #include <iostream>
    #include "HelloWorld.h"
    using namespace std;
    void HelloWorld::hello()
    cout << "Hello, World!" << endl;
    "JHelloWorld.java"
    public class JHelloWorld
    public native void hello();
    static
    System.loadLibrary("hellolib");
    public static void main(String[] argv)
    JHelloWorld hw = new JHelloWorld();
    hw.hello();
    "JHelloWorld.cpp"
    #include <iostream>
    #include <jni.h>
    #include "HelloWorld.h"
    #include "JHelloWorld.h"
    JNIEXPORT void JNICALL Java_JHelloWorld_hello (JNIEnv * env, jobject obj)
    HelloWorld hw;
    hw.hello();
    All the files are in the same directory and all the processes are under the dirctory:
    1. javac JHelloWorld.java
    2. javah -classpath . JHelloWorld
    3. g++ -c -I/usr/java/jdk1.3/include -I/usr/java/jdk1.3/include/linux JHelloWorld.cpp HelloWorld.cpp
    4. ld -shared -o hellolib.so *.o
    5. java -cp . -Djava.library.path=. JHelloWorld
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no hellolib in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1349)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at JHelloWorld.<clinit>(JHelloWorld.java:7)
    Tried another measure:
    i) export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
    ii)java -cp . JHelloWorld
    The same error came out as above.
    I really don't know what is wrong with it.
    Would you like to help me as soon as possible?
    Thanks.
    Regards,
    Johnson

    Hi Fabio,
    Thanks a lot for your help.
    It is very kind of you.
    Regards,
    Johnson

  • HT4628 my time capsule has stopped working - have a green light but get an error message saying "there was a problem connecting to the server..."

    I noticed this week an exclamation mark on the time machine icon on the menu bar.
    My Macbook, iPad and iPhone all connect to the network but i get "there was a problem connecting to the server..."
    When I open the preferences the time capsule is off but turnign it back on sends me in a loop of selecting the Time Capsule device (which has a nice green light etc) and then getting the error messgae about being unable to connect. I've pulled the plug a couple of times (this has worked in the past) but no change.
    Any advice would be welcome before I try a factory reset or have to return to Apple for repair (the one thing they are offering as the thing is only 5 months old)

    I also noticed that when I go to finder I see two MacBook Air's that are in my name but have the number (2) and (3) next to the name.
    That is a well known bug in Yosemite.
    Try open System Preferences (gear icon on the dock)
    Open Sharing
    Edit back to the correct name for your Mac
    This may...or may not help.  But, it won't hurt.
    The Mac's name may stay stable....or you may see (2), (3), etc again soon.
    Be sure to restart both your Mac and the Time Capsule after you do this.

Maybe you are looking for