Sunteți pe pagina 1din 14

Steps for Variant Configuration

The following steps have to be carried out for using Variant Configuration –

S.No. Steps for VC T CODE


1 Create Characteristics CT04
2 Create Class CL02
3 Create Configurable Material MM01
4 Create Components MM01
5 Assign objects/classes to class CL24N
6 Create Super BOM CS01
7 Create Dependencies CU01
8 Create Configuration Profile CU41
9 Create Pricing for variants VK11
10 Create Sales Order VA01

1. Create Characteristics

Define the following characteristics –

Characteristic Description Data No of Value Characteristic Characteristic Value


Type Characters Assignment Value Description
HDD Hard Disk CHAR 5 Single 80GB 80 GB SATA Hard Disk
Drive 120GB 120 GB SATA Hard Disk
CPU Processor CHAR 10 Single 1. 8 GHZ Centrino Processor
1.8Ghz
2.2 GHZ Centrino Processor
2.2Ghz
DISPLAY Monitor CHAR 5 Single 14" 14" TFT Monitor
15" 15" TFT Monitor
KEYBOARD Keyboards CHAR 6 Single BLK-KB Black Keyboard
for PC WHT-KB White Keyboard
PRICE** Variant CHAR 26 Multiple
condition

** In the Additional Data Tab page, we need to maintain the following fields for characteristic PRICE –

 Table Name – SDCOM


 Field Name – VKOND

2. Create Class
We now define the following types of classes –

Class Class Type Class Name Class Description


Material (Configurable Objects) 200 Z_KEYBOARD Class 200 for selecting Keyboard
Variants 300 COMPUTER Desktop PC
The following characteristics are defined for each class type –

Class Name Class Type Characteristic


Z_KEYBOARD 200 KEYBOARD

COMPUTER 300 HDD


CPU
DISPLAY
KEYBOARD
PRICE

Note that the characteristic KEYBOARD is maintained in both the class types (200 and 300).

Characteristic PRICE has to be maintained in the Class COMPUTER (Class Type 300) to pick up the
corresponding price of the selected components.

3. Create Configurable Material

A Configurable Material PC is created by using the Material Type KMAT.

4. Create Components

Similarly, define the following Materials to be used as components for the configurable material PC–

Material No Material Type Material Description General Item Category Group


HDD-80GB ROH Hard Disk Drive - SATA - 80GB NORM
HDD-120GB ROH Hard Disk Drive - SATA - 120GB NORM
CPU-1.8Ghz ROH Processor - Intel Centrino - 1.8Ghz NORM
CPU-2.2Ghz ROH Processor - Intel Centrino - 2.2Ghz NORM
TFT-14" ROH Monitor - Samsung TFT - 14" NORM
TFT-15" ROH Monitor - Samsung TFT - 15" NORM
BLK-KB ROH Black Keyboard NORM
WHT-KB ROH White Keyboard NORM

Note that the components BLK-KB and WHT-KB will be configured by using the Class
Z_Keyboard (Class Type 200). For these two materials, a classification view is also to be
maintained.

Class Z_KEYBOARD is defined as a Class Item (Item category K) in the Super BOM of configurable material
PC. The class item is automatically replaced according to the characteristic values assigned when the
material is configured.

The other components will be configured by using Class COMPUTER (Class Type 300). These will be
assigned directly in the Super BOM of configurable material PC with Item Category L.

2
5. Assign Objects/Classes to Class
For both the materials BLK-KB (Black Keyboard) and WHT-KB (White Keyboard), we have to link the
Class Z_Keyboard (Class Type 200) with the material master records. It can be done in three ways –
 Assign class Z_Keyboard in the classification view of the materials BLK-KB and WHT-KB
 Assign materials BLK-KB and WHT-KB to the class Z_Keyboard in the T Code CL24N
 Assign class Z_Keyboard to each material BLK-KB and WHT-KB in the T Code CL20N

6. Create Super BOM


In our example, now we have to maintain the Super BOM for configurable material PC with all the
possible components. The following components are maintained in the Super BOM –

Material No Item Category Quantity


HDD-80GB L 1
HDD-120GB L 1
CPU-1.8Ghz L 1
CPU-2.2Ghz L 1
TFT-14" L 1
TFT-15" L 1

7. Create Dependencies

Create the selection conditions for other BOM items as below –


BOM Item Characteristic Selection Condition Syntax
HDD-80GB HDD HDD = '80GB'
HDD-120GB HDD HDD = '120GB'
CPU-1.8GHZ CPU CPU = '1. 8 GHZ'
CPU-2.2GHZ CPU CPU = '2.2 GHZ'
TFT-14" Display DISPLAY = '14"'
TFT-15" Display DISPLAY = '15"'

Note that Object Dependencies are not written for the Class item Z_Keyboard through which either of
the two components BLK-KB or WHT-KB will be configured.
Also, there is a precondition that with 80GB Hard disk, a 15” Monitor is not available. For this, we write
the precondition LIMITATION in T Code CU01 as below –

This precondition has to be assigned to the Characteristic DISPLAY.

3
Select Extras Object Dependencies Assignments (Shift + F11)

Assign the Procedure LIMITATION

8. Create Configuration Profile

We will now define the Configuration Profile Z_COMP for Material PC in the T Code CU41.

Here we have to assign the Variant Class COMPUTER (Class Type 300) to the configuration profile.

To determine the correct price of the selected components, procedures have to be assigned to the
Configuration Profile.

Condition records are defined in T Code VK11 for the combination of Condition Type VA00, Sales
Organization 0001, Distribution Channel 01 and Material PC. These condition records define the price of
each variant. Based on the value of the characteristic of each variant, the total price of the configured
product is determined with the help of these procedures.

4
Write the following Procedures and assign to the configuration profile

Procedure Description Syntax


80GB_VARIANTCON 80GB HDD Variant Condition $SELF.PRICE = '80GB' IF HDD = '80GB'
120GB_VARIANTCON 120GB HDD Variant Condition $SELF.PRICE = '120GB' IF HDD = '120GB'
1. 8 GHZ_VARIANTCON 1.8 GHZ CPU Variant Condition $SELF.PRICE = '1. 8 GHZ' IF CPU = '1. 8 GHZ'
2.2GHZ_VARIANTCON 2.2 GHZ CPU Variant Condition $SELF.PRICE = '2.2 GHZ' IF CPU = '2.2 GHZ'
14"_VARIANTCON 14" TFT Variant Condition $SELF.PRICE = '14"' IF DISPLAY = '14"'
15"_VARIANTCON 15" TFT Variant Condition $SELF.PRICE = '15"' IF DISPLAY = '15"'
BLK-KB_VARIANTCON BLK KEYBOARD Variant Condition $SELF.PRICE = 'BLK-KB' IF KEYBOARD = 'BLK-KB'
WHT-KB_VARIANTCON WHT KEYBOARD Variant Condition $SELF.PRICE = 'WHT-KB' IF KEYBOARD = 'WHT-KB'

9. Create Pricing for Variants

T Code – VK11

In Sales and Distribution, use variant conditions to define surcharges and discounts for configurable
materials, depending on the characteristic values you assign. Variant conditions consist of a variant key
and an amount that is identified by the variant key.

Condition records for the Condition Type VA00 are defined in T Code VK11 as shown below –

5
At the time of Sales Order creation, the system determines the Pricing Procedure (ZVC001) based on
the following combination –
 Sales Area (Sales Organization + Distribution Channel + Division)
 Document Pricing Procedure
 Customer Pricing Procedure

6
The Document Pricing Procedure is maintained in the Sales Order Type (T Code VOV8) as shown –

7
The Customer Pricing Procedure is maintained in the Customer Master Record (T Code XD01) as shown

For determining the Pricing Procedure (ZVC001), the combination of Sales Area (Sales Organization +
Distribution Channel + Division), Document Pricing Procedure and Customer Pricing Procedure is
maintained in T Code OVKK as shown below –

8
Further, the Condition Records defined in VK11 for Condition Type VA00 are linked to the Pricing
Procedure in the following way –

Condition Records
(VK11)

Tables & Fields

Access Sequence
(V/07)

Condition Type
(V/06)

Pricing Procedure
(V/08)

The following pages show the configuration of the above mentioned sequence.

9
The Pricing Procedure ZVC001 was created by copying from the Standard Pricing Procedure RVAA01 in
T Code V/08. The following Condition Types were defined as mandatory (required) –

 VA00 - Variant Price


 KF00 - Freight
 MWST - Output Tax

The system asks the user to input these condition types in the sales order as they have been defined
mandatory.

10
The Condition type VA00 is configured in T Code V/06 as follows –

11
Access Sequence VA00 is assigned to Condition Type VA00 & is configured in T Code V/07 as follows –

Tables and fields are assigned to the Access Sequence as shown below.

For access sequence VA00, Table 57 is assigned.

12
10.Create Sales Order

Input the values of the characteristics in the configurator.

The green light shows that the configuration is correct.

Note that the price of the components is determined by the procedures maintained in the Configuration
Profile.

13
Select to view the price of the components.

The system prompts the user to enter the Pricing Conditions KF00 and MWST in the Item Data:
Conditions tab page.

The condition records for VA00 are picked from T Code VK11 for the selected components respectively.

The Sales Order is created upon saving. It can be viewed in MD04 for Material PC.

14

S-ar putea să vă placă și