Dependency writing in VC
i have scenario
class; BIKES defined
Characteristics : ( all are set)
i have to define dependency that when i select TWCOLOUR = RED , START= BUTTON START , WHEEL = MAC WHEEL WITH DISC BREAK, TYRES= MRF TYRE , BMODEL = CTZN then BPRICE should automatically select 90000 using dependency.
Can you please guide how shall i write this dependency. please provide me in details
flavio ciotola replied
Please also refer to the online SAP help Variant Configuration (LO-VC) - SAP Library or just Google for 'sap lo-vc pdf', there is a 332 pages, nice pdf explaining, with clear examples, the variant configuration process.
If still need any help, the following should work for the mentioned case.
Create an object dependency (Procedure) with the following code
$self.BPRICE = 90000 IF
$self.TWCOLOUR = 'RED' AND
$self.START = 'BUTTON START' AND
$self.WHEEL = 'MAC WHEEL WITH DISC BREAK' AND
$self.TYRES = 'MRF TYRE' AND
$self.BMODEL = 'CTZN' .
Here a screen shot of the dependency:
Allocate it in the configuration profile.
Hope this could be of any help. If you need any further detail, feel free to ask.
Thanks and best regards,