cancel
Showing results for 
Search instead for 
Did you mean: 

Variant Configuration--Characteristic Value Restriction

Former Member
0 Kudos

Hi

I have two characteristics for a material :

1.Characteristic:"Selected Feature(s)"

Values:Full,Issue Only & Express

2.Characteristic:"Type of media"

Values:No Entry,CD ROM,No Physical Shipments

Now I have a requirement like if the user selects Characteristic Selected Feature(s) as Express the Characteristic 'Type of Media' should be defaulted to 'No Physical Shipments' and IT SHOULD NOT ALLOW THE BUSINESS USER TO CHOOSE THE OTHER TWO VALUES: No Entry,CD ROM.Basically it should restrict the user from entering the other two values.

Can anybody tell me how to acheive this and which dependency type should I use here?Constraint or a rule?Also please mention the code.

Thanks in advance...

Regards

Prasad

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prasad,

I'll name the two characteristics SELECTEDFEATURE and TYPEOFMEDIA.

GO to transaction CT04 for characteristic SELECTEDFEATURE . Go to value "Express" and create a dependency of type precondition.

then go to the Dependency editor and enter the following code:

TYPEOFMEDIA EQ 'No Physical Shipments'

Check the following link for more info

http://sapqueries.blogspot.com/search?q=variant

Former Member
0 Kudos

Sorry about that, it's the other way around...

go to characteristic TYPEOFMEDIA, into the value 'No Physical Shipments' and create a precondition witht the following code:

SELECTEDFEATURE EQ 'Express'

Tha will ensure that when the user selects Express for SELECTEDFEATURE, only 'No Physical Shipments' will be available for TYPEOFMEDIA

You will need to write more preconditions to cover all possible combinations