on 06-17-2016 5:51 AM
Hi...
I created 3 characteristics.
1. A --> Values --> A1, A2, A3
2. B --> Values --> B1, B2, B3
3. C --> Values --> C1, C2, C3
I would like system should behave like this.
If I select Value "A1", other two characteristics "B" and "C" should get disabled or should not allow any selection of value
Similarly if I select "B2" other two characteristics "A" and "C" should get disabled or should not allow any selection of value,
How do I achieve this? What dependency I should define?
Regards,
Salil Joshi
Hi,
Does it make any difference in coding if I have defined these characteristics in a classification.
My scenario is as follows,
I have defined one class Class_test,
for this class I have defined three characteristics ZCT_M1 --> Values-->> M11, M12, M13
ZCT_B1 --> Values -->>B11, B12, B13
ZCT_L1 --> values -->> L11, L12, L13
my requirement is, if I select any value for any characteristics other two characteristics should get disabled or should not allow selection of valuee.
For Example, If I select value 'B13' for characteristics ZCT_B1, ZCT_M1 and ZCT_L1 should get disabled or should allow selection of values.
Regards,
Salil Joshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Salil,
As already proposed by Ritesh here above, you could use Preconditions.
Indeed, you should need two of them, one for the characteristic A value, the other for characteristic B value, and assign them alternatively to the other characteristics.
I've quickly tested it in my sandbox system.
The preconditions code shall look like the following:
With the above code, we are saying that the other characteristics are available for evaluation if value 'A1' for characteristic A is not chosen, and similarly for characteristic B.
Hope this could be of some help.
If you need further details, just let us known.
Thanks and regards,
Flavio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use dependency type precondition to achive this.
Write dependency like below for B & C.
$SELF.A = 'A1'
assign it to characterstic B and C.
Go through below link to know more on precondition.
Precondition for a Characteristic - Variant Configuration (LO-VC) - SAP Library
There is one more option , see below document created by me.
check and reply.
Thanks
Ritesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Does it make any difference in coding if I have defined these characteristics in a classification.
My scenario is as follows,
I have defined one class Class_test,
for this class I have defined three characteristics ZCT_M1 --> Values-->> M11, M12, M13
ZCT_B1 --> Values -->>B11, B12, B13
ZCT_L1 --> values -->> L11, L12, L13
my requirement is, if I select any value for any characteristics other two characteristics should get disabled or should not allow selection of valuee.
For Example, If I select value 'B13' for characteristics ZCT_B1, ZCT_M1 and ZCT_L1 should get disabled or should allow selection of values.
Regards,
Salil Joshi
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.