<?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: Finding Duplicate Material in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-duplicate-material/m-p/10190254#M1823934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean by a few materials with the same BOM. A material can have multiple BOMs and can appear in multiple BOMs of other materials but different materials in the same plant pointing to the same internal BOM number I don't think this should happen. As far as I understand PP and I don't claim to be an expert If this did happen it would represent a serious internal inconsistency and so there isn't a standard transaction to find them. The transaction CS14 is just to compare two BOMs side by side and so won't meet your requirements. The table MAST connects material and their BOMS (i.e. the ones that build them not the ones they are components of) so you might be able to extract the information you are looking for from there but I don't think I can be of more help without understanding your requirement better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this question might do better in the SAP ERP Manufacturing - Production Planning (SAP PP) space rather than the ABAP space. Maybe a moderator could move it or you might want to try re-posting it there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2014 23:37:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-03-27T23:37:53Z</dc:date>
    <item>
      <title>Finding Duplicate Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-duplicate-material/m-p/10190253#M1823933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have found a few different materials with the same BOM.&lt;BR /&gt;As we find them, we make one of them obsolete. We probably have quite a few that we don't know about.&lt;/P&gt;&lt;P&gt;Is there a standard SAP report that would give me a list of all materials that contains the same BOM?&lt;/P&gt;&lt;P&gt;CS14 will not work (unless I don't know how to use it)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 21:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-duplicate-material/m-p/10190253#M1823933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-27T21:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-duplicate-material/m-p/10190254#M1823934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean by a few materials with the same BOM. A material can have multiple BOMs and can appear in multiple BOMs of other materials but different materials in the same plant pointing to the same internal BOM number I don't think this should happen. As far as I understand PP and I don't claim to be an expert If this did happen it would represent a serious internal inconsistency and so there isn't a standard transaction to find them. The transaction CS14 is just to compare two BOMs side by side and so won't meet your requirements. The table MAST connects material and their BOMS (i.e. the ones that build them not the ones they are components of) so you might be able to extract the information you are looking for from there but I don't think I can be of more help without understanding your requirement better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this question might do better in the SAP ERP Manufacturing - Production Planning (SAP PP) space rather than the ABAP space. Maybe a moderator could move it or you might want to try re-posting it there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 23:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-duplicate-material/m-p/10190254#M1823934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-27T23:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-duplicate-material/m-p/10190255#M1823935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jamie, Thank you for the reply,&lt;/P&gt;&lt;P&gt;My appologies. This is the first time here and I'm not sure yet how to navegate on this forum or where to place questions.&lt;/P&gt;&lt;P&gt;I don't know if this information helps. We have upgraded to a new SAP version and we tranfered (I'm not sure how this was done) all the data from the old SAP.&lt;/P&gt;&lt;P&gt;Here is the scenario:&lt;/P&gt;&lt;P&gt;I have material 1234567 with a BOM xyz&lt;/P&gt;&lt;P&gt;I also have material 1237654 with the same exact BOM&lt;/P&gt;&lt;P&gt;This meens I have a duplicate material in the system. 1234567 = 1237654&lt;/P&gt;&lt;P&gt;The materials we found to be duplicate were WIP and we were keeping unecessary stock of both. We combined stock and obsoleted one of them, minimizing stock management (and cost).&lt;/P&gt;&lt;P&gt;We would like to find out if we have more so we can do the same. With the volume we have, doing this manually would be very dificult and time consuming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 14:43:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-duplicate-material/m-p/10190255#M1823935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-28T14:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-duplicate-material/m-p/10190256#M1823936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now that I found my way around (at least a little), I'll repost this in ERP.&lt;/P&gt;&lt;P&gt;Thank you very much Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 15:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-duplicate-material/m-p/10190256#M1823936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-28T15:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-duplicate-material/m-p/10190257#M1823937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hopefully you get the answer you are looking for there. If all else fails it should be a very straight forward task to develop a simple report that display BOMs used by multiple materials, provided you have somewhere there with a developer key of course. Describing a&amp;nbsp; BOM as uniquely identified by BOM Usage (stlan),&amp;nbsp; Bill &lt;SPAN class="L0S52"&gt;of material number &lt;/SPAN&gt;(stlnr) and the Alternative BOM&amp;nbsp; number (stlal) the following code should extract all BOMS in a give plant that are for multiple materials:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;REPORT&amp;nbsp; zbomreport&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;TYPES&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;BEGIN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;tys_boms&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stlan &lt;SPAN class="L0S52"&gt;TYPE&amp;nbsp; &lt;/SPAN&gt;stlan&lt;SPAN class="L0S55"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;"CHAR 1 0 BOM Usage&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stlnr&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;stnum&lt;SPAN class="L0S55"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;"CHAR&amp;nbsp; 8&amp;nbsp; 0&amp;nbsp; Bill of material&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stlal &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;stalt&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" CHAR&amp;nbsp; 2 0 Alternative BOM&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;END &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;tys_boms&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;gt_boms &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;tys_boms&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;FIELD-SYMBOLS&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&amp;lt;gs_bom&amp;gt; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;tys_boms&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;PARAMETERS &lt;/SPAN&gt;pa_werks &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;werks_d&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;START-OF-SELECTION&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;SELECT &lt;/SPAN&gt;stlan stlnr stlal &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;gt_boms&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;mast&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHERE &lt;/SPAN&gt;werks &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;pa_werks&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;GROUP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;BY &lt;/SPAN&gt;stlan stlnr stlal&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HAVING &lt;SPAN class="L0S52"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;DISTINCT &lt;/SPAN&gt;matnr &lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;GT &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;loop &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;gt_boms &lt;SPAN class="L0S52"&gt;ASSIGNING &lt;/SPAN&gt;&amp;lt;gs_bom&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WRITE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;:&lt;/SPAN&gt;/ &amp;lt;gs_bom&amp;gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;stlan&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;&amp;lt;gs_bom&amp;gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;stlnr&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;&amp;lt;gs_bom&amp;gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;stlal&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;By that way I think I was a bit hasty to say that this situation necessarily represented a data inconsistency thinking it over again I think that materials should be able to share BOMs but like I say I'm not a PP expert but I think the above code should identify your duplicates as described.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Points are appreciated if you feel an answer has been helpful.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 17:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-duplicate-material/m-p/10190257#M1823937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-28T17:21:07Z</dc:date>
    </item>
  </channel>
</rss>

