Symptom
When using one of the bellow BAdIs and trying to clear a custom field value, the change is not reflected in the document.
- CRMS4_SERV_CUST_H_MODIFY
- CRMS4_SERV_CUST_I_MODIFY
Environment
SAP S/4HANA Cloud Public Edition
Cause
Clearing a custom field value (setting it to initial/blank) during update via BAdI is not supported; initial values are not persisted by the framework on update.
Resolution
It's comprehensible how the possibility of clearing custom fields in a BAdI implementation would be of great use for business, so please consider creating a feature request for this business requirement. This will inform the responsible developers 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
CRMS4_SERV_CUST_H_MODIFY, checkbox, custom field, uncheck, initial value, service contract, service order, extension field, update ignored, BAdI, S/4HANA Cloud, service header, clear field, CRMS4_CHECK_AND_MODIFY_BADI, update not persisted , KBA , CRM-S4-SRV-SVO-2CL , S4CRM: Service Order (Public Cloud) , Product Enhancement
SAP Knowledge Base Article - Public