cancel
Showing results for 
Search instead for 
Did you mean: 

program ID in .NET Connector

Former Member
0 Kudos

Hi all,

I'm trying to transfer IDoc between SAP and the .NET application through .NET Connector. When I execute the .NET Connector program, it gets registered in the Gateway (I can see that on Gateway monitor). this is the relevant .NET code (I have configured the destination sap system using logon destination)

this.sapiDocReceiver1 = new SAP.Connector.SAPIDocReceiver("-aSAP_PORTAL_11 -gSAP -xsapgw11");

But I can't see the program ID in the gateway monitor. When I tried to setup the RFC destination using TCP/IP connection under the registered server program catogary, it says the program ID is not registered in the SAP gateway. WHat could be the problem. I'm in urgent need to solve this issue. Hope to hear from you.

Thanks in advance,

Ananda

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ananda,

Are you sure that the parameters supplied to the SAPIDocReceiver constructor are correct ?

I hope you are running the .net app before you test the RFC destination.

Regards,

Gaurav

Former Member
0 Kudos

Hi,

thanks 4 da reply. Yeah the parameters are correct and I executed da .NEt program first. I specified an arbitrary name for pgm ID and then used da same for RFC destination. but i couldn't see the program ID on the gateway monitor.Is the process correct?

Thanks,

Ananda

Former Member
0 Kudos

Hi Ananda

Please check out this weblog on SDN. It may help you

/people/sap.user72/blog/2004/12/31/some-tips-on-developing-idoc-receiver-programs-with-net-connector

If possible, then send a screen shot of the RFC destination and your .net code to me on gauravw@hcl.in. Would try and debug.

Regards,

Gaurav

Former Member
0 Kudos

Hi Ananda,

Are you sure that the parameters supplied to the SAPIDocReceiver constructor are correct ?

I hope you are running the .net app before you test the RFC destination.

Regards,

Gaurav