Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RFC connection between SAP and .Net Connector

Former Member
0 Kudos

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

5 REPLIES 5

former_member182670
Contributor
0 Kudos

Hi,

What is the underlying requirement?

Differentiating logic based on caller looks like a design issue.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Any Suggestions?

0 Kudos

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]