0
Variant Configuration in Pricing
Contents:
Variant Conditions in Sales & Distribution
Variant Conditions in Purchasing
© SAP AG 1999
(C) SAP AG
LO990
10-1
0.2
Variant Configuration in Pricing: Unit Objectives You will gain ga in an overview of the th e options for influencing in fluencing pricing in sales and purchasing in variant configuration functions.
At the conclusion of this unit, you will be able to set up the data you need to use variant conditions to influence pricing. For example, you will be able to:
Create reference characteristics
Maintain condition records
Link condition records to characteristic values
Generate pricing data via Variant Configuration Simulation
Use dependencies and condition records to assign values to reference characteristics
© SAP AG 1999
(C) SAP AG
LO990
10-2
0.3
Variant Configuration in Pricing: Business Scenario
You are now able to configure simple and complex products. But, you are not finished until you provide the necessary information to the pricing procedure so that your configurable product is priced according to the characteristic values selected.
© SAP AG 1999
(C) SAP AG
LO990
10-3
0.4
Variant Configuration Knowledge Base for Materials
I U N P S A
Pricing Conditions
©
SAP AG 1999
(C) SAP AG
LO990
10-4
0.5
Variant Configuration Knowledge Base for Materials (cont.)
Characteristics (A,P,PC,SC) Values (A,P,PC)
I U N P S A
Material Master
Variant Classes
Object Dependencies Preconditions
Selection Conditions (SC)
(PC)
Maximum (A, P, SC)
Tables and Functions
Maximum (A, P, SC)
Pricing Conditions
Actions
Procedures
(A)
(P) Constraints
Bill of Material
Routing
(C) Configuration Profiles (A,C,P) No BOM Explosion Single Level
Multi-Level
© SAP AG 1999
(C) SAP AG
LO990
10-5
0.6
Master Data for Pricing
Sales Order
Base price for - Configurable product
Customer 10800
Office Services, Inc.
Material
Custom PC
Quantity
PC
Base price for PC $ 700
1 piece Delivery on 05/10/00
CPU
CPU 433
Casing
Minitower
Color
Blue
Extras
Keyboard
Percentage/absolute surcharge/discount on: - Char. value - Combination of values
Mouse Modem
Price
$
910
Surcharge CPU433
$ 40
Surcharge Minitower
$ 120
Surcharge Modem
$ 50
Total Price
$ 910
© SAP AG 1999
You can maintain a base price for a configurable material. However, the final price may also depend on the features you select for a specific variant.
The features of a configurable product are represented by characteristics and characteristic values, so you can define surcharges and discounts that are dependent on these values.
You create variant conditions in table SDCOM to define surcharges and discounts. Condition types VA00 (absolute amounts) and VA01 (percentages) are supported for variant conditions. You create variant conditions with reference to a material, a distribution channel, and a sales organization. A surcharge or discount is identified by its variant key.
You can use object dependencies to define when a surcharge or discount applies, or you allocate variant conditions to the characteristic values. You refer to the condition table in dependencies using a characteristic created with reference to table SDCOM and field VKOND for Sales and Distribution.
In dependencies, use the variant keys to assign a value to the reference characteristic.
You can assign a variant key to a characteristic value in the simulation transaction CU50. This approach will generate the code necessary to activate pricing upon saving the simulation.
(C) SAP AG
LO990
10-6
0.7
General Information Condition record keys:
Variant Configuration
Surcharge - CPU433
Characteristic values:
CPU
CPU 433
Casing
Minitower
Color
Blue
Extras
Keyboard
Surcharge - Minitower Surcharge - Modem
Mouse
SD: Pricing
Modem
Condition records: Surcharge - CPU 433
$ 40
Surcharge - Minitower
$ 120
Surcharge - Modem
$ 50
© SAP AG 1999
Pricing is based on the configuration that results from assigning values to the characteristics in the sales order.
Information that identifies the condition records that are relevant to pricing is sent to Sales and Distribution (SD). The relevant records are determined in the following wa ys:
By links between characteristic values and condition record keys
By dependencies – a reference characteristic enters the keys of condition records in the table field for variant conditions.
The value of the percentage or absolute surcharges is determined from the table of condition records, according to the organizational levels and the material number.
(C) SAP AG
LO990
10-7
0.8
Variant Configuration Pricing Syntax
Sample Syntax for writing an object dependency: $SELF. = ‘key of condition record’ IF
Sample Syntax using a pre-defined function: $SET_PRICING_FACTOR ($SELF,)
© SAP AG 1999
The following examples illustrate the syntax: SURCHARGE is a reference to SDCOM-VKOND, Surcharge_xyz is a condition record key, SPEAKERS is a numeric characteristi c.
$SELF. = `key of condition record´ if Example: $SELF.SURCHARGE = `Surcharge_xyz´ if EXTRAS eq `MODEM´ and EXTRAS eq `MOUSE´
$SET_PRICING_FACTOR ( $SELF, , `key of condition record´, ) Example: $SET_PRICING_FACTOR ( $SELF, SURCHARGE, `Surcharge_xyz´, SPEAKERS)
Note: The $SET_PRICING_FACTOR increments the pricing condition by the value of the variable (characteristic value) multiplied by the condition key. You assign the dependencies to the configuration profile.
(C) SAP AG
LO990
10-8
0.9
Pricing Preparations for SD
Create a reference characteristic referring to fieldSDCOMVKOND for pricing in SD.
Create condition records for condition types VA00 or VA01.
The pricing procedure in SD must read condition types VA00 and/or VA01.
Do one of the following:
Link the condition record to a characteristic value and use the simulation procedure or Create dependencies for assigning values to the reference characteristic and allocate them to condition records.
© SAP AG 1999
If the ratio between characteristic values and condition records is not one -to-one, you must create a reference characteristic (for example, SURCHARGE) with reference to SDCOM-VKOND.
You create condition records with condition type VA00 (absolute amounts) and/or VA01 (percentage amounts). You can use either VA01 or VA00 in pricing. You can define an y key for the condition records. (Caution: the keys are case-sensitive.)
You create the one-to-one ratio between characteristic values and condition records using the user interface for configuration simulation.
You use dependencies (actions or procedures) to assign condition record keys to the reference characteristic subject to certain conditions if desired.
(C) SAP AG
LO990
10-9
0.10
Pricing in Purchasing
Purchasing procedure matches the one for SD.
Create a reference characteristic referring to fieldMMCOMVKOND for pricing in Purchasing.
Maintain condition records of condition type VA00 or VA01 in the purchasing info record.
© SAP AG 1999
You can maintain condition records in the purchasing info record for a configurable material.
The procedure is similar to the pricing process in Sales and Distribution.
The characteristic values assigned come from the sales order or the material master record (material variant). You cannot configure a material in a purchase order or purchase requisition.
To maintain condition records in a purchasing info record, choose:
Extras → Variant conditions, where the variant key equals the price
You use dependencies to transfer the condition records as values to the reference characteristic that refers to the purchasing table and field MMCOM-VKOND. Also assign this reference characteristic to the variant class of the configurable material. Use the reference characteristic in dependencies (actions or procedures) to refer to the variant conditions by entering the variant key. Assign the dependencies to t he configuration profile of the purchased material.
(C) SAP AG
LO990
10-10
0.11
Example of Pricing in Purchasing Sales Order … Packaging … …
KMAT
PACKAGE
PACKAGE is config’ble. Class has characteristic PACKAGING Values: 1- Cardboard 2 - Plastic
Purchase Requisition for
or Cardboard box
Plastic box
© SAP AG 1999
You cannot configure a material in the purchase order itself. You can only c onfigure a material when you create a sales order. If you need to procure your material externally, the characteristic values assigned to the material are copied to the purchase order. You cannot change the configuration of the material in the purchase order.
If the characteristic values in the sales order are changed, the values in the purchase order are changed accordingly. However, these changes are not marked.
Process Flow
Create a sales order containing a configurable material that is procured externally. The material need not have a BOM. However, the material must have a configuration profile with an allocation to a class. The characteristics of the class are used to describe the material. Your externally procured material may be part of a BOM. Depending on the BOM explosion settings in the configuration profile, the material may be configured either independently or according to the characteristic values assigned to the BOM header material. A purchase requisition can be generated either in the sales order itself or as a result of a material requirements planning (MRP) run. The purchase requisition contains the characteristic values that were assigned to the material in the sales order. The purchase requisition is converted to a purchase order. The purchase order contains the characteristic values that were assigned to the material in the sales order. When you print the purchase order the characteristic values are printed with it.
(C) SAP AG
LO990
10-11
0.12
Variant Configuration in Pricing: Unit Summary
Pricing of configurable materials for both SD and Purchasing can be accomplished in variant configuration. You can use surcharges and discounts that depend on the characteristic values assigned to control pricing in sales or purchasing. To do this, you create condition records. You assign these condition records to characteristic values, or use a characteristic that refers to the table-field for variant conditions to assign the values (prices). Variant tables may also be used for pricing.
© SAP AG 1999
(C) SAP AG
LO990
10-12
Exercises Unit: Variant Configuration in Pricing Topic: Modeling Value-Dependent Pricing At the conclusion of this exercise, you will be able to: Maintain variant pricing conditions that adjust the price according to the value assigned to the characteristic.
In our modeling task, you want to use variant configuration for pricing. You define and use a basic price and value-dependent surcharges. You will apply this concept to the configurable item in a sales order as well as generate a purchase order for purchasing a configurable material. 1-1 You want the price of the PC to depend on the type of casing selected. The basic price of the PC with Desktop is 700 (Uni, US dollars, German marks, etc.). You want the price to increase by the following amounts if the other casing types are selected: 80
for the Minitower
120
for the Tower
Maintain a base price of 700, or any value, for your PC. From the variant configuration menu choose: Environment
Pricing
Create Condition
Enter the following:
(C) SAP AG
Field Name or Data Type
Values
Condition Type
PR00 and press enter
Key Combination
Material…
Sales Organization
1000
Distribution Channel
10
LO990
10-13
1-2 Check the effect of the base price by creating a sales order. Enter the following data: Field Name or Data Type
Values
Order Type
OR
Sales Organization
1000
Distribution Channel
10
Division
00
Sold To
1000
Ship To
1000
PO Number
Your Choice
Material
T-VPC##
Quantity
1
Note the net price of the sales order once you have configured your product. Assign different casing values and observe what happens to the net price value. Exit sales order entry without saving your sales order. 1-3 You should have observed that no change occurred since there are no variant conditions defined. You are now to define those conditions. Create the following variant conditions: Field Name or Data Type
Values
Condition Type
VA00
Sales Organization
1000
Distribution Channel
10
Material
T-VPC##
Variant Name/Price
MT
/
80
Variant Name/Price
TW /
120
Save your condition records. 1-4 Link the characteristic values of the casing to the corresponding condition records. This is accomplished via configuration simulation on the value assignment screen. Select the desired characteristic value; select the pricing icon; enter the condition name; save the linkage. 1-5 Check the effect of your generated pricing procedure by creating a sales order. Follow the sales order creation activity identified in the earlier exercise. Note the net price.
1-5-1 Assign different casing characteristic values in the sales order and observe how the net price value changes. (C) SAP AG
LO990
10-14
Note that the variant pricing method should apply to all materials that have a choice via characteristic value assignment during a configuration. You may want to experiment with pricing other materials as defined in your PC at your convenience. 1-6 (Optional) You now want to set up a variant pricing method for the purchasing of a variant configurable material. To accomplish this, you must first define the required master data and then write the necessary object dependencies to perform the pricing.
1-6-1 Create a new semi-finished configurable material T-VBX## by copying from material T-VBX00. Use the following data when necessary:
Field Name or Data Type
Values
Material Number
T-VBX##
Material Type
Semi-finished
Industry Sector
M
Plant
1200
Sales Organization
1000
Distribution Channel
10
Division
00
Select the following views for the copy: Basic Data 1, 2; Sales Org. Data 1, 2; Sales General/Plant; Purchasing; MRP 1, 2, 3, 4; Accounting 1.
1-6-2 Define a base price (PR00) of 100 for your material T-VBX##.
1-6-3 Create a reference characteristic MMVK_##. Additional Data Field Name or Data Type
Values
Table Name
MMCOM
Field Name
VKOND
1-6-4 Create a variant configurable class (300), name your class as desired. The new class must contain the reference characteristic defined above and a new characteristic T_990_800_## to describe a type of packaging material that you are to purchase.
Use the following suggested data for the characteristic: (C) SAP AG
LO990
10-15
Field Name or Data Type
Values
Characteristic Name
T_990_800_##
Characteristic Description
Packaging Type
Characteristic Group
T-##
Status
Released
Format / Length
CHAR / 2
Headings
Your Choice
Use the following suggested data for the characteristic values: Field Name or Data Type
Values
01 - Cardboard 02 - Wood 03 - Metal 04 - Plastic
1-6-5 Define the variant condition keys for the configurable purchased material. To accomplish this use the following path: Logistics Materials Management Record Create
Purchasing
Master Data
Info
Enter the following values: Field Name or Data Type
Values
Vendor Number
1000
Purchasing Organization
1000
Plant
1200
Then follow menu: Extras
Variant Conditions
Enter the following condition names and values using VA00: Field Name or Data Type
Values
B##01
-33
B##02
11
B##03
50
B##04
-10
When needed, enter a net price of 100, save the condition records. Record the number of the purchasing information record created. ____________________________________________________
1-6-6 Write a pricing procedure and allocate it to the configuration profile for TVBX##.
(C) SAP AG
LO990
10-16
You must create a configuration profile for T-VBX##. Use the profile for your PC as a guide line but do not copy it.
Create the pricing procedure using the following data:
Field Name or Data Type
Values
Dependency Name
MM_PRICE_##
Dependency Type
Procedure
Dependency Group
T-##
Once you are in the syntax editor, write the pricing procedure syntax, check the syntax, and save it. Make sure it is released and then allocate the procedure to your configuration profile for T-VBX##. Syntax: $self.MMVK_## = ‘B##01’ if $self.T_990_800_## = ‘01’, $self.MMVK_## = ‘B##02’ if $self.T_990_800_## = ‘02’, etc.
1-6-7 To test the variant purchasing conditions; create a sales order for the package item T-VBX##.
Enter the following data: Field Name or Data Type
Values
Order Type
OR
Sales Organization
1000
Distribution Channel
10
Sold To
1000
Ship To
1000
PO Number
Your Choice
Material
T-VBX##
Quantity
1
Select one of the package type values on the value assignment screen. Save the sales order created; and record the number _______.
1-6-8 Review the stock requirements list for T-VBX##. There should be a requirement for the packaging material. Run a standard single-item, singlelevel MRP for T-VBX## and upon its completion review the stock requirements list again. There should now be a planned order created to satisfy the sales order demand. (C) SAP AG
LO990
10-17
1-6-9 Convert the planned order for the package into a purchase requisition. Save the purchase requisition. Convert the purchase requisition into a purchase order. During this conversion process you should see the net price adjusted by the price of the selected packaging material chosen during the sales order creation process. You may also want to check the item conditions to see the appropriate entries in the pricing condition table.
(C) SAP AG
LO990
10-18
Solutions Unit: Variant Configuration in Pricing Topic: Modeling Value-Dependent Pricing
1-1 You want the price of the PC to depend on the type of casing selected. The basic price of the PC with Desktop is 700 (Uni, US dollars, German marks, etc.). You want the price to increase by the following amounts if the other casing types are selected: 80
for the Minitower
120
for the Tower
Maintain a base price of 700, or any value, for your PC. Logistics Central Functions Create Conditions
Variant Configuration
Environment Pricing
Enter the following: Field Name or Data Type
Values
Condition Type
PR00 and press enter
Key Combination
Material…
Sales Organization
1000
Distribution Channel
10
1-2 Check the effect of the base price by creating a sales order. Logistics
Sales and Distribution
Sales
Order
Create
Enter the following data: Field Name or Data Type
Values
Order Type
OR
Sales Organization
1000
Distribution Channel
10
Division
00
Sold To
1000
Ship To
1000
PO Number
Your Choice
Material
T-VPC##
Quantity
1
Press Enter. The value assignment screen is activated for entry (C) SAP AG
LO990
10-19
Note the net price of the sales order once you have configured your product. Assign different casing values and observe what happens to the net price value.
Exit sales order entry without saving your sales order. 1-3 You should have observed that no change occurred since there are no variant conditions defined. You are now to define those conditions. Logistics Central Functions Pricing Create Conditions
Variant Configuration
Environment
Create the following variant conditions: Field Name or Data Type
Values
Condition Type
VA00
Sales Organization
1000
Distribution Channel
10
Material
T-VPC##
Variant Name/Price
MT
/
80
Variant Name/Price
TW /
120
Save your condition records. 1-4 Link the characteristic values of the casing to the corresponding condition records. This is accomplished via configuration simulation on the value assignment screen. Select the desired characteristic value; select the pricing icon; enter the condition name; save the linkage. Configuration Simulation: Value Assignment F4 on the Characteristic: T_990_010_## (Casing) Select the value
Press button Condition, enter variant condition
Save
1-5 Check the effect of your generated pricing procedure by creating a sales order. Follow the sales order creation activity identified in the earlier exercise. Note the net price. Logistics
Sales and Distribution
Sales
Order
Create
1-5-1 Assign different casing characteristic values in the sales order and observe how the net price value changes.
Note that the variant pricing method should apply to all materials that have a choice via characteristic value assignment during a configuration. You may want to experiment with pricing other materials as defined in your (C) SAP AG
LO990
10-20
PC at your convenience. 1-6 (Optional) You now want to set up a variant pricing method for the purchasing of a variant configurable material. To accomplish this, you must first define the required master data and then write the necessary object dependencies to perform the pricing.
1-6-1 Create a new semi-finished configurable material T-VBX## by copying from material T-VBX00. Use the following data when necessary: Logistics Production Master Data Create Special or General …
Field Name or Data Type
Values
Material Number
T-VBX##
Material Type
Semi-finished
Industry Sector
M
Plant
1200
Sales Organization
1000
Distribution Channel
10
Division
00
Material Master
Material
Select the following views for the copy: Basic Data 1, 2; Sales Org. Data 1, 2; Sales General/Plant; Purchasing; MRP 1, 2, 3, 4; Accounting 1.
1-6-2 Define a base price (PR00) of 100 for your material T-VBX##. Logistics Central Functions Pricing Create Conditions
Variant Configuration
Environment
1-6-3 Create a reference characteristic MMVK_##. Logistics Central Functions Characteristic Create
Classification Master Data
Additional Data Field Name or Data Type
Values
Table Name
MMCOM
Field Name
VKOND
1-6-4 Create a variant configurable class (300), name your class as desired. The new class must contain the reference characteristic defined above and a new characteristic T_990_800_## to describe a type of packaging material that you are to purchase. (C) SAP AG
LO990
10-21
Logistics Create
Central Functions
Classification Master Data
Class
Enter the class type and class name and relevant data Save Logistics Central Functions Characteristic Create
Classification Master Data
Use the following suggested data for the characteristic: Field Name or Data Type
Values
Characteristic Name
T_990_800_##
Characteristic Description
Packaging Type
Characteristic Group
T-##
Status
Released
Format / Length
CHAR / 2
Headings
Your Choice
Use the following suggested data for the characteristic values: Field Name or Data Type
Values
01 - Cardboard 02 - Wood 03 - Metal 04 - Plastic
Save the characteristic.
To add the two characteristics to the class Logistics Change
Central Functions
Classification Master Data
Class
Enter the class data and select the pushbutton Characteristic
1-6-5 Define the variant condition keys for the configurable purchased material. To accomplish this use the following path: Logistics Materials Management Record Create
Purchasing
Master Data
Info
Enter the following values:
(C) SAP AG
Field Name or Data Type
Values
Vendor Number
1000
Purchasing Organization
1000 LO990
10-22
Plant
1200
Then follow menu: Extras
Variant Conditions
Enter the following condition names and values using VA00: Field Name or Data Type
Values
B##01
-33
B##02
11
B##03
50
B##04
-10
After entering the above, save. Then when needed, enter a net price of 100, save the condition records. Record the number of the purchasing information record created. _______________
1-6-6 Write a pricing procedure and allocate it to the configuration profile for TVBX##.
You must create a configuration profile for T-VBX##. Use the profile for your PC as a guideline but do not copy it.
Create the pricing procedure using the following data: Logistics Central Functions Single Dependency Create
Variant Configuration
Field Name or Data Type
Values
Dependency Name
MM_PRICE_##
Dependency Type
Procedure
Dependency Group
T-##
Dependency
Once you are in the syntax editor, write the pricing procedure syntax, check the syntax, and save it. Make sure it is released and then allocate the procedure to your configuration profile for T-VBX##. Syntax: $self.MMVK_## = ‘B##01’ if $self.T_990_800_## = ‘01’, $self.MMVK_## = ‘B##02’ if $self.T_990_800_## = ‘02’, etc. 1-6-7 To test the variant purchasing conditions; create a sales order for the package item T-VBX##. Logistics
Sales and Distribution
Sales
Order
Create
Enter the following data: (C) SAP AG
LO990
10-23
Field Name or Data Type
Values
Order Type
OR
Sales Organization
1000
Distribution Channel
10
Sold To
1000
Ship To
1000
PO Number
Your Choice
Material
T-VBX##
Quantity
1
Select one of the package type values on the value assignment screen. Save the sales order created and record the number _______.
1-6-8 Review the stock requirements list for T-VBX##. There should be a requirement for the packaging material. Run a standard single-item, singlelevel MRP for T-VBX## and upon its completion review the stock requirements list again. There should now be a planned order created to satisfy the sales order demand. Logistics List
Production
MRP
Evaluations
Logistics
Production
MRP Planning
Stock/Requirements Single-Item, Single-Level
1-6-9 From the stock/requirements list display convert the planned order for the package into a purchase requisition. Save the purchase requisition. Convert the purchase requisition into a purchase order. During this conversion process you should see the net price adjusted by the price of the selected packaging material chosen during the sales order creation process. You may also want to check the item conditions to see the appropriate entries in the pricing condition table.
All of these activities can be performed from the display of the stock/requirements list. Double click on the planned order and in the resulting window select the pushbutton to convert to a purchase requisition. Refresh the display to see the requisition number. Double click on the requisition to convert it into a purchase order.
(C) SAP AG
LO990
10-24