In Web UI, you would like to define a field to be mandatory only in specific situations, for example depends on the value selected in another field. That is you would like to define a Dynamic Mandatory Field.
For example, the field will initially be shown as not mandatory, after select a value in another field, after server round trip, the field is set to be mandatory. The field will be displayed with the mandatory * after the label, but the text box is not shown as red as other mandatory fields. And there is no error message related.
Then after change the value for another field, the field becomes not mandatory. The field's label won't show the mandatory *, but the text box will show as red, as if it is still mandatory. And the error message related is still there.
The above confusion will disappear, if another server round trip happens, and the mandatory status of the field stays the same.
- SAP Customer Relationship Management 7.0 and higher
- SAP enhancement package for SAP Customer Relationship Management
- SAP enhancement package for SAP CRM, version for SAP HANA
Dynamic, P-Getter, if_bsp_wd_model_setter_getter~FP_INPUT_MANDATORY, GET_P, red, Make an entry in field, GET_EMPTY_MANDATORY_FIELDS, limitation , KBA , CA-WUI-UI , User Interface , How To
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.