cancel
Showing results for 
Search instead for 
Did you mean: 

MDM validation is not working for Measurement Field

Former Member
0 Kudos

Hi ALL,

i am getting an issue while calling validation on MDM Measurement field from MDM Standard iViews.

I have an Measurement field called Total Space under Diemntion Area.

i have written an validation via DataManager and the validation expression is:

IF(HAS_ANY_VALUES(Total Space,cm2),FALSE)

when i am first time saving value from Item Details this validation is not working but second time if i am saving with the

same value the validation works.

Is there any issue with the validation expression for Measurement field? or it is a issue with Standard Portal iViews.

Thanks & Regards,

Parama.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member40425
Contributor
0 Kudos

Hi,

Can you try doing one thing. Enable Validate button on your item Detail and check if validation is coming on first click or not.

If you can get validation we can try something.

Regards,

Rohit

Former Member
0 Kudos

Try doing at Data Manager level only,add records there itself.Let us know your findings.

Thanks,

Ravi

Former Member
0 Kudos

Hi Ravi,

the important thing is that this validations works fine from Data Manager but not working properly from Standard Item

Details Page.

Regards,

Chaitali

former_member40425
Contributor
0 Kudos

Hi,

Please check Validations tab of your ItemDetails. Check that you are not running specific validations.

Regards,

Rohit

Former Member
0 Kudos

Hi Mamai,

Please follow this link which might help you

Thanks,

Ravi

Former Member
0 Kudos

the problem is that validation is not called first time but while trying to save second time with same value then its getting

called.

Former Member
0 Kudos

the problem is that validation is not called first time but while trying to save second time with same value then its getting

called.

Former Member
0 Kudos

Hi Guys,

is there any answer why the validation on measurement field is not getting called first time from MDM Satndard

iviews but whtn i trying to save the data second time it is getting called?

still i am not able to solve this problem.

this validation is working fine in Data Manager.

Former Member
0 Kudos

HI Mamai,

Lets try with a different logic to your validation, and use different expression to achieve this.

Test this and let us know.

Thanks,

Ravi

Former Member
0 Kudos

Hi Ravi,

can u suggest any alternate expression to do this:

logic is :"allow only square ft and square meter to enter, if UOM is anything else than that then user will get validation error"

Thanks

Former Member
0 Kudos

Hi Mamai,

Try something like this:

If(UoM = 1st Value,TRUE, If(UoM = 2nd Value,TRUE,FALSE) )

Test this and let me know your findings.

Thanks,

Ravi

Former Member
0 Kudos

Hi,

I guess your problem is somewhat similar to the timestamp validations.

Check this url and see if it helps - http://help.sap.com/saphelp_mdm71/helpdata/en/4a/5c12e650995a6ae10000000a42189b/content.htm

Validations on Stamp Fields.

Thanks,

Shambhu.