Skip to Content

Handling OData Exceptions with Batch mode

Dec 11, 2017 at 10:02 AM


avatar image

Hello experts,

I'm implementing sapui5 appliaction, that calls multiple CREATE operations in one batch. At now I've just redefined methods /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_BEGIN / END and proper method is called multiple times. It is working fine when there is no errors.

How should I throw business exception in CREATE_ENTITY method to get message at ForntEnd layer? In console I can see only:

<error xmlns="">
   <message xml:lang="en">In the context of Data Services an unknown internal server error occured</message>
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers