cancel
Showing results for 
Search instead for 
Did you mean: 

Variant Configuration and object dependencies

Former Member
0 Kudos

Hi Team,

I have requirement where I have a characteristics called Packaging Mode . In this characteristics I have value PM1 and PM2

I have assigned this to a class called VAR

I have maintained variant condition record for both PM1 and PM2 in VK11

For PM1- 100 Rs/-, and PM2 it is 200/-

The requirement is when ever the PM1 is selected that varaint pricing 100 Rs only has to come and when PM2 is selected that variant pricing or Rs. 200 only should come in the sales order

For this what is the dependencies Type should I need to select is it

Procedure

Selection condition or

Precondition

What is the synatax I should write to maintain presently I am maintaining

$Self.VC_Price='PM1' or $Self.VC_Price='PM2'

But system is not picking the variant pricing . It says "Pricing error : Mandatory condition VA00 is missing"

Please suggest on the object dependencies and on the syntax statement to pick the price according to the characterstics.

Accepted Solutions (1)

Accepted Solutions (1)

former_member194575
Active Participant
0 Kudos

1. Create a procedure and write the code as follows.

$Self.VC_Price='PM1' if $parent.package = 'PM1',

$Self.VC_Price='PM2' if $parent.package = 'PM2'.

2. Create variant condition using VK30 with PM1 and PM2.

3. Create pricing condition records for VA00 with PM1 and PM2 respectively.

Thanks,

Shanthi Kumar Juluru

Answers (1)

Answers (1)

keyur_mistry1
Active Participant
0 Kudos

Go with the procedure. But let me clear first, when PM1 Price should trigger and when PM2 price.

Procedure will use to infer the characteristics value.