cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC sender adapter working as sychronous adpater in cpi

0 Kudos
887

Hi Experts,

For one of my integration scenario having ODATA V2 Receiver adapter with POST method as receiver and IDOC as sender, ODATA response is sending back to IDOC and IDOC is failing with error in S4H incase of any error in CPI. We expect no response should be sent back to IDOC sender adapter.

I have tried with many options as using request reply instead of end message in IFlow, Using terminate after request reply, but CPI is always sending response back to the sender IDOC.

Can anyone help to suggest a solution here?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member226
Employee
Employee
0 Kudos

Hi,

In such a case, please use the "Send" step instead of the "Request Reply" step. "Send" step is a one way hence you should not get any error back to your IDOC.

BR

Saurabh

0 Kudos

Hi Saurabh,

Thanks for the reply

Send Step is not suitable for connecting with ODATA adapter.

former_member226
Employee
Employee
0 Kudos

Why not? You can see in my last snapshot that I have connected OData Adapter into "Send" step. Can you please explain why "Send Step is not suitable for connecting with ODATA adapter"?

smohanram
Explorer
0 Kudos

Hi Saurabh,

Could you re-confirm by deploying your Iflow with "Send" step connecting to "Odata" adapter?
Or just try to save and see if it doesn't give any problem.

We get this error: "Send 1 is not supported for the adapter"


former_member226
Employee
Employee
0 Kudos

Sorry! I dint realize that OData adapter can't be used with the "Send" step.Then I don't see any straight fwd way to deal with your situation.

smohanram
Explorer
0 Kudos

No worries..

As I understand, it seem to be a standard behaviour.

Let me give an example: A message fails on Odata and it should be resent (or re-trigger the Idoc), and for that we would need the failure details of the Idoc.