Skip to Content

TCP/IP Connection in Java stack


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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 09, 2017 at 09:40 AM

    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


    Add comment
    10|10000 characters needed characters exceeded