Skip to Content
author's profile photo Former Member
Former Member

RFC Server Question

We’re using the RFC Server functionality of the SAP .NET Connector.

We’re running a .NET Windows Service that receives the call from a SAP program.

1)

We’re trying to implement a load balancing strategy for the .NET Windows Service.

We plan to have the same .NET Windows Services running on multiple systmes.

The SAP program fails if there are multiple .NET Windows Services running that use the same ProgramID.

Is there any way to avoid this?

Do you have any suggestions or BKMs for implementing this scenario?

Do we need to use a different ProgramID for each server and make to each one from the SAP program?

2)

Do you have any BKMs or suggestions about how to prevent someone from inadvertently using the

Same ProgramID as one that is being used for a Production application.

Regards,

Lavaughn

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2005 at 06:04 PM

    interesting question, I'd like to have a comment too.

    for failover scenarios, we could implement the RFC Server as a cluster resource on an active\passive implementation, but what about balanced loading requirements?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello,

      It is a common practice to have multiple RFC server instances registered on a SAP gateway with the same programID in order to distribute the load among these RFC server instances running on the same or on different machines. If your ABAP program has problem with it, please check your ABAP program and find out what the problem is. Please note that this kind of load balancing works only if the RFC calls are stateless.

      There is no automatic way to prevent multiple RFC programs from using the same program IDs mistakenly. However, you can manually control this with help of SMGW, SM59 etc.

      Regards,

      Guangwei

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.