I had opportunity and privilege to work for an automotive organization which used to manufacture ‘‘Tyres”. Any industry which has variants in their business from Sales, Purchasing and in production heavily depend on characteristics and variants of materials and inevitably ”Variant Configuration” has to be implemented.
Though client was not using VC, during our system audit, we observed how tedious has become the business when 100 of variants of production were taking place and all where on different material codes.This blog is written to explain how during purchasing,a variant conditions can be deployed so as to calculate surcharges or discount values based on characteristics of product.
Variant configuration from my perspective is not an industry specific solutions for customer and its usage can be anywhere example while placing an order for a ”Pizza”:)
You place an order of Pizza and based on Pizza types, and vendor put some surcharges( Additional charges) based on your choice.
Testing system: S4H 1709
Also Read: SAP MM Certification Preparation Guide
Example. Product Pizza and it has 6 different characteristics(Pizza types), surcharge calculation.
SAP VC heavily rely on class, characteristics and object dependencies to infer the values. In this case, I will use ”Procedure” because I need successive calculation of surcharges which will be derived by characteristics value. Only dependency type ”Procedure” provides derivation of characteristics with option of overwriting and successive calculation.
Dependency type ”Procedure” is primarily used in BOM Items, Task list object and Configuration Profile. Latter this blog, it will be explained, how in our case, configuration profile will be used.
Create different Pizza types using a characteristics.
Create another Characteristics using reference characteristics using table MMCOM, field VKOND.
–> Reference characteristics are characteristics that refer to table fields.
In our case, surcharges on pizza during Purchasing will be calculated based on Piza Types( Characteristics of pizas and its values) from reference table MMCOM VKOND.
Create a characteristics and assign the reference characteristics in it.
Create a material and ensure to make to configurable product in material master and assign a class having both the characteristics being created above.
Create a configuration profile CU41 and assign the class and write a dependency code using dependency type procedure.
Use $self-> for writing the dependency code and check the syntax is correct or not.
Create a vendor info record for this Material as below. Condition type VA00 is used for variant functions( Qty/ value based)
and mention the surcharge rate based on pizza types.
why VA00 condition type is used in creating Vendor info record for surcharge is explicable from configuration.
Now, create a Purchase order and see how our variant function in purchasing works.
Select the pizza of your choise, system will automatically bring its values.
and if you check the condition record, price is fetched based on characteristics of Pizza.
if we change the alternative to another variant of Pizza 04(Meat), system automatically adjusts the new one
The new surcharge is calculated.