Skip to Content

oData batch processig: Initial entry_provider in IF_MGW_APPL_SRV_RUNTIME~CHANGESET_PROCESS


I want to change and save data from a SAP UI5 view.

For deleting datasets I use the command oModel.remove(...) in my SAP UI5 application which calls the redefined method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_BEGIN in the backend. I have set defer_mode = true with the result that the CHANGESET_PROCESS method is called.

In changeset_process I loop about it_changeset_request and want to read the changed data with ls_changeset_request-entry_provider->read_entry_data( IMPORTING es_data = ls_verp ). The problem is that I can't call read_entry_data because entry_provider is initial.

If I only change (and not delete) data and call oModel.submitChanges() the entry_provider is not initial and everthing works fine.

Does someone know what is wrong?

Kind Regards

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

0 Answers