Skip to Content
0
Former Member
Feb 19, 2010 at 02:04 PM

Use of Constraints in Variant Configuration

616 Views

Hi ,

I am facing a problem during Usage of Constraints as Object dependency. The Scenario is We are using two reference characteristic :

CUSTOMER_ CODE ( Ref. Table VBAK & Ref. Field KUNNR)

MATNR ( Ref. Table VBAP & Ref. Field MATNR)

and another single value Charac. COLOUR_CODE which is restricatable also.

A Variant Table Z_COLOUR is maintained with CUSTOMER_CODE & MATNR as a Key Field. The Constraint XYZ( With No Syntax Error) written is as follows :

OBJECTS :

(300) ES_BILLET where CC = CUSTOMER_CODE, MAT= MATNR, CCD = COLOUR_CODE.

*CONDITION:

RESTRICTIONS:

TABLE Z_COLOUR

( CUSTOMER_CODE = CC,

MATNR = MAT,

COLOUR_CODE = CCD)

INFERENCE :

CCD

This has been assigned to the Configuration Profile a Material.

Now, a case is there where no entry is maintained for this particular material in the table mentioned.

So, during Sales Order Creation , in configuration system throws and Inconsistency Error ' Constraint XYZ Violated'.If an entry is maintained in the table, then it works.

But, my question is like using Procedure if no entry is maintained in the variant table system doesn't throw any Inconsistency error.Same should be here, as its always possb. no entry avb corresponding to a material.

Kindly advise if Iam missing something.

regards