cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Call to .Net server problem

Former Member
0 Kudos

Hello,

I'm making a call to a .Net server which I know for sure works fine but my call gets executed only every other time. I'm testing from SE37 test facility. Please help.

Thanks,

Leon

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

It sounds like that another RFC server program with the same Program ID is running there and the SAP gateway is "balancing" the load between your RFC server and that one.

You can use SMGW->GoTo->Logged on Clients to check all registered RFC servers and their programIDs (TP name).

Regards,

Guangwei Li

Former Member
0 Kudos

You're correct, we have 6 registrations with the same program ID. How can I ensure that there is only one registration, on SAP or .Net side? Thanks for your help.

Leon

Former Member
0 Kudos

Hi,

You can either kill other registered servers if you are allowed to do so or use an unique ProgramID for your program. You specify the program ID with argument -a<YourProgID> when starting the .NET program. On SAP side, you need to change the Program ID for the corresponding SM59 entry too.

Regards,

Guangwei