cancel
Showing results for 
Search instead for 
Did you mean: 

required goal field validation does not get triggered

lillabozo1
Explorer
0 Kudos

​Dear all,

I am having issues configuring the goal field id=done (percent format) as required field. There is always a 0 default value in the field whenever the field becomes visible and editable by the manager. So the validation does not get triggered despite the is only 0 as value in the field.

I though it will change if I remove the default value in XML for the field, however, it does not help. I am quite confused as for the weight field the validation works as it should. As you see below the two fields are configured identically. Is there a reason why will 0 appear as default value for the field "done"? Is there any workaround, how the validation for required field could be triggered?

<field-definition id="weight" type="percent" required="true" detail="false" viewdefault="on" showlabel="false" field-show-coaching-advisor="false" cascade-update="push-down">

    <field-label>Gewichtung in %</field-label>

    <field-label lang="de_DE">Gewichtung in %</field-label>

    <field-label lang="en_US">Gewichtung in %</field-label>

    <field-description>Gewichtung in %</field-description>

    <field-description lang="de_DE">Gewichtung in %</field-description>

    <field-description lang="en_US">Gewichtung in %</field-description>

  </field-definition>

 

  <field-definition id="done" type="percent" required="true" detail="false" viewdefault="on" showlabel="false" field-show-coaching-advisor="false" cascade-update="push-down">

    <field-label>Ergebniserreichung in %</field-label>

    <field-label lang="de_DE">% erreicht</field-label>

    <field-label lang="en_US">% erreicht</field-label>

    <field-description>Ergebniserreichung in %</field-description>

    <field-description lang="de_DE">% erreicht</field-description>

    <field-description lang="en_US">% erreicht</field-description>

  </field-definition>

 

Thank you and best

Lilla

Accepted Solutions (0)

Answers (1)

Answers (1)

Sam_Passman
Product and Topic Expert
Product and Topic Expert
0 Kudos

If you are asking as a partner, unfortunately, the customer community is not for supporting partners with configuration questions. You can post questions into the partner community here:

https://groups.community.sap.com/t5/delivery-forums/ct-p/hcm-delivery-forums

In addition, please leverage the partner enablement tools listed here...

https://launchpad.support.sap.com/#/notes/2116056/E

If you are asking as a customer, you may want to submit a support ticket for your XML configuration question.