Skip to Content
avatar image
Former Member

Unable to edit local offline entity

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 28, 2015 at 06:39 PM

    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-8c0b3c7c6d4c?QuickLink=index&…

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 30, 2015 at 10:31 AM

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

    Add comment
    10|10000 characters needed characters exceeded