cancel
Showing results for 
Search instead for 
Did you mean: 

Howto Send IDOC to third-party system. programID can not be registered.

Former Member
0 Kudos

Hi, guys.

I want to post IDOC to a third-party system through XI. And for sure, the third-party system can receive IDOC.

In the receiver communication channel, I would fill in the RFC Destination with a RFC connection defined in SM59.

In SM59, it is a tcp/ip connection and in technical settings the activation type is Registered Server Program. I name the Program ID randomly with 'a.a'. In Gateway Options, I fill the host with XI server and service with sapgw01.

Then I test the connection, the result is program a.a not registered on XI server.

My question is how to register the progam when I want to use this RFC to send IDOC to the third-party system. And how the RFC know which system he would connect. I don't find anyplace with the connection information such as IP or something like this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In IDoc receiver communication channel, to fill RFC destination and port

Go to IDX1 transaction on XI system, find port configured for receiver third party.. RFC dest mentioned over there.. mention the same in IDoc adapter

In SM59 you will find the same RFC dest of type 3.. ABAP connection.. not tcp/ip

Former Member
0 Kudos

Mugdha Kulkarni:

My IDOC target system is an external system, I can not use Type3 ABAP connect as the RFC Dest.

former_member192295
Active Contributor
0 Kudos

HI,

Make IDOC to FILE scenario based on target system generate receiver structure. At receiver channel select FTP protocol so that we can send data easily to external system. Use FCC mechanism in receiver channel for receiver acceptable format. It is easiest way

Answers (2)

Answers (2)

Former Member
0 Kudos

solved

Former Member
0 Kudos

Hi,

this guide should solve your problems:

[How to Connect non-SAP RFC-Programs with SAP NetWeaver Exchange Infrastructure |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1093c7a4-369f-2910-dfb2-afd07f210a1f].

Regards,

Sergio

Former Member
0 Kudos

Sergio Cipolla

Thank you for your material. I have read the doc you refered.

Almost I understand the process, there is one part.

I should register the program ID in saprfc.ini file with the following content:

DEST=FROMXI

TYPE=R

GWHOST=saphost

GWSERV=sapgateway

PROGID=a.a

Here I am wondering the fiield "DEST" represent for. Does it mean the hostname of the target external system?

And Here is the UNIX system, what is the path location of the file saprfc.ini or where I should put this file to be effective.

Thanks in advance.

Bu Ju