cancel
Showing results for 
Search instead for 
Did you mean: 

$batch returns 202

Former Member
0 Kudos

Can someone tell me how to override the standard $batch functionality so I can return the error code of what fails rather than the usual 202, as the client of the $batch service expects errors to be reported as 4xx/5xx and cannot inspect the body to get at the failure

Thanks

Luke

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Luke,

In case of an error, from the backend are you raising an exception of type /IWBEP/CX_MGW_BUSI_EXCEPTION for business exceptions or /IWBEP/CX_MGW_TECH_EXCEPTION for technical exceptions?

Regards,

Harish R