<?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 Logic required in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/6095439#M1359409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking out for a logic for the following scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table contains the following data as like &lt;/P&gt;&lt;P&gt; 	 	Sample1	Sample2	Sample3	Sample4	Sample5&lt;/P&gt;&lt;P&gt;MATNR	 	1001	1002	1003	1004	1005&lt;/P&gt;&lt;P&gt;Material Type	MPMF	MPMP	MPMP	MPMI	MPMI&lt;/P&gt;&lt;P&gt; 	 	 	 	 	 	 &lt;/P&gt;&lt;P&gt;ISM-FAM	 	NA	1001	1001	1001	1001&lt;/P&gt;&lt;P&gt;ISM-PROD	 	NA	NA	NA	1002	1003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see here 1001 is the grand parent and 1002 and 1003 are the sons to it.&lt;/P&gt;&lt;P&gt;and 1004 and 1005 are the sons to 1002 and 1003 respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want his report to be generated in a heirarchical way.i want the output ot be look like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output.&lt;/P&gt;&lt;P&gt;family            product       material&lt;/P&gt;&lt;P&gt;   1001          1002            1004 &lt;/P&gt;&lt;P&gt;   1001          1003            1005&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me in solving this .&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Sep 2009 14:39:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-07T14:39:48Z</dc:date>
    <item>
      <title>Logic required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/6095439#M1359409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking out for a logic for the following scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table contains the following data as like &lt;/P&gt;&lt;P&gt; 	 	Sample1	Sample2	Sample3	Sample4	Sample5&lt;/P&gt;&lt;P&gt;MATNR	 	1001	1002	1003	1004	1005&lt;/P&gt;&lt;P&gt;Material Type	MPMF	MPMP	MPMP	MPMI	MPMI&lt;/P&gt;&lt;P&gt; 	 	 	 	 	 	 &lt;/P&gt;&lt;P&gt;ISM-FAM	 	NA	1001	1001	1001	1001&lt;/P&gt;&lt;P&gt;ISM-PROD	 	NA	NA	NA	1002	1003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see here 1001 is the grand parent and 1002 and 1003 are the sons to it.&lt;/P&gt;&lt;P&gt;and 1004 and 1005 are the sons to 1002 and 1003 respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want his report to be generated in a heirarchical way.i want the output ot be look like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output.&lt;/P&gt;&lt;P&gt;family            product       material&lt;/P&gt;&lt;P&gt;   1001          1002            1004 &lt;/P&gt;&lt;P&gt;   1001          1003            1005&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me in solving this .&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2009 14:39:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/6095439#M1359409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-07T14:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Logic required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/6095440#M1359410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's a definition problem here. The data types seem to indicate relationships, but they don't indicate whothe parent is. So, it's easy to tell when there's only one parent, but it get's difficult when there is more than one possible parent. It could be said that position tells that, but it doesn't, because 1001 has two childs it becomes unclear how many childs can one parent have. So there's no way of telling if 1004 and 1005 are both 1002  childs or both 1003 childs or one of each. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need to either refine the rules that define parenting or have more data that tells exactly wich one is the parent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2009 15:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/6095440#M1359410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-07T15:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Logic required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/6095441#M1359411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rather than simply asking the forum to write your report, please try coding yourself. If you have specific questions or problems, then get back to the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thread locked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2009 19:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/6095441#M1359411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-07T19:14:51Z</dc:date>
    </item>
  </channel>
</rss>

