cancel
Showing results for 
Search instead for 
Did you mean: 

Varient confg..

Former Member
0 Kudos

Hi All,

Can u PLZ explain to me in detail the following:

How do we Specify the dependencies to the characteristics in varient configuration. in TX: CT04.

We enter $**** = '****'.

What exactly does this stand for.

If possible explain with this simple scenerio.

Material Name: ice_cream.

char 1 : Flavour: Vanila, Pista etc.

Char 2 is Quantity.eg 100 200 gms etc.

How should we go about for achieving the following:

Flavour : Weight : Price:

Vanila 100gms 25

Vanila 200gms 40

Pista 100gms 30

Pista 200gms 50

Awaiting ure reply,

Cheerzz..

Subbz..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In your case, you have to work out in this method

characteristics in CT04:

Material: Ice Cream of KMAT material type

ZFLAVOUR - values Vanilla, Pista

ZQUANTITY - values 100gm, 200 gm

ZPRICE: just enter in Addl tab Table name as SDCOM & Field name as VKOND. System would copy info from data structure maintained in table SDCOM.

Create a class say ZICE and assign the above characteristics to this class.

Now go back to characteristics ZFLAVOUR

select value vanilla from TAB values From Menu bar select Extras -> Object dependencies ->.Editor

in line 000010 enter $self.ZPRICE='vanilla'

select value pista

in line 000010 enter $self.ZPRICE='pista'

similarly do this for values in characteristic ZQUANTITY

Now create a pricing condition record PR00 for material ice cream.

create variant condition record VA00 in condition record VK11 for characteristic values vanilla, pista, 100gm, 200gm

don't forget to assign variant class to material ice cream and also characteristics are case sensitive. If you are using capital & small case, use proper case.

when you create salesorder you would get a dialog box to choose your variants of your choice.

Reason for using $SELF:

If you use a procedure to infer a value for a characteristic, you enter the variable $SELF before the characteristic.

$SELF is the material to which the dependency is allocated.

Answers (0)