cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC Receiver .Net Server Component on a different machine

Former Member
0 Kudos

Hi guys,

Could you help me out please. I have an IDOC receiver server I have developed using the SAP .NET component on a separate machine than my SAP gateway.

What do I need to install on the separate machine in order to receive the IDOC's from SAP?

Do I need to install a standalone gateway server?

If so, where can I get the software and how can I install the gateway?

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

reiner_hille-doering
Active Contributor
0 Kudos

You don't need a stand-allone gateway. Implement your .NET component as Windows-Services, so it runs automatically in background. Implement it to register itself to a gateway of the SAP-System it works with.

Former Member
0 Kudos

> You don't need a stand-allone gateway. Implement your

> .NET component as Windows-Services, so it runs

> automatically in background. Implement it to register

> itself to a gateway of the SAP-System it works with.

Thank you for your answer. How do I Implement it to registeritself to a gateway? Which class do do I use?

reiner_hille-doering
Active Contributor
0 Kudos

> Thank you for your answer. How do I Implement it to

> registeritself to a gateway? Which class do do I use?

There are two kinds of RFC servers:

1. The RFC server starts on it's own, e.g. as Windows Services and registers at a SAP Gateway.

2. The RFC server is started on demand by a SAP gateway.

Type 1. is default by SAP .NET Connector. You see that the Constructor of SAPServer (and thus the constructor of your IMPL class) gets some parameters. These are the values used to register at a gateway (e.g. gateway host name, port and a unique ProgramID). So it's just necessary to pass the paramters correctly when you create your Server instance.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

It is not needed to install a standalone SAP Gateway. On the deployment machine for your IDOC receiver, you need to install:

.NET Framework Runtime

SAP .NET Connector Runtime that includes

SAP.Connector.Dll (in GAC)

SAP.Connector.Rfc.DLL (IN GAC) ( if you use 2.0)

librfc32.dll in <Windows>\system32

Your own program.

Regards,

Guangwei Li

Former Member
0 Kudos

Thank you, very helpful