<?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 How to Explode a Bill of Materials using a Function Module? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-explode-a-bill-of-materials-using-a-function-module/m-p/2119921#M444143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;I am trying to find a suitable FM to write the contents of a BOM into an internal table to then be displayed an a screen. There are literally hundreds of FM's but the ones I have looked at just don't seem to be what I'm after.&lt;/P&gt;&lt;P&gt;Does anyone have experience with exploding BOMs? (Sounds dangerous!)&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2007 14:31:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-16T14:31:58Z</dc:date>
    <item>
      <title>How to Explode a Bill of Materials using a Function Module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-explode-a-bill-of-materials-using-a-function-module/m-p/2119921#M444143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;I am trying to find a suitable FM to write the contents of a BOM into an internal table to then be displayed an a screen. There are literally hundreds of FM's but the ones I have looked at just don't seem to be what I'm after.&lt;/P&gt;&lt;P&gt;Does anyone have experience with exploding BOMs? (Sounds dangerous!)&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:31:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-explode-a-bill-of-materials-using-a-function-module/m-p/2119921#M444143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Explode a Bill of Materials using a Function Module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-explode-a-bill-of-materials-using-a-function-module/m-p/2119922#M444144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this FM  &amp;lt;b&amp;gt;CS_BOM_EXPL_MAT_V2&amp;lt;/b&amp;gt; to get BOM for a material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balavardhan.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-explode-a-bill-of-materials-using-a-function-module/m-p/2119922#M444144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to Explode a Bill of Materials using a Function Module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-explode-a-bill-of-materials-using-a-function-module/m-p/2119923#M444145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CSAP_MAT_BOM_READ&amp;lt;/b&amp;gt;, You can use this function module to display simple material BOMs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of tstk2 occurs 0.
          include structure stko_api02.
data: end of tstk2.
 
data: begin of tstp2 occurs 0.
          include structure stpo_api02.
data: end of tstp2.
 
 
data: begin of tdep_data occurs 0.
         include structure csdep_data.
data: end of tdep_data.
 
data: begin of tdep_descr occurs 0.
         include structure csdep_descr.
data: end of tdep_descr.
 
data: begin of tdep_source occurs 0.
         include structure csdep_source.
data: end of tdep_source.
 
data: begin of tdep_order occurs 0.
         include structure csdep_order.
data: end of tdep_order.
 
data: begin of tdep_doc occurs 0.
         include structure csdep_doc.
data: end of tdep_doc.
 
data: flg_warning like capiflag-flwarning.
 
   call function 'CSAP_MAT_BOM_READ'
        exporting
             material   = 'MAT100'
             plant      = '0001'
             bom_usage  = '1'
             valid_from = '20.12.1996'
*            valid_to
        importing
             fl_warning = flg_warning
        tables
             t_stko       = tstk2
             t_stpo       = tstp2
             t_dep_data   = tdep_data
             t_dep_descr  = tdep_descr
             t_dep_source = tdep_source
             t_dep_order  = tdep_order
             t_dep_doc    = tdep_doc
        exceptions
             error      = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-explode-a-bill-of-materials-using-a-function-module/m-p/2119923#M444145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Explode a Bill of Materials using a Function Module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-explode-a-bill-of-materials-using-a-function-module/m-p/2119924#M444146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked the transaction CS11? This is a multi-level BOM report.&lt;/P&gt;&lt;P&gt;Unfortunately it is working only for one material, but you might steal some ideas from this program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-explode-a-bill-of-materials-using-a-function-module/m-p/2119924#M444146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Explode a Bill of Materials using a Function Module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-explode-a-bill-of-materials-using-a-function-module/m-p/2119925#M444147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;thanks for your answers - my points go to Balavardhan K because his FM really works and is perfect for my application.&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 09:53:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-explode-a-bill-of-materials-using-a-function-module/m-p/2119925#M444147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T09:53:40Z</dc:date>
    </item>
  </channel>
</rss>

