<?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 usage of function module for BOM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-for-bom/m-p/1200672#M130952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all you guys&lt;/P&gt;&lt;P&gt;i am new to this group&lt;/P&gt;&lt;P&gt;and i am in a real bad situation.&lt;/P&gt;&lt;P&gt;i have to use a function module for BOM&lt;/P&gt;&lt;P&gt;which should give me the BOM materials for all the levels.&lt;/P&gt;&lt;P&gt;i know that there are two three function modules for this i.e. &lt;/P&gt;&lt;P&gt;1) dmu_mat_bom_explode &lt;/P&gt;&lt;P&gt;2) DMU_DOC_BOM_EXPLODE&lt;/P&gt;&lt;P&gt;3) CO_MP_BOM_READ&lt;/P&gt;&lt;P&gt;but i am not able to use any one of them .&lt;/P&gt;&lt;P&gt;actually i am not getting how to use them .&lt;/P&gt;&lt;P&gt;please help me as early as possible i am in a real need.&lt;/P&gt;&lt;P&gt;i want to know that what we should give in the import,export and tables parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Feb 2006 07:50:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-11T07:50:20Z</dc:date>
    <item>
      <title>usage of function module for BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-for-bom/m-p/1200672#M130952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all you guys&lt;/P&gt;&lt;P&gt;i am new to this group&lt;/P&gt;&lt;P&gt;and i am in a real bad situation.&lt;/P&gt;&lt;P&gt;i have to use a function module for BOM&lt;/P&gt;&lt;P&gt;which should give me the BOM materials for all the levels.&lt;/P&gt;&lt;P&gt;i know that there are two three function modules for this i.e. &lt;/P&gt;&lt;P&gt;1) dmu_mat_bom_explode &lt;/P&gt;&lt;P&gt;2) DMU_DOC_BOM_EXPLODE&lt;/P&gt;&lt;P&gt;3) CO_MP_BOM_READ&lt;/P&gt;&lt;P&gt;but i am not able to use any one of them .&lt;/P&gt;&lt;P&gt;actually i am not getting how to use them .&lt;/P&gt;&lt;P&gt;please help me as early as possible i am in a real need.&lt;/P&gt;&lt;P&gt;i want to know that what we should give in the import,export and tables parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Feb 2006 07:50:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-for-bom/m-p/1200672#M130952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-11T07:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: usage of function module for BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-for-bom/m-p/1200673#M130953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ujjwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. use like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : stbd LIKE   TABLE OF csxdoc  ,&lt;/P&gt;&lt;P&gt;stbe LIKE TABLE OF csxequi             ,&lt;/P&gt;&lt;P&gt;stbk LIKE TABLE OF csxkla              ,&lt;/P&gt;&lt;P&gt;stbm LIKE TABLE OF csxmat              ,&lt;/P&gt;&lt;P&gt;stbp LIKE TABLE OF csxgen              ,&lt;/P&gt;&lt;P&gt;stbt LIKE TABLE OF csxtpl              .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CS_BOM_EXPLOSION'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;   capid                       = 'PP01'&lt;/P&gt;&lt;P&gt;   emeng                       = bmeng&lt;/P&gt;&lt;P&gt;   datuv                       = sy-datum&lt;/P&gt;&lt;P&gt;   mtnrv                       = matnr&lt;/P&gt;&lt;P&gt;   stlan                       = '1'&lt;/P&gt;&lt;P&gt;     werks                       =  werks&lt;/P&gt;&lt;P&gt;     mehrs = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TOPEQUI                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TOPMAT                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TOPTPL                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DSTST                       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      stbd                        = stbd&lt;/P&gt;&lt;P&gt;      stbe                        = stbe&lt;/P&gt;&lt;P&gt;      stbk                        = stbk&lt;/P&gt;&lt;P&gt;      stbm                        = stbm&lt;/P&gt;&lt;P&gt;      stbp                        = stbp&lt;/P&gt;&lt;P&gt;      stbt                        = stbt&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   alt_not_found               = 1&lt;/P&gt;&lt;P&gt;   call_invalid                = 2&lt;/P&gt;&lt;P&gt;   missing_authorization       = 3&lt;/P&gt;&lt;P&gt;   no_bom_found                = 4&lt;/P&gt;&lt;P&gt;   no_plant_data               = 5&lt;/P&gt;&lt;P&gt;   no_suitable_bom_found       = 6&lt;/P&gt;&lt;P&gt;   object_not_found            = 7&lt;/P&gt;&lt;P&gt;   conversion_error            = 8&lt;/P&gt;&lt;P&gt;   OTHERS                      = 9&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. the parameter above&lt;/P&gt;&lt;P&gt;       mehrs = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  will explode the bom at all levels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Then use data like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA : stbp_wa LIKE LINE OF stbp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT stbp INTO stbp_wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Feb 2006 07:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-for-bom/m-p/1200673#M130953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-11T07:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: usage of function module for BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-for-bom/m-p/1200674#M130954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ujjwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use CS_BOM_EXPLOSION FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CS_BOM_EXPLOSION'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          capid                 = 'PP01'&lt;/P&gt;&lt;P&gt;          datuv                 = SY-DATUM&lt;/P&gt;&lt;P&gt;          mtnrv                 = &amp;lt;Pass Material for which u want detail component&amp;gt;&lt;/P&gt;&lt;P&gt;          werks                 = &amp;lt;werks&amp;gt;&lt;/P&gt;&lt;P&gt;          mehrs                 = 'X' " For Multiple level&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          stbd                  = stbd&lt;/P&gt;&lt;P&gt;          stbe                  = stbe&lt;/P&gt;&lt;P&gt;          stbk                  = stbk&lt;/P&gt;&lt;P&gt;          stbm                  = stbm&lt;/P&gt;&lt;P&gt;          stbp                  = stbp&lt;/P&gt;&lt;P&gt;          stbt                  = stbt&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          alt_not_found         = 1&lt;/P&gt;&lt;P&gt;          call_invalid          = 2&lt;/P&gt;&lt;P&gt;          missing_authorization = 3&lt;/P&gt;&lt;P&gt;          no_bom_found          = 4&lt;/P&gt;&lt;P&gt;          no_plant_data         = 5&lt;/P&gt;&lt;P&gt;          no_suitable_bom_found = 6&lt;/P&gt;&lt;P&gt;          object_not_found      = 7&lt;/P&gt;&lt;P&gt;          conversion_error      = 8&lt;/P&gt;&lt;P&gt;          OTHERS                = 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Afetr Passing capid,datuv,mtnrv,werks,mehrs values, FM will build STBP Table Which comntain all comnponents related to ur STLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Digesh Panchal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please reward points, if it solve ur problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Feb 2006 08:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-for-bom/m-p/1200674#M130954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-11T08:48:51Z</dc:date>
    </item>
  </channel>
</rss>

