cancel
Showing results for 
Search instead for 
Did you mean: 

variant config

Former Member
0 Kudos

hi,

Iam able to succesfully select the values during sale order creation for a configurable material. But i wanted a additional requirement as below-

eg.

Characteristic Charac. values

1. Car with color = 'yes' or 'no'.

2. Car color = Red or blue or green.

Requirement :

During selection if i select 'Car with color' = 'yes', the next charac 'car color' should be displayed'.

if, During selection if i select 'Car with color' = 'no', the next charac 'car color' should not be displayed'.

To enable the above requirement i had created a Dependency in CU01 -

( Car with color eq 'yes' ) to sl.no.2.

But, the above Dependency is not working.

Is there something else to be done after creating dependency ?

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

As has been pointed out above, create a Precondition and assign it to your Characteristic for the Car Color. The syntax however should read


$self.c_car_with_color specified and 
$self.c_car_with_color = 'YES'

This will keep the Car Color Characteristic Hidden until you have Selected the CAR_WITH_COLOR Characteristic and specified the Value "YES".

Answers (6)

Answers (6)

Former Member
0 Kudos

Create a precondition in CU01

This precondition has the following source code:

Car with color eq u2018Yesu2019

Allocate the precondition to characteristic Car color, because this characteristic is affected by the precondition.

Edited by: Rajesha Vittal on Jul 21, 2009 1:28 PM

Former Member
0 Kudos

Hi,

In tcode CT04 car colour charecter value assign precondition car with color = 'yes' as object dependency for each colour.

Regards,

Dharma

Former Member
0 Kudos

hi,

I had created the dependency thro Precondition only.

The dependency check is also correct.

But it is not refering during sale rder creation.

Should the 'Depencency' be assigned to any characteristic ? If so how ?

regards

Ritz
Active Contributor
0 Kudos

Hi ,

Check my reply above .

regards

Ritesh

Edited by: R S D on Jul 21, 2009 4:50 PM

Former Member
0 Kudos

i suggest you maintain precondition for the charecterisitcs ( 2nd one)

you can see object dependecy maintainance button while maintaining charecteristics (basic data tab page).

Pavan

Ritz
Active Contributor
0 Kudos

Hi rishi ,

1. Car_with_color = 'yes' or 'no'.

2. Car_color = Red or blue or green.

create a precondition , $parent. CAR_WITH_COLOUR = "yes"

and attach this to your characteerstic CAR_COLOUR , in CT04

so when ever

During selection if you select 'Car_with _color' = 'yes', the next charac 'car color' should be displayed'.

Test it and come back for discussion.

i hope it will work for you.

regards

Ritesh

Former Member
0 Kudos

hi,

you must use Preconditions in such cases..

Say char - 'carcolour' and its values are -'yes' and 'no'

if 'yes' is selected then 2nd charecterisitcs must be shown

lets say 2nd charecterisitcs is - 'color'

you define precondition for charecteristics 'color' as carcolor = 'yes' and specified carcolor

this must solve your problem.

Pavan

Former Member
0 Kudos

you need to create a dependency type called precondition in CU01

for example see the link - [http://help.sap.com/saphelp_erp60_sp/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm]