on ‎2024 Jul 05 4:49 AM
Hi All,
In managed scenario, How can I ensure that a child entity is only creatable and not editable afterward in RESTful ABAP? When I remove the update capability from the behavior definition, the fields become non-editable even during the creation phase. What is the best approach to achieve this effectively? I also tried field (readonly : update) but it does not work.
Request clarification before answering.
Hello,
The answer should be with Behavior Definition only as you tried before.
Try with below Field Characteristics available in Behavior Definition of RAP:
field(readonly:update) Field1Go through the below documentation:
https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/abenbdl_field_char.htm#!ABAP_VARIANT_6@6@
This should help!
Thanks,
Sijin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the problem you are facing when you are using 'field(readonly:update)', Sorry am not able to make out the issue you are facing using the screenshots attached.
We have same Field Characteristics enable for couple of fields but in Root Entity and it works perfectly alright and we also have Draft functionality enabled, so wondering what problem you could be facing.
Thanks,
Sijin
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 7 | |
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.