Symptom
Error appears while trying trying to update or save a document data:
- Technical error AP_ESI_COMMON 107; report an incident
Environment
- SAP Business ByDesign
- SAP Cloud Applications Studio
Cause
This error means: Changing data not possible; data is read-only.
It occurs when an Add-On is trying to modify an attribute (which could be an extension field) when the status of the document (e.g. posted, paid, canceled, in approval) does not allow any change on it.
Resolution
Please follow KBA 2365114 - How to take trace in the Cloud Application Studio SDK in order to understand which scripts are running during the issue being faced as one of them is making a change to an extension field.
The partner responsible for the Add-On must implement the necessary checks and validations on their script so it only modifies the extension fields when the document is in a writable state.
You may follow the guidelines from KBA: 2610403 - Extension Field For Sales or Service Order Cannot Be Updated on Item Level via your PDI solution
See Also
KBA: 2365114 - How to take trace in the Cloud Application Studio SDK
Community Blog: Performance ABSL Trace – New functionality in 2005 Release.
Help Document: Tracing Quick Guide
Keywords
Technical error AP_ESI_COMMON 107; Add-on; PDI , KBA , ap_esi_common , ap esi common error , SRD-SRM-PRO , Purchase Requests and Orders , Problem