cancel
Showing results for 
Search instead for 
Did you mean: 

Changing read-only fields/BO into writable

former_member599333
Participant
0 Kudos

Hi,

Is there a way to change read-only fields/BO into writable ones using code? Or just via configuration?

Regards,

JM

Accepted Solutions (1)

Accepted Solutions (1)

anant_acharya
Advisor
Advisor
0 Kudos

Dear JM,

No such configuration available in Business ByDesign System.

The SAP public solution model (PSM) contains all entities in the SAP cloud solution that are released for use by external consumers.

The Repository Explorer tool window displays SAP content that is released with the public solution model (PSM) such as business objects, data types, enhancement options, inbound service interfaces, and reuse UIs. You can explore the content to gain an understanding of the repository structure and the business context and use of SAP content, which you can reuse and enhance in your solution.

If you need to access business content for the SAP cloud solution that has not been released for consumption through the PSM, you can request SAP to release this business content.

To do this, proceed as follows:

1. Create an incident in the SAP cloud solution and use the prefix PSM. For information on how to create an incident, see here [page 564].

2. Describe the use case of your solution and what you are trying to achieve (that is, what is the purpose of your development/solution?).

3. Describe the required business content/entities to be released in PSM, and why you need them.

4. If you require business content such as the fields of a business object from a UI, provide a screenshot of that UI and highlight the elements that need to be enabled for read-access and for write-access.

Hope this helps.

Regards

Anant

former_member599333
Participant
0 Kudos

Hi Anant,

So, this is the resolution for the case that I have messaged you previously? Cause even though they gave me the exact absl code of the error, I still need to update the read only fields right?

Regards,

JM

Answers (2)

Answers (2)

guruprasad_durai
Explorer
0 Kudos

Hello JM,

You are referring to the Action "Cancel". The status of this shows as Released which means you can consume this action in Cloud Studio via scripting. Once you call this action, the document would be cancelled if all the requirements are met to cancel and the status would be set accordingly.

Regards,

Guruprasad

former_member599333
Participant
0 Kudos

Hi Guruprasad,

Does the Public Write Access have a bearing when it comes to updating a read-only file?

Regards,

JM

guruprasad_durai
Explorer
0 Kudos

Hello JM,

If any field/BO is read-only you cannot make them writable. The reason to this is controlled from backend where the PSM (Public Solution Model) will be only read released and not write access. You can view this in Repository Explorer of Cloud Studio.

In case you feel you need any field to be PSM write release so that you can write values to these fields using Cloud Studio scripting then you can raise an incident to SAP. We would then assess the feasibility and if everything is fine we would PSM write release the field/BO.

Note: To raise an incident for PSM request, you can follow the below blog:

PSM Blog

Regards,

Guruprasad

former_member599333
Participant
0 Kudos

Hi Guruprasad,

Does the "Status" element have a connection with the "Cancel Release" button? Does it affect the behavior of the button? Because the status element does not have PSM enabled and for my issue, I am thinking that it is the field that is being updated to be able to cancel the release once the documents have been processed.

Regards,

JM