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

LO-VC - Changeable default values in variant configuration

Nace
Newcomer
0 Kudos
955

Hello everyone,

I'm trying to set up a VC for a machine, which has three different equipment lines (basic, medium, premium).

Imagine the following scenario.

We have 3 charactersitcs with 3 values each:
- engine performance (V1: 50kW; V2: 70kW; V3: 90kW)
- Light package (V1: halogen lamps; V2: LED front; V3: LED front and back)
- Seat (V1: basic seat; V2: LED adjustable seat; V3: LED adjustable leather seat)


Sales should select the equipment lines as one of the first characteristics in the VC (Screenshot 1).
After choosing it the correct values for the engine, light and seat should be selectd by default.

Basic line --> engine V1, light V1, seat V1
medium line --> engine V1, light V2, seat V1
premium line --> engine V2, light V3, seat V2 (Screenshot 2)

Usually I'd work with the default value check mark in CT04 or a constraint to do this (Screenshot 3+4).
However, it is not possible to define them in a way that lets the customer freely select all options.

So, when choosing premium line in the beginning the values above should be selected,
but it should also be possible to select another value for this characteristic (Screenshot 5).
E.g. when choosing the premium line, it should be possible to "downgrade" to a 50kW engine if you don't need the bigger one.

It feels like this is a regular usecase for VC, but I can't find a way to set it up this way.
Can someone help out?

Thank you.

Nace

Screenshot 1:

1_CU50_BASIC_CONFIG.png

Screenshot 2:

2_CU50_PREMIUM_CONFIG.png

Screenshot 3:

3_CU60_EQUIPMENT_SEAT_CONSTRAINT.png

Screenshot 4:

4_CU22_NET_SOURCE_CODE_CONSTRAINT.png

Screenshot 5:

5_CU50_CHANGING_SET_VALUE.png

Accepted Solutions (0)

Answers (1)

Answers (1)

Michael_W141
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @Nace.

In LO-VC it is not possible to set default values (that can be overwritten by the user) through constraints.

Try a procedure instead with a table statement like this:

table EQUIP_SEAT
( EQUIPMENT_LINE = EQUIPMENT_LINE,
SEAT_TEST ?= SEAT_TEST )

Please note that I have used ?= instead of =, to set the value as default for SEAT_TEST.
Please note that for the procedure it is important that EQUIPMENT_LINE is flagged as key field in the variant table definition.

Related:
Value Assignment Alternatives | SAP Help Portal
Tables in Actions and Procedures | SAP Help Portal
Setting Default Values with Procedures | SAP Help Portal
Deleting Default Values with Procedures | SAP Help Portal