03-01-2011 11:50 AM
Hi All,
1-> Is there any available FM which can identify the current establish RFC connection between SAP and .Net Connector?
2-> Any Fm which any differenciate diff RFC calls for same FM coming from .net connector?
Regards,
Anuj jain
03-01-2011 2:59 PM
Hi,
What is the underlying requirement?
Differentiating logic based on caller looks like a design issue.
03-01-2011 3:22 PM
Hi,
You can read the article about the SAP RFC Server Programming located here [http://help.sap.com/saphelp_nw04/helpdata/en/7a/aac81c582c6c4ea42a8e2f4e626f31/frameset.htm]
and also..
[http://www.sdn.sap.com/irj/scn/weblogs;jsessionid]=(J2EE3417100)ID1455639550DB11222540214636457733End?blog=/pub/wlg/7928%3Fpage%3Dlast%26x-order%3Ddate
in the "Interoperability .Net" blog with the title of "Developing SAP .NET Server Application using NCo".
Try it.
Thanks
Arbind
03-02-2011 7:21 AM
HI All,
My requirement is to check the particuler rfc connection from .net connector is active or not after a every short interval like 2 second.
like there is a rfc connection for YRFC_FM from .net and it'll take around 15 min to execute YRFC_FM so when first call has arrived for FM than i have to check whether the .net connection for YRFC_FM is still active or break/disconnected due to some reason in this case i have to stop the YRFC_FM processing?
Second- how to reconized that rfc call for YRFC_FM?
Regards,
Anuj Jain
03-02-2011 1:38 PM
03-02-2011 7:24 PM
Still not very clear what is the business requirement but as I understand you want to guarantee that there will be no two calls running in paraller for the same function called remotely from .Net.
Maybe you should look into qRFC which guarantees an call is processed once and in particural order. This way you could queue your calls from .Net client.
You can ookup information about qRFC on help.sap.com
There is also a chapter about NCo support for qRFC at [http://help.sap.com/SAPhelp_nw04/helpdata/en/86/58d1e4032eb646b0f88b2366e03fa6/frameset.htm|http://help.sap.com/SAPhelp_nw04/helpdata/en/86/58d1e4032eb646b0f88b2366e03fa6/frameset.htm]