<?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: issue in cs02 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-cs02/m-p/3058495#M724418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; First hit against the MAST table with the material number. Then hit against STPO with the internal BOM number to get the components. There are also some function modules that will do this to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: xmast type mast.&lt;/P&gt;&lt;P&gt;data: istpo type table of stpo with header line.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Select Single * from mast&lt;/P&gt;&lt;P&gt;              where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;If sy-subrc = 0.&lt;/P&gt;&lt;P&gt;Write:/ 'This material has a BOM'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;Write:/ 'No BOM found'.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;write:/ 'Components'.&lt;/P&gt;&lt;P&gt;select * into corresponding fields of table istpo&lt;/P&gt;&lt;P&gt;        from stpo&lt;/P&gt;&lt;P&gt;             where stlnr = xmast-stlnr.&lt;/P&gt;&lt;P&gt;loop at istpo.&lt;/P&gt;&lt;P&gt;write:/ istpo-idnrk.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2007 07:43:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-19T07:43:54Z</dc:date>
    <item>
      <title>issue in cs02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-cs02/m-p/3058494#M724417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   Any one can send a code for changing the BOM components ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 07:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-cs02/m-p/3058494#M724417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T07:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: issue in cs02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-cs02/m-p/3058495#M724418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; First hit against the MAST table with the material number. Then hit against STPO with the internal BOM number to get the components. There are also some function modules that will do this to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: xmast type mast.&lt;/P&gt;&lt;P&gt;data: istpo type table of stpo with header line.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Select Single * from mast&lt;/P&gt;&lt;P&gt;              where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;If sy-subrc = 0.&lt;/P&gt;&lt;P&gt;Write:/ 'This material has a BOM'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;Write:/ 'No BOM found'.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;write:/ 'Components'.&lt;/P&gt;&lt;P&gt;select * into corresponding fields of table istpo&lt;/P&gt;&lt;P&gt;        from stpo&lt;/P&gt;&lt;P&gt;             where stlnr = xmast-stlnr.&lt;/P&gt;&lt;P&gt;loop at istpo.&lt;/P&gt;&lt;P&gt;write:/ istpo-idnrk.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 07:43:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-cs02/m-p/3058495#M724418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T07:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: issue in cs02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-cs02/m-p/3058496#M724419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now i have to change the BOM in CS02 &lt;/P&gt;&lt;P&gt;i got this function module, Could u explain about this FM&lt;/P&gt;&lt;P&gt;What r all the Input parameter i have to pass plz explain for all FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSAP_MAT_BOM_OPEN,&lt;/P&gt;&lt;P&gt;CSAP_BOM_ITEM_MAINTAIN, and then&lt;/P&gt;&lt;P&gt;CSAP_MAT_BOM_CLOSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;thanuskodi T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 08:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-cs02/m-p/3058496#M724419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T08:09:46Z</dc:date>
    </item>
  </channel>
</rss>

