cancel
Showing results for 
Search instead for 
Did you mean: 

How to catch adapter (engine) errors in ccBPM?

Former Member
0 Kudos

Hello,

In my ccBPM processes I want to be aware of every error that occurs during runtime (e.g. mappings etc.), that also includes erros that may occur while sending messages via the IE adapters (IDOC/RFC) or via the adapter engine adapters.

For that purpose, I have build exception branches around every send step in my ccBPM scenario's.

However, I have noticed that whenever an error occurs within the IDOC receiver adapter, no exception is generated in the integration layer.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

you can easily configure CCMS to catch all errors for IDOC adapter

(in this case for all errors in queues)

this way you will know about all of them

I'd go this way if you won't find any other way

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hey Michal thanks, that's an interesting option.

But I still wonder how to trigger an exception in ccBPM when an adapter error happens?

Thanks

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Robert,

first let me correct you: RFC adapter is part of the Java Adapter Engine, only IDoc, http and ABAP proxy are native WAS adapters.

For any synchronous message you could easily catch exceptions by defining an exception branch. For asynchronous messages you need to request a system acknowledgment and define a exception branch. Best approach is shown by michal in his blog: [XI: Playing with the file adapter's acknowledgments|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3875] [original link is broken] [original link is broken] [original link is broken];

Regards,

Udo