SAP Knowledge Base Article - Public

3412151 - Custom field in sale order should not be editable

Symptom

Is it possible to create a custom field as display only. We require the ability to control the field properties such as, read-only, invisible, or mandatory.

Environment

  • Sales and Distribution (SD)
  • SAP S/4HANA Cloud All versions 

Resolution

Field properties can be adjusted through two Custom logic BAdI options depending on whether the field is at item level or header level. The BAdI names and links to further documentation are provided below:

  • ID - SD_SLS_FIELDPROP_HEAD
  • ID - SD_SLS_FIELDPROP_ITEM

SAP Help for further information.

More detailed information on these custom logic options can be found on the system within the BAdI documentation - app 'Custom Logic'.

Keywords

SD_SLS_FIELDPROP_HEAD, SD_SLS_FIELDPROP_ITEM, field_properties, VBAK, VBAP, editable, non-editable, display only, required, VA01, VA02, VA03, change, create, F1814, F1851, F1852, F1871, USEREXIT_FIELD_MODIFICATION, SCREEN-INPUT, MV45AFZZ, USEREXIT , KBA , SD-SLS-EXT-2CL , Extensibility (Public Cloud) , How To

Product

SAP S/4HANA Cloud 2308