on 10-16-2007 2:39 PM
Hi,
I've got a BPM receives a message, then call a transformation step and then send the message. I've created exception branches for the transformation and send steps. If the message mapping called in the transformation step works, the message is send, no problems. If a message mapping exception occurs, for example a string index out of bounds, the exception branch is not executed. Instead the BPM continues to the send step and an error occur because of the empty container element.(the container is empty because the mapping fails). SAP Help states that an exception is "Thrown when a permanent system error occurs" in the Transformation step. My question is what exactly is a permanent system error if normal message mapping exceptions is not a permanent system error? And also, how do I generate a permanent system error when a message mapping exception is thrown in order for the exception branch in my BPM to execute?
Any suggestions will be appreciated.
Rudi,
just observe that a mapping that creates an empty target message does not necessarily has raised an exception. That seems to be your case.
Properly test your mappings in test tab of interface mapping in order to check the expected behaviors.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Henrique,
thanks for the response. The mapping definitely raise an exception, if I go into the BPM logs I can see the mapping exception and if I take the message through the test tool the same mapping exception occurs. It looks if the problem is what the previous reply states and that is that a mapping exception is not a permanent system error and that is why the exception branch is not executed. Have you ever tried to test this?
Hi
The exception handler in your case will work only for the permanent system error and the mapping error like in your case array out of index is not a system error .
for handling this type of case use the UDF for creating the alert in your mapping and creating the alert configraution.
Thanks
sudhir sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I dont think there is a direct way to raise such error in mapping
What is the sxi_cache status for ur integration process?
Here r the steps for which permanent error is thrown
http://help.sap.com/saphelp_nw04s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do you have an exception handler defined on the block ? Does the transformation error raise this exception ?
Cheers
Colin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.