cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Handling in BPM

Former Member
0 Kudos

Hi,

I created my RFC to Jdbc BPM scenario. In that I cant create an exception handling using control operation for my send step. How to create branch?.

In the exceptions I specified a error message, how can can I map it to the my RFC response?.

Thanks,

Raj.

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

In the exceptions I specified a error message, how can can I map it to the my RFC response?.

create another message interface (let's call it dummy)

create a mapping (dummy - RFC response)

that will fil the RFC response with "jdbs error"

use it in the exception branch

now add the exception to the sync jdbs step

now if the excetpion will be raised in the sync jdbs step the program will go to the exception branch

and will call the new mapping and your rfc response will

be filled with the text "jdbc error"

and then if will continue the BPM

to the RFC send step (to send to rfc response)

to close the RFC brigde

Regards,

michal

Answers (1)

Answers (1)

Former Member
0 Kudos

I right clicked on the block and I have the option there, to insert the exception branch.

How do I map this exception error message to RFC Response?.

Thanks,

Raj.

moorthy
Active Contributor
0 Kudos

HI Raj,

- You can add Container Variables to Messages by using Container Opertaions(Append/Assign)

http://help.sap.com/saphelp_nw2004s/helpdata/en/59/e1283f2bbad036e10000000a114084/frameset.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm

And also you can throw this exceptions via Alerts. But mapping to a Response message, I think you need to assign that value to the message..

Hope this helps,

Regards

Moorthy