Skip to Content

SAP C4C + SDK + Unable to update KUT value from SDK code. Getting error its read only

Hi Experts,

I have created KUT field with text 40. From C4C UI , I can update the value and save it.

For my requirement i am trying to update KUT Value from SDK in script ( validation -onsave).

I have the reference hence i can read the file but while updating i am getting error that this KUT field is read only.

Code in the script is very simple

this.kut_field = "updated field value" .

error screen shot



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 29, 2020 at 02:37 PM


    the error message is related to the action, not to your KuT-field if you use the Event-BeforeSave it will work :)

    the OnSave is only for validation purposes not for changing data values.

    best regards


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.