cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/IP Connection in Java stack

former_member234749
Participant
0 Kudos

Hi,

We have an interface from ECC to external system to send a IDoc file, for this there was a TCP/IP connection in ECC.

Now we are migrating this through SAP PO Java stack. I think we can achieve this with the following blogs, but I am stuck to create a TCP/IP connection in PI Java stack.

Can anyone please guide me how to create TCP/IP RFC destination in Java stack?

Is the JCo RFC connection will work as TCP/IP connection?

Converting IDoc XML to Flat File and Vice-Versa

Exchanging IDocs with Non-SAP system over TCP/IP using PI as Middleware

Thank You for your Support

Accepted Solutions (0)

Answers (1)

Answers (1)

apu_das2
Active Contributor
0 Kudos

Hi Prathi,

Here you will use IDOCXMLToFlatConverter.

1) Create an RFC connection in NWA-Destination to point your ECC system. You can use existing XI_IDOC_DEFAULT_DESTNATION as well is there is any.

2) Create one JCA connection factory copying SAPJavaIdocAdapter15.

Use below in receiver channel -

SAPRelease - 640/700/710
SourceDestination - RFC connection created
TargetJRA - JNDI name of the JCA created copying SAPJavaIdocAdapter15

Thanks,
Apu