cancel
Showing results for 
Search instead for 
Did you mean: 

price of the variant materials

deepu_p2
Active Participant
0 Kudos

Hello,

Can we change the price of a line item in the sales order for a variant configuration material depending on the characteristic values selected.

the problem is I can not use variant pricing because the number of characteristc options is too large.

for example.

I have 4 characteristics char1 char 2 char 3 char 4 for a material. and all the 4 char are open numeric values

If the customer choosed char 1 = 2 char 2 =4 and char 3 =6 and char 4 = 8 I want to write a dependency like

final price of the product is equal to (2* $20) +(423) +(6 28) + (8 * 40).

how to do this ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

write a routine and assign it to the condition type what ever logic your want will work .

Answers (1)

Answers (1)

deepu_p2
Active Participant
0 Kudos

can you explain me clearly how to do that?

Former Member
0 Kudos

Hi

Create new routine for your requirement in VOFM>formulas>condition value. And assign it to calculation type for that condition type. In the routine write the code for multipling amount.

Suppose characteristic name Char_1, Char_2 like this.

Code should be like:

lv_temp = Char_1 (value)

xkomv-kwert = lv_temp * 20.

lv_temp = Char_2 (value)

xkomv-kwert = lv_temp * 30 + xkomv-kwert .

lv_temp = Char_3 (value)

xkomv-kwert = lv_temp * 40 + xkomv-kwert .

If u reqire further information please revert.