Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dependency writing in VC

Hi

i have scenario

class; BIKES  defined

Characteristics : ( all are set)

TWCOLOUR

START

WHEEL

TYRES

BPRICE

BMODEL

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

Br

Sachin

Former Member
replied

Hi Sachin,

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,

Flavio

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question