cancel
Showing results for 
Search instead for 
Did you mean: 

Retrive message mapping error from java class

Former Member
0 Kudos

Hi,

I'm trying to create a scenario that if exist an error in the message mapping step this error will be inserted in a Ztable. I'm thinking in to call to the message mapping from a java class to catch the exception and this java class will be used in the interface mapping.

Is it possible? If yes, How to call the message mapping from java code?

Exists other possible solution?

I need to do it because we want store all mapping errors in a Ztable. (Customer requeriment)

Thanks, in advance

Jose Manuel

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

you can throw generic exceptions from the message mapping like this - /people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping

you can then decide how to handle these exceptions