Quantcast
Channel: SCN : Document List - SAP ERP PLM - Classification and Variant Configuration
Viewing all articles
Browse latest Browse all 27

Introduction to Variant Configuration with an example model of Routing

$
0
0

Purpose

 

This guide is a continuation of document Introduction to Variant Configuration with an example model. With the help of this document , you will be able to setup a configuration model with the routing.


Example Model from the document.


To setup the data , please follow the directions advised in the document.

 

CharacteristicPossible Values
VC_CHR_TYPE

-          Office computer

-          Gaming computer

-          Server

-          Laptop

VC_CHR_CPU

-          A-CPU

-          I-CPU

VC_CHR_MAIN_MEMORY

-          2 GB

-          4 GB

-          8 GB

-          16 GB

VC_CHR_GRAPHIC_CARD

-          N-Graphic Card

-          A-Graphic Card

-          Onboard

VC_CHR_OTHER_EQUIPMENT

(multiple values)

-          High-End Sound Card

-          TV Tuner Card

-          Modem

 

Each characteristic needs exact one entry except VC_CHR_OTHER_EQUIPMENT.
Our computer is a "complex" material and consists of other materials. Therefore we need a bill of materials. Each component has got only one characteristic:

VC_CHR_PriceNumeric Value


The materials are finished products which are not configurable itself.

 

Bill of materials

Components
VC_MAT_A_CPU
VC_MAT_MEM_2
VC_MAT_MEM_4
VC_MAT_MEM_8
VC_MAT_MEM_16
VC_MAT_GRAPH_N
VC_MAT_GRAPH_A
VC_MAT_GRAPH_O
VC_MAT_EQU_SOUND
VC_MAT_EQU_TV
VC_MAT_EQU_MODEM

 

The characteristics of the computer are not independent among each other. Hence, we define some dependencies.

 

Preconditions

PreconditionCharacteristic / Char. - ValueCondition
VC_EX_CON1Other EquipmentVC_CHR_TYPE <> 'Server' AND VC_CHR_TYPE <> 'Laptop'
VC_EX_CON28GB + 16GB; A-CPUVC_CHR_TYPE = 'Server'
VC_EX_CON3N-Graphic Card + A-Graphic CardVC_CHR_TYPE = 'Gaming computer' OR VC_CHR_TYPE = 'Laptop'
VC_EX_CON4OnboardVC_CHR_TYPE = 'Server' OR VC_CHR_TYPE = 'Office computer'

 

Selection conditions

As it is described above the components of the computer will be chosen by means of the chosen characteristics. To implement this functionality we need selection conditions.

MaterialSelection Condition
VC_MAT_A_CPUVC_CHR_CPU = 'A-CPU'
VC_MAT_I_CPUVC_CHR_CPU = 'I-CPU'
VC_MAT_MEM_2VC_CHR_MAIN_MEMORY = 2
VC_MAT_MEM_4VC_CHR_MAIN_MEMORY = 4
VC_MAT_MEM_8VC_CHR_MAIN_MEMORY = 8
VC_MAT_MEM_16C_CHR_MAIN_MEMORY = 16
VC_MAT_GRAPH_NVC_CHR_GRAPHIC_CARD = 'N-Graphic Card'
VC_MAT_GRAPH_AVC_CHR_GRAPHIC_CARD = 'A-Graphic Card'
VC_MAT_GRAPH_OVC_CHR_GRAPHIC_CARD = 'Onboard'
VC_MAT_EQU_SOUND'High-End Sound Card' IN VC_CHR_OTHER_EQUIPMENT
VC_MAT_EQU_TV'TV Tuner Card' IN VC_CHR_OTHER_EQUIPMENT
VC_MAT_EQU_MODEM'Modem' IN VC_CHR_OTHER_EQUIPMENT

 

Routing

 

Operations
0010 - Assemble CPU A
0020 - Assemble CPU B
0030 - Assemble Mem 2
0040 - Assemble Mem 4
0050 - Assemble Mem 8
0060 - Assemble Mem 16
0070 - Assemble Graph N
0080 -  Assemble Graph A
0090 - Assemble Graph O
0100 - Assemble Equ

0110 - Assemble Modem

 

As this stage you should have materials , configuration profile for the materials, classes, characteristics and bom setup. If you miss anything please follow the first document.

 

Routings.


Once the above data is setup, we can now create a routing for the configurable material VC_KMAT_PC. Please use transaction CA01 to create the routing, Enter the configurable material and the plant you want to create the routing for.

 

CA01.PNG

On the next screen enter the required value eg usage etc.

  routing.PNG

Click on the tab operations and enter the operations you need to assemble the PC. Enter all the operations as mentioned in the model above.

     operations.PNG

If you want to configure the operations based on the selection of characteristic values , you need to create a selection condition and assign to the operation you want to select.

 

E.g. if the characteristic VC_CHR_CPU has value A-CPU the operation 0010 will be selected.

To do so, select the operation and assign a local dependency to it from the Menu Path -> Extras -> Object dependencies -> Editor, Select the selection condition

      sel con.PNG

Enter the syntax code as following and save the routing.

 

      sel con.PNG

Test of the configuration

 

You can now simulate this in CU50. Enter the material and the Plant , Select option task list on the main screen. Select characteristic value A-CPU, click the result icon and you will see operation 0010 is selected.

        
         CU50.PNG

         Cu501.PNG

If you hit the result icon now, you will see operation 0010 is selected.

         result.PNG

If you now go back and select any other value then A-CPU, Operation 0010 will not be selected.

         char.PNG

         result.PNG

You can now see that the operation 0010 is not selected. Result does now show the operation. It will only be selected if the selection condition is met ie characteristic VC_CHR_CPU has value A-CPU


Viewing all articles
Browse latest Browse all 27

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>