Skip to Content
author's profile photo Former Member
Former Member

variant configuration -object dependancy?

how can we know that this object dependancey assign to this charactristic value of particular charactristics.

Ex. CAR is a material, and one charactristcis is engine capaceity says 800 CC, 1000CC 1200CC and 1400CC and other charactiristics is Fuel says petrol or diesal. now i create a object depency is that in 1400 CC either petrol or diesal has to selected. while others are only availabe in petrol.. so maintain source code for that. now this O.Depedancy assign to what value. so. i can get 1400cc with either petrol or diesa.

regrds

pinal

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jun 29, 2007 at 10:58 AM

    In a particular characteristic, go to the characteristic value, select the value, and then in the menu goto Extras---Object dependencies-Assignments

    Here you can see all the dependencies assigned to a particular value of characteristic.

    Unfortunately the details are updated in a structure RCUKD and hence we may not be able to extract the particular dependency assigned to characteristic values.

    Reward if this helps you.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2007 at 11:04 AM

    Hi Pinal,

    CASE 1 :----


    >>>>>>>>>>>>>>>>>>

    If your material CAR is a configurable material KMAT and has variant class type 300 attached to it.

    Then Please do the following :

    1. Execute T.Code CU42,

    2. Goto Object dependencies section

    3. specify the name of Procedure e.g. PROC1

    4. go to dependency editor

    5. write following code:

    $SELF.FUEL = 'PETROL' IF $SELF.ENGINE_CAPACITY IN ( '800 CC', '1000CC', '1200CC' ).

    6. Compile and save.

    7. set status to 1.

    8. come back and save.

    9. Now configure material in CU50 to check the effect.

    If you want to to it by Constraint, let me know. I will tell you the details.

    CASE 2 -


    >>>

    IF YOU ARE ASKING THIS FOR CLASSIFICATION SYSTEM,

    revert back , then I will suggest another way to achieve this.

    ***************IMPORTANT***************

    FYI----


    >

    writting dependencies directly on char level, char value level is not the preferred way of managing good variant configuration projects

    Plz reward if found useful.

    Regards,

    Gaurav raghav.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Pinal,

      OK. If you want it this way, then you please use Object dependency type: Precondition as described below :

      Precondition is used when you want to keep a characteristic value hidden and make it appear only when certain condition becomes true.

      For your case, we consider that we will make the value 'DEISEL' appear only when engine capacity selected is '1400 CC' . Right ?

      Now proceed as follows:

      1 .goto char. FUEL

      2. now select value DEISEL

      3. press Object dependency button ( I hope you know this )

      4. Select dependency type as Precondition

      5. Write following code in editor :

      $SELF.ENGINE_CAPACITY = '1400 CC'.

      6. complie and save.

      7. Simulate material CAR.

      8. If successful , then Reward Points as Problem Solved

      9. If not or any other issue in this, Please come back again. 😊

      Regards,

      Gaurav Raghav.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.