HomeUncategorized

Download constraint program and Download Dependency net program in SAP VC.

Download constraint program and Download Dependency net program in SAP VC.
Like Tweet Pin it Share Share Email

SAP VC CONSTRAINTS:

SAP VC is used for the manufacturing scenario which is having very complex products. For example, A customer needs a car different option like Colour, Tyres, Audio systems and Gear System. Another can look for entirely different options. So ‘n’ number of Customers will come with ‘n’ of number of options. This can be achieved in SAP using variant configuration.

But in some cases the scenario will go even more complexion. If customer choosing one option in a component and other will required cetain component or may not require other options in another component. So the scenario is more complex and when we try to implement same in SAP this will be treated  as Highly complex.

To achieve those complexity SAP offers VC structures and Object Dependencies. There are preconditions, selection condition and procedures in object dependencies for achieving those less complex products.

There is another one object dependencies to achieve the highly complex products which is offered by SAP is Constraint programs. The constraints can be used for Completely different objects. For example, OS and motherboard in different network system will be used in this programs to achieve required choices.

Here I am trying to implement the same concept – Network of the company which is provided in the LO-VC document. When I am searching for all over the internet for the same implementation  it is not available now I tried to attempt to provide the details  and screenshot of implemented concept of Network system of company and its relationship with usage of SAP object dependencies constaints. The given OD-Constraint have some defects and I corrected and made changes wherever it is required. So here are the concept.

The c_net can be created through CL01 and its character Lan and Cable Type can be created through CT04.

2

1

The classes Company_net and Dept_net are assigned to Superior class C_net. Please refer the above screenshot.

16

This can be achieved by the t code CL24n.

The dependency net will be assigned to the configuration profile of the configurable material.  Here C-1040 is the configurable material and constraint nets C_NET and C_SERVER are assigned to the material configuration.

3

The Class c_server and c_op_system and its characters are created. The below is taken by the t code PMEVC.

5

This below screenshot  is the result of one of the constraint which created in the model using CU50. It shows the yellow color error and red color mark in the configuration page.

7

This is another constraint, FDDI method, results below error – Cable Lan Violated -when it is not compatible. Here variant table concept is used for various combinations.

8

The below is the screenshot which is satisfying the all the allowed combination.

9

Constraint net or dependency net can be created using CU21 and constraint can be created in same CU21. There is no  separate t code for creating Constraints.

10

C_net is the constraint net and in this constraint Os1_server created.

15

The graphical screenshot of Superior and subordinate classes which is taken from SAP.

So the followings are the object dependencies constraint programs for your refer. You can copy and paste it for your usage.

 

11

 

12

 

13

14

 

The prerequisites are

Class:

Company Network

Dept Network

Server

Worstation

18

 

 

19

 

C_NET
Characteristic Value
C_LAN_TYPE Ethernet Thinwire
Ethernet Thickwire
Token Ring
Token Bus
FDDI
Characteristic Value
C_CABLE_TYPE Twisted pair
Shielded twisted pair
Coax cable
Glass fiber
C_SERVER and C_WORKSTATION
Characteristic Value
C_OP_SYSTEM OS1
OS2
OS3
Characteristic Value
C_MOTHERBOARD 486 SX
486 DX
Pentium
68020
68030
68040
Sparc

=================================================================================

Constraint

FDDI_MOTHERBOARDS              Cstr. net:  C_NET

Status      Released           Status      Released

 

*If the LAN type is FDDI, the motherboard of the server must contain

*either a Pentium, Motorola,68040, or Sparc 5 processor.

OBJECTS:

network is_a (300) c_net

WHERE Lan = C_LAN_TYPE,

Server is_a (300) c_server

WHERE Motherboard = c_motherboard

CONDITION:

Part_of (server, network) and Lan = ‘FDDI’

RESTRICTIONS:

Motherboard in (‘Pentium’, ‘68040’, ‘Sparc’)

==================================================================================

Constraint

OS1_SERVER                     Cstr. net:  C_NET

Status      Released           Status      Released

 

 

*The server of the department network must run on OS1 if the server

*of the company network runs on OS1.

OBJECTS:

Server1 is_a (300) c_server

WHERE server1_os = c_op_system,

Server2 is_a (300) c_server

WHERE server2_os = c_op_system,

company is_a (300) COMPANY_NET,

department is_a (300) DEPT_NET.

CONDITION:

part_of (server1, company) and

part_of (department, company) and

part_of (server2, department) and

server1_os = ‘OS1’.

RESTRICTIONS:

Server2_os = server1_os.

==================================================================================

 

Constraint

OS1_WORKSTATION                Cstr. net:  C_NET

Status      Released           Status      Released

 

*The operating system for workstations must be OS1

*if the operating system of the server is OS1:

OBJECTS:

Server is_a (300) c_server

WHERE server_os = c_op_system,

Workstation is_a (300) c_workstation

WHERE workstation_os = c_op_system,

Net is_a (300) c_net

CONDITION:

part_of (server, net) and part_of (workstation, net) and

server_os = ‘OS1’

RESTRICTIONS:

Workstation_os = server_os

INFERENCES:

Workstation_os

===============================================================================

Constraint

CABLE_LAN                      Cstr. net:  C_SERVER

Status      Released           Status      Released

 

 

OBJECTS:

network is_a (300) c_net

RESTRICTIONS:

table cable_lan

(c_lan_type = network.c_lan_type,

c_cable_type = network.c_cable_type).

==============================================================================

Constraint

NO_OS2_AS_SERVER               Cstr. net:  C_SERVER

Status      Released           Status      Released

 

*a server cannot run with operating system OS2

OBJECTS:

Server is_a (300)C_SERVER

CONDITION:

server.C_OP_SYSTEM = ‘OS2’

RESTRICTIONS:

False

==================================================================================

mahendranp_siva@yahoo.co.in

+919894230078

 

 

 

 

 

 

Comments (0)

Speak Your Mind