SAP Knowledge Base Article - Public

2549434 - Unable to Set the Standard field 'Assigned To' as Mandatory in Tickets

Symptom

You want to set the standard field Assigned To as a mandatory field in Tickets View of HTML5 client.

Reproducing the Issue

  1. Go to Service Workcenter in HTML5 client
  2. Navigate to Tickets View
  3. Click on Adapt → Edit Master Layout
  4. Hover the cursor over the Assigned To field in the Ticket header
  5. Click on the tool icon
  6. You observe that there is no option to set the field as Mandatory

IRA_AssignedTo1.jpg

Cause

Assigned To field is not editable in HTML5, hence, it cannot be set as a mandatory field via Adaptation Mode. This is the standard system behavior.

Resolution

This field is editable in Fiori client and can be set as a mandatory field in the RUI floorplan. If your requirement is that this has to be made mandatory in HTML5 client too, then it has to be done via UI Designer.

For making the mandatory * appear on the screen, you need to enhance the screen.

  1. Open extensibility explorer in UI Designer
  2. Open the section group Header and click Adjust Properties
  3. Then select True within column for the field you want to make mandatory

NOTE: Point to note here is that, setting it mandatory in UI Designer, would not automatically do a validation as well. You need to write the code in ValidationOnSave to not to save with out this field being entered.

Keywords

KBA , SRD-CC , Cross Components , How To

Product

SAP Hybris Cloud for Customer 1708 ; SAP LE APPL.PLATFORM 1708