SAP Knowledge Base Article - Public

2993815 - Identifier is read-only and cannot be changed


You receive the following error message when trying to save or activate an .ABSL script file in your custom solution within the Cloud Applications Studio:

  • Identifier 'My_Field' is read-only and cannot be changed (where My_Field is the name of an element)


“Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.“ 


  • SAP Cloud Applications Studio 


The cause for this issue can be related to the Deployment Unit of the affected business objects.

You can directly access business objects that reside in the Foundation deployment unit from any deployment unit (DU). However, business objects in the Foundation deployment unit cannot access any business object residing in another deployment unit, not even by using asynchronous communication. You can only use a query to read the data of this business object.

In case your script was created on a business object that resides in the Foundation DU, you will not be able to write on elements from a business object that resides on the CustomerRelationshipManagement DU, for example.


You can assign the business object to another Deployment Unit by making use of the annotation in your BO: [DeploymentUnit(<deployment unit name>)] businessobject <name> {

Example: [DeploymentUnit(Foundation)] businessobject MyCustomBO {

See Also

Please refer to the SAP Cloud Applications Studio help document.


SDK, PDI , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , How To


SAP Cloud Applications Studio all versions