on 04-08-2004 1:03 AM
Hi,
From my .NET client, I need to invoke a custom RFC that in turn invokes another RFC running in my .NET client space. SAP documentation says that when an RFC function invokes a RFC with DESTINATION BACK keyword, SAP automatically uses the connection that was used to invoke the RFC. I have been examining the RFC server console application. This application seems to be a pure server application that requires its own dedicated TCP/IP destination. In my case, I want the SAP server to automatically call back on the source. Can someone please help me understand how I can simply make my client code acts as a server temporarily?
Thank you in advance for your help.
Pradeep
Hi Pradeep,
the current SAP .NET Connector doesn't support callbacks.
Indeed the only feasable solution is to have an app that servs as both - client an full RFC server - in serparate threads. An you need to declare your "server part" im SM59 - thus calling it with a normal destination name, not "BACK".
The next major version of SAP .NET Connector (no date for release known so far) will support callbacks.
You would create a client proxy class and a server proxy class (for the callbacks) in the same app.
You would then register your callback server instance in your client proxy instance.
Hope that helps a bit,
Reiner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.