Howto Send IDOC to third-party system. programID can not be registered.
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.