Hi Jonathan
For outbound proxy based interfaces, you cannot force the message to an application error state from the calling program - therefore meaning it's not possible to set the SXMB_MONI message to error from the calling program.
Raising application errors are only applicable in a receiver/target system, therefore this can be done in an inbound proxy program.
For sender systems, you can only CATCH application errors that were raised in the target. In your case, the target responded fine, it's just that some value in the response do not meet your specific business requirement. From an interface perspective and MONI perspective, there were no application errors in the target.
Instead you need to handle this exception in your calling program, if it is an interactive program then return a message to the user. If it is a background program, either log it somewhere or raise an alert email.
Rgds
Eng Swee







