Skip to Content
0
Former Member
Dec 07, 2006 at 06:36 PM

Sample IDoc receiver does not connect...

127 Views

.NETters,

SAP .NET Connector documentation states:

"Unlike client applications, no user name and password is required to register a server on the SAP gateway. Instead, the program ID, gateway host, gateway service and code page must be provided. Once the server is registered on the gateway inside the SAP system, it can be accessed from SAP programs."

If I understand this correctly, I do not need to add any configuration settings on the SAP server to bring up my .NET RFC/tRFC server application.

Our test SAP server is running on a machine called Test15. I am using the following command line parameter when running the sample IDoc receiver code that ships with the .NET connector:

-aMyTest  -xSAPGW00 -gtest15

Here, "MyTest" is just a unique id that I am assigning. I don't know what SAPGW00 is for but I am using it anyways.

When I run the program, the application starts running and does not report any error. I assume that the application is now registered with the SAP server on Test15.

The documentation further states:

"For TRFC servers you also have the TRFC monitor (SM58)."

When I bring up this transaction, by default the "Display period" is picked up as today's date. When I execute the transaction, it does not return any results.

Another part of the documentation states:

"After your program is running, use the SAP gateway monitor (transaction SMGW) to verify that your .NET program is registered."

I tried this transaction but it does not show any results either.

Can someone please tell me if I missed something?

Thank you in advance for your help.

Pradeep