cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC_AAE Sender Adapter with ResponseOnewayBean failing for Adapter Type IDOC_AAE

Former Member
0 Kudos

Hello,

We are configuring IDOC to SOAP synchronous scenario where we need to send Web Service response back to SAP ECC through an IDOC. Due to stringent deadlines, we are not in a position to change IDoc to Proxy on the ECC side for making it a synchronous scenario.

We are on SAP PI 7.3 and trying to use ResponseOnewayBean in the sender IDOC_AAE channel for sending the web service response to IDOC_AAE receiver channel.

However, after specifying RequestResponseBean and ResponseOnewayBean in the Module tab of Sender IDOC_AAE channel, while executing the scenario from ECC system the message is getting failed while processing ResponseOnewayBean module with error “MP: exception caught with cause java.lang.Exception: IDoc : No channel Found for incoming XI Message”.

We are successfully getting response from Web Service and response mapping is also getting called however while sending the response message to IDOC_AAE receiver channel through Module configuration the scenario is failing.

We tried replacing IDOC_AAE adapter with File as well as SOAP Adapter in Module Configuration and both are working absolutely fine on the receiver side however for IDOC_AAE adapter type in Module configuration the scenario is failing.

SDN Links Referred –

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/25/requestresponse-bean-for-idocaae-...

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/10/23/customize-e-mail-body-and-subject...

Any help on this would be highly appreciated.

Regards,

Mugdha

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Mugdha,  were you able to find a solution to the above problem?
We have the same scenario to work upon and are getting similar error.

Thanks.

former_member207622
Contributor
0 Kudos

Hi Mugdha,

Not sure how this response one way bean will work . May be it would require some patch or BASIS help.

Check the note Note 1384520 - ResponseOnewayBean at the sender may not find channel

I can suggest you another work around  sorry a bit troublesome , As you said it is giving response to a file channel . keep a file channel and store it in a directory on PI itself .

Run scenario 2- which will pick file from this directory ( scheduled channel )  and map it to the IDoc .

To convert Idoc flat file to xml , you can refer this blog

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/04/12/converting-idoc-xml-to-flat-file-...

Do let us know if you find any other solution .

Thanks

Ninad Sane

Former Member
0 Kudos

Hi Mugdha,

     We use the ResponseOnewayBean module to convert an inbound message to an asynchronous message. Is this what you want to do? if yes, try to read the below links.

http://help.sap.com/saphelp_nw04/helpdata/en/45/20cc5dc2180733e10000000a155369/content.htm

http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/20cc5dc2180733e10000000a155369/content.htm

Can you place some screenshots of ur config and error message/logs.

Regards,

Lakshmi Naik.

former_member184789
Active Contributor
0 Kudos

Hi Mugdha,

We had also tried having Request Response bean as per the below document along with documents posted by you:

http://wiki.sdn.sap.com/wiki/display/XI/Using+Request+Response+Bean+Module+in+FILE+Adapter

But the issue is that when we have a synchronous mapping for IDoc, we have to create a synchronous service Interface for the Sender IDoc whose response message is the IDoc which we want to receive as response, say ALEAUD IDoc for acknowledgement. Now since the IDoc name does not match the service interface, the IDoc's would get stuck in sm58.

For your scenario, the error seems to be different from the one we faced. Could you please explain as to how the configuration has been done.