<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Object dependencies in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-dependencies/m-p/5250355#M1213010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hooper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 Thanks for your reply,  but i have used precondition is already at characteristic level  but it's not working.  One more doubt you mentioned $self.model_family  but it should be $self.ztest_family,  please correct me if i am wrong,  In ct04 for characteristic ztest_model already i have tried this option, but its not working. How can i debug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a  lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2009 03:57:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-12T03:57:44Z</dc:date>
    <item>
      <title>Object dependencies</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-dependencies/m-p/5250353#M1213008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding object dependencies i am facing one problem. My requirement is i have created one class of&lt;/P&gt;&lt;P&gt;type 300(variant) and inside of that class defined two characteristics one is car family and another one&lt;/P&gt;&lt;P&gt;car model. And under car family characteristic i have defined the values 'A' and 'B' and under car model&lt;/P&gt;&lt;P&gt;characteristic i have defined the values '1', '2', '3', '4' ('1' and '2' are models related to family A and '3' is the model related to family B).  My requirement is while creating material i will choose the class which i created and in the classification view then two characteristics will appear one is family and another one is model. And first i will press the F4 button on family characteristic and it is showing the values 'A' and 'B'. And when i click F4 on model characteristic it is showing all the entries which i defined like '1', '2', '3', '4'. But i want to restrict the entries as per model here only '1' and '2' are related to family 'A' so while choosing F4 i want to allow only two models.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this i have created dependency net and attached to configure material '100' and i am using the same&lt;/P&gt;&lt;P&gt;material for testing. The below code i have written in the dependency editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OBJECTS : ZTEST IS_A (300) ZTEST where A = ZTEST_FAMILY; B = ZTEST_MODEL&lt;/P&gt;&lt;P&gt;RESTRICTIONS:&lt;/P&gt;&lt;P&gt;B IN ( '1', '2' ) IF A = 'A',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B = '3' IF A = 'B'&lt;/P&gt;&lt;P&gt;INFERENCES:&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In above ZTEST is the class i have defined, ZTEST_FAMILY and ZTEST_MODEL are the characteristics &lt;/P&gt;&lt;P&gt;for family and model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know where is the problem? Any thanks will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 14:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-dependencies/m-p/5250353#M1213008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T14:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Object dependencies</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-dependencies/m-p/5250354#M1213009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forget the Constraint, just use a Precondition on the Model-values 1 and 2&lt;/P&gt;&lt;P&gt;$Self.Model_Family = 'A'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same thing for values 3 and 4 ... Model_Family = 'B'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A lot simpler and easier to trace for debuggin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 17:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-dependencies/m-p/5250354#M1213009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T17:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Object dependencies</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-dependencies/m-p/5250355#M1213010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hooper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 Thanks for your reply,  but i have used precondition is already at characteristic level  but it's not working.  One more doubt you mentioned $self.model_family  but it should be $self.ztest_family,  please correct me if i am wrong,  In ct04 for characteristic ztest_model already i have tried this option, but its not working. How can i debug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a  lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 03:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-dependencies/m-p/5250355#M1213010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T03:57:44Z</dc:date>
    </item>
  </channel>
</rss>

