Skip to Content
Former Member
Aug 02, 2017 at 06:39 PM

sap offline app - Unable to delete Error records - Permission to update {Z*SRV_Entities} denied.

264 Views Last edit Aug 03, 2017 at 01:24 AM 5 rev

Hi All,

We have a custom SAP offline app development for basic Order Management.

manifest.json snippet:

"dataSources": {
	"mainService": {
		"uri": "/sap/opu/odata/sap/ZPSMM_SCP_MOBILE_SRV/",
		"type": "OData",
		"settings": {
			"odataVersion": "2.0",
			"localUri": "localService/metadata.xml"

Component.js >> init() code snippet:

init: function() {
	var oModel, appContext, sServiceUrl;
	//create odata model for kapsel application
	var param = {
		"json": true,
		loadMetadataAsync: true,
		useBatch: true


	oModel = new ODataModel(sServiceUrl, param);
	devapp.appModel = oModel;


In the scenario of an Sync conflict, the error archive "Synchronization Issues" pops up and shows the errors which is an expected behavior. But, User is unable to delete the error records and proceed.


1) Mobile: User1 updates an order (with 2 order-items) and clicks on Save

2) Online: User2 updates same order on desktop

3) Mobile: User1 clicks on Sync and receives an error archive popup

4) Mobile: User1 clicks dustbin icon to delete the error-archive but gets below error

The following problem occurred: HTTP request failed400,,{"error":{"code":-10163,"message":{"lang":"en-US","value":"[-10163] Permission to update \"ZPSMM_SCP_MOBILE_SRV_Entities\" denied."}}}

In the absence of a sync conflict, the sync works as expected.

***Standard / generated files (such as devapp, devlogon) have NOT been touched in this regard.

Would appreciate any ideas / suggestions to resolve this. Thanks,