cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible connect PI to Third Party using TCP/IP connection?

Former Member
0 Kudos

Hi,

I am working on SAP PI 7.1 version

We have the following scenario to be implemented:

An IDoc is generated from ECC-->PI--->multiple Third Party System.

However, one of the third party has provided a Program ID for connection to PI using TCP/IP.

But Is it possible to connect PI to external server using TCP/IP connection?

If not, how to connect PI to this particular external system. Which kind of adapter can be for this purpose?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Thanks for your replies.

This is suprising. But what I did was use IDoc adapter for the Third Party receiver channel and mentioned--

RFC destination : TCP/IP connection(contains Program ID)

Port: ECC SAP system port (SAPXXX)

The port and the destination are in no way related. However, the IDoc still reached the thrid party without error in PI. How did this happen? Is it possible to use an SAP port and different non-SAP destination to post an IDoc?

Former Member
0 Kudos

Hi Soumiya,

According to me while sending the IDoc PI gets the meta data for the IDoc being sent from the receiver system and then message is sent to receiver using RFC destination provided. However in this case since your receiver is a non-SAP system you can not get the metadata from there and hence you need a port of ECC system.

So i think technically this should work fine as i see it.

Regards,

Girish

Answers (1)

Answers (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

TCP/IP  is just a network protocol.  You need to talk to third party system and see what protocols/communication standards they use.  You can use http, SOAP, file, JDBC, JMS adapters based on their standards.  All these adapters work on application layer level of TCP/IP network and they are using  underlying tcp/ip network protocol finally for routing. Your question is very abstract.

Former Member
0 Kudos

Hi,

Thanks for your reply. I guess I wasnt clear.

What I meant was the Third Party port is listening to PI through a Program ID. Now I created a TCP/IP connection between SAP PI and the Thrid party in sm59. However, I do not understnad which receiver adapter needs to be used for this connection?

Bhargavakrishna
Active Contributor
0 Kudos

Hi,

You can use RFC adapter, if you are communicating through program ID.

To establish communication to third party using TCP/IP

http://scn.sap.com/community/pi-and-soa-middleware/blog/2011/09/19/exchanging-idocs-with-non-sap-sys...

Refer below discussions

http://scn.sap.com/thread/3358609      Refer my and michal reply in this discussion..

http://scn.sap.com/thread/3180953

http://scn.sap.com/message/14056570

http://scn.sap.com/thread/1031943

Refer below link

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0fb79038-0501-0010-8592-8d2a6cd1f...

Hope it will helpful..

Regards

Bhargava krishna

Former Member
0 Kudos

Hi,

I checked for first link about the TCP/IP connection.

Instead of mentioning the Thrid party Logical system in the "port" of IDoc channel. I used the sender SAP ECC port. Suprisingly, The IDoc is successful in PI and has also reached the third party.

Is this possible that we post IDoc to a third party while using ECC ports?

Regards,

Soumiya Mohan