Symptom
There's the need to change the custom field behavior in apps related to sales contracts, for example, make a field read-only in the app 'Manage Sales Contracts - version 2', however the behavior option cannot be found in the app 'Custom Fields'.
For some data sources, the field behavior cannot be changed and contains the message: This usage does not support behavior.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
Cause
Behavior definition is currently not available on key user apps for Manage Sales Contracts – Version 2, so setting a custom field to read-only via the Custom Fields app is not supported.
Resolution
Changing the custom field behavior via the key user Custom Fields app is not supported at this time. As a workaround, use developer extensibility (ABAP RESTful Application Programming Model behavior extensions) to enforce the field as read-only at runtime. Refer to Extensibility-Enablement for Behavior Extensions | SAP Help Portal
Additionally, it's strongly advised to raise a feature request for this business requirement. This will inform the responsible development team as to what additional functionality should be considered for future releases.
See Also
Keywords
manage sales contracts version 2, custom field, read-only, non-editable, behavior definition, custom fields app, key user extensibility, outline agreements, sales contract, behavior extension, abap rap, developer extensibility, field properties, s/4hana cloud public edition, ui behavior , KBA , SD-SLS-OA-2CL , Outline Agreements (Public Cloud) , Problem
SAP Knowledge Base Article - Public