cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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

error-screen-shot.jpg

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

thomaskenner
Participant
0 Kudos

Hi,

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

Thomas

0 Kudos

Thanks Thomas, Perfect 🙂

Answers (0)