Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Sending Idoc to ERP via HTTP(S)

$
0
0

Hello,

 

what is the recommend way to send asynchronously Idoc-XML data from PI to ERP under the following constaints:

 

- Customer ERP-System ECC 6.0

- PI 7.31 Single Stack

- ERP connected to PI via HTTPS over Internet

 

This means we cannot use the Idoc Adapter, but need to use some HTTP-URL.

 

So far, we have tested the following options:

 

1. Call the service https://<host>:<port>/sap/bc/IDoc_XML in the backend system

 

=> this is a nightmare, because this service makes several checks on the input and may return an error. The problem in PI is that PI skips the SOAP body (even when you turn on XPI inspector traces), and only in this body you find the relevant error information. The error in PI only says "Input not correct" which is a quite general message ;-)

 

2. Call the service https://<host>:<port>/sap/bc/srt/IDoc in the backend system

 

This seems to work a bit better, but in case of error we have a similar problem as above, error message is of no help

 

The reason for this behaviour is probably that these 2 services are only designed for synchronous usage. Furthermore documentation for these services is very old (2004).

 

=> I guess these options are the wrong way. I would assume we should use the proxy functionality which is available in newer ERP systems. I have used them so far only for custom message interfaces: create message interface in PI, import this interface into the ERP-system in SPROXY, generate inbound proxy object there, and then let PI call this interface via /sap/xi/engine?type=entry (so that we are sending to the local integration engine of ERP). Can/should we use this way also for normal standard idocs ? Will it work without additional configuration (SPROXY) in ERP ? And if it works, will the messages be visible in the ERP Idoc Monitor too, or only in the proxy runtime message monitor ?

 

Regards,

 

C.Sy


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>