Hello,
I’m currently developing a UI5 Application.
My oData service is based on SADL, so the implementation to retrieve the data is the generated SADL-standard implementation.
My problem is this: When I try to execute a batch request with multiple changesets, I get a short dump with the error MESSAGE_TYPE_X.
The error occurs in the program /IWBEP/SAPLFGR_MGW_CLIENT_IF in the commit_check which is executed when commit work is called in /BOBF/IF_TRA_TRANSACTION_MGR~SAVE, because in my case mv_changeset_optotal is > 1.
When I just skip over the commit_check in the debugger, the batch finishes without problem.
Is there any possibility to avoid this check?
What's the sense of a batchrequest, if I can't hand over more than one request? My intention is to make more request by once, for better performance.
Kind regards, Stefan Frank
FORM commit_check .
* Commit Work is allowed for anyone of the following cases:
* - no ChangeSet
* - only one operation in Changeset
* - during CHANGESET_END
IF mv_changeset_optotal = 1 OR
mv_changeset_processing <> abap_true OR
mv_changeset_end_processing = abap_true.
EXIT.
ENDIF.
MESSAGE x051(/iwbep/cm_mgw_rt).
ENDFORM.