cancel
Showing results for 
Search instead for 
Did you mean: 

Object dependency for a Characteristics

Former Member
0 Kudos

Hi ,

I have Char1 (Allowed values Yes/No)  & Char 2 in a class X. I want to make Char 2 mandatory only if Char1 value = "No" . Can anyone explain step by step process to achieve this using object dependency ?

Accepted Solutions (1)

Accepted Solutions (1)

Flavio
Active Contributor
0 Kudos

Hi Prasad,

You can hopefully use a Selection Condition to make your characteristic Char2 mandatory. See the following documentation link:

Selection Conditions - Variant Configuration (LO-VC) - SAP Library

In detail, you should create an object dependency (CU01), type 'Selection condition', and insert the following code:


$self.CHAR1 = 'NO'.

Note: replace, in the code above, the exact Char1 name, as needed.

Once created and set its status to 'Released', this object dependency shall  be allocated inside the Char2 characteristic.

Please give it a try and let me know if you get any issue.

Thanks and regards,

Flavio

Answers (0)