Multi-Valued Characteristics in Dependencies

2 posts
chrisweber57
Last seen: 09/29/2023 - 18:33
Joined: 03/17/2016 - 13:09
Multi-Valued Characteristics in Dependencies

Dear SAP AVC Gurus,

I have a question concerning dependencies with AVC.
I have a dependency working in LOVC but not in AVC.
I need help to understand how should be the new way of writing the dependency (we have no constraint here).

We have 2 cstics:
* SV => Single Valued characteristic
* MV => Multi Valued characteristic with possible values {1 – 6}

Here what is working in LOVC
$self.SV = 'val1' if $root.MV <> 1 
meaning that if $root.MV = 2 then $self.SV = 'val1'

But this is not working in AVC
* it seems that the condition $root.MV <> 1, is nether true even if we select one single value like 2

We saw in the oss note " 2939982 - AVC 2020 - Improvement list compared to LO-VC "
A comparison “1 NOT IN X” will evaluate as follows:
• false if X has assigned values {1, 3, 5} and possible values {2, 4, 6};
• unknown if X has no assigned values and possible values {1 – 6};
• true if X has assigned values {2} and possible values {3 – 6}.

But we have not the result of the comparison of “1 NOT IN X” for the case
• if X has assigned values {2} and possible values {1, 3 – 6}.

Thank you
Christophe