SAP Knowledge Base Article - Public

3746353 - Unable to edit custom field behavior for sales contracts related applications.

Symptom

It is required to change the behavior of a custom field in a Sales Contracts - related application, e.g. make a field read-only in the app 'Manage Sales Contracts - version 2'.

However the behavior option cannot be found in the "Custom Fields" application.

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

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

KBA 2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Product

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) , BC-SRV-APS-EXT-FLD , Custom Fields , Problem

Product

SAP S/4HANA Cloud Public Edition all versions