cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to edit local offline entity

Former Member
0 Kudos

I am developing a Kapsel based app using SMP SDK 3.0 SP08 targeted for Windows. I am trying to update the local offline store entity using PUT request type, but I am getting etag error: "The request on an entity failed because its etag did not match the request's conditions.","errorDomain":"OfflineStoreErrorDomain"}}"

The request parameters are as follows:

URL: SMP_URL/TimeConfirmationSet(lodata_sys_eid=X'316DC4307D4911E58000E1BD336CEC1600000000')

ETag Value: W/"lodata_sys_etag316dc431-7d49-11e5-8000-e1bd336cec16".

I am able to access the specific local entity using GET request with above mentioned URL.

Regards,

Praseena

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I have been able to solve it by pasing ETag value in Headers parameters If-Match

midhun_vp
Active Contributor
0 Kudos

Hi Praseena,

You should go through these documents to understand more about Etags: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a004b815-e3bd-3210-f787-8c0b3c7c6...

The error you might be facing due to conflicts.

http://help.sap.com/saphelp_smp305sdk/helpdata/en/e5/033aa25c67486ab06505f565bf6f9f/content.htm

Regards, Midhun

SAP Technology RIG