SAP BLOG Variant Conditions in Purchasing using reference characteristics

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
1,925
Tepki puanı
7
Puanları
6
In past, 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

Example. Product Pizza and it has 6 different characteristics(Pizza types), surcharge calculation.



PICZ1.png


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.



PICV1.png




Create another Characteristics using reference characteristics using table MMCOM, field VKOND.

–>Reference characteristics are characteristics that refer to table fields.

PICV2.png




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.

picv3.png


Create a characteristics and assign the reference characteristics in it.



picv4.png




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.

picv45.png




Use $self-> for writing the dependency code and check the syntax is correct or not.

PICZ1-1.png


Create a vendor info record for this Material as below. Condition type VA00 is used for variant functions( Qty/ value based)

pic2-5.png




and mention the surcharge rate based on pizza types.

pic3-7.png




why VA00 condition type is used in creating Vendor info record for surcharge is explicable from configuration.

pics1.png






Now, create a Purchase order and see how our variant function in purchasing works.



picx1.png


Select the pizza of your choise, system will automatically bring its values.

picx2.png




and if you check the condition record, price is fetched based on characteristics of Pizza.

picx3.png




if we change the alternative to another variant of Pizza 04(Meat), system automatically adjusts the new one

pics1-1.png




The new surcharge is calculated.

picx3-1.png




Hence, the blog ends here. Hope you would have enjoyed reading blog. I would write more on VC like in future on Production side like Planning strategy 56, 89.

References:



Creating a Variant Condition for Pricing (SAP Library - Vehicle Management System (IS-A-VMS))



Pricing Conditions - Product Lifecycle Management - Community Wiki





Best regards

Shailesh Mishra

Okumaya devam et...
 
Üst