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

Variant configuration (LO-VC). Charcateristic restriction based on a MultiValue charctaristic values

JulianCardenas
Explorer
0 Kudos
189

Hello SAP gurus 🙂

I have a question about variant configuration in SAP LO-VC. Is it possible to restrict a characteristic to only the values that have been entered in a multivalue characteristic within the same configuration?

Example:

  • Color (multivalue): "Red", "Blue", "Black"
  • FurnitureColor (single value): I should only be able to choose one value from these three since they are the selected values for the "Color" characteristic.

I would like to know how to implement this in SAP LO-VC in this dynamic way. Does anyone have experience with this type of configuration and could share an example or guide on how to achieve it?

Thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

Michael_W141
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Julian.

Did you flag FurnitureColor as 'restrictable' in CT04 and did you try a constraint with code like 'RESTRICTIONS: <your object>.FurnitureColor = <your object>.Color'?
Not sure if that works and considers all values assigned to Color. Most likely not. 

Assuming that you have maintained for both cstics, Color and FurnitureColor, the same list of allowed values with transaction CT04, then you could work with preconditions. One different precondition for each color. You would assign a precondition to the value 'Red' of cstic FurnitureColor that checks if Color = Red. You would add a precondition to the value 'Blue' of cstic FurnitureColor that checks if Color = Blue. Etc. 

Not sure if a generic precondition for all colors would work with an ABAP pfunction, because that pfunction  would first have to find out for which value the precondition is currently executed. And pfunctions are problematic if you plan to use CPQ or Commerce Cloud later.



Ask a Question