cancel
Showing results for 
Search instead for 
Did you mean: 

CPI - $batch request error but iFlow doesn't show the error

Christopher
Participant
0 Kudos
823

Hello all,

we are facing strange behaviour of the OData adapter while using a batch request. We're calling the ProdnOrdConf2 entity with two datasets.

Now we see in the log an HTTP code 400 because we're trying to confirm an order that doesn't exist. We can see the correct behaviour in the trace:

But the iFlow doesn't recognize this error and continues with no error and status "successful". Do you experience with that behavior?

View Entire Topic
Sriprasadsbhat
Active Contributor

Hello Chris,

Above behavior is happening with Batch request ( as I have seen this in SFSF OData Batch upsert also ) and I feel its successfull since SAP CPI able to make a connection to Receiver system and get response ( whether response is successfull or contains errors).You might need to explicitly handle this excenario by chcking response.

Also you can raise feature ehancement request in influence program.

Regards,

Sriprasad Shivaram Bhat

Christopher
Participant
0 Kudos

And you were right as well!

The problem is, they can't change the behaviour of this adapter because all current implementations might possibly fail.