cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to set a custom property as mandatory attribute while saving model from backoffice

0 Kudos
1,367

Hi Experts,

We have a requirement where we created a new enum type "channelIndicator" which is a mandatory one on Product Item type. We have also customized product creation wizard to display this property while creating a new product. This property is working fine when we are creating new products. However for existing products, when we try to modify any property from Administration section, the system is not stopping us from saving the product data. As per our requirement, it should stop us from saving existing products if we don't select any value for "channelIndicator" property in Administration section.

How can we accomplish this. Any help on this would be truly appreciated.

Awaiting your reply.

Thanks DurgaRao

View Entire Topic
Former Member
0 Kudos

Please check answers in that thread https://answers.sap.com/questions/12770473/required-field-wizard.html?childToView=12832395 and see if any of them work for you. Note the two aspects discussed: making a field mandatory through validation engine and displaying an asterix "*" next to the field name.

0 Kudos

Hi Lukas,

Thanks for your reply. But Unfortunately, the mentioned thread won't satisfy my requirement.