cancel
Showing results for 
Search instead for 
Did you mean: 

Send IDOC through HTTP SAP PI 7.3 JAVA ONLY

Former Member
0 Kudos

Dear experts,

we are moving from PI 7.1 to PI 7.3 JAVA ONLY and we have a the following scenario :

IDOC -> PI -> File

The IDOCS in ECC are sent through HTTP to PI (RFC destination to PI ABAP configured in ECC).

Since we are JAVA only, how can we reproduce this scenario in PI 7.3 ?

We tried creating an RFC destination to new PI system (HTTP Connection to External Serv) but does not seem to work.

Thanks a lot in advance for your help.

BR,

Jamal

Accepted Solutions (1)

Accepted Solutions (1)

vadimklimov
Active Contributor
0 Kudos

Hello Jamal,

In ECC (sender system), please create the RFC destination of type "TCP/IP Connection" ("T"). The destination should be created for the registered program ID (e.g. XI_IDOC_DEFAULT_PID) that has been registered on the respective gateway (you can check program ID registration via NetWeaver Administrator if this is the gateway of the Java system or tx. SMGW if this is the gateway of the ABAP system). Normally, you can use for example the gateway of the PI system where you register program ID XI_IDOC_DEFAULT_PID - then, you should ensure that the corresponding gateway host and service are specified in the maintained RFC destination in ECC.

Details on configuration of Java IDoc adapter can be found in SAP Help: http://help.sap.com/saphelp_nw73/helpdata/en/c2/91865252c84716b3b8be394851c9c0/frameset.htm .

Additionally, please check the blog written by William Li on this topic: http://scn.sap.com/people/william.li/blog/2011/05/04/configuring-pi-730-java-idoc-adapter .

Regards,

Vadim

Former Member
0 Kudos

Thanks Vadim for your help,

so it is not possible to send them through HTTP in 7.3 ?

BR,

Jamal

vadimklimov
Active Contributor
0 Kudos

Hi Jamal,

Java IDoc adapter doesn't use HTTP. Communication goes via gateway, not ICM - so it is based on TCP/IP, but uses RFC protocol, not HTTP.

Regards,

Vadim

Former Member
0 Kudos

What I meant is taht in 7.1 we sent idocs speciefying an HTTP port, it is not possible anymore in 7.3 ?

Thanks again,

BR,

Jamal

vadimklimov
Active Contributor
0 Kudos

Jamal,

In PI 7.3 single-Java, it is still possible to send HTTP requests from other (SAP ABAP systems) using HTTP connection to external system (e.g. sending IDocs to PI via XML HTTP port), but this will not be a communication involving Java IDoc adapter since PI Java IDoc adapter currently supports only tRFC (which means, no HTTP). Thus you will not be able to handle such IDocs in Java IDoc adapter of PI - more likely, it will be HTTP adapter who will take care of them on PI side and pass them further to the Messaging System.

Regards,

Vadim

Answers (0)