<?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: Function to copy BOM object dependencies in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-copy-bom-object-dependencies/m-p/5583322#M1273231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any sugestion please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i'm trying to use the function CS_BI_BOM_CREATE_BATCH_INPUT1 to create a new BOM, but i have a problem: only one item is created. ¿Anybody knows how to create all of them? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(The table contain all the items)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'CS_BI_BOM_CREATE_BATCH_INPUT1'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        BDC_FLAG           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          bom_header         = wa_bicsk&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        CLOSE_GROUP        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          commit_work        = 'X'&lt;/P&gt;&lt;P&gt;          group_data         = wa_bgr00&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        NEW_GROUP          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          tcode_mode         = 'N'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        TCODE_UPDATE       = 'S'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          msgid              = v_msgid&lt;/P&gt;&lt;P&gt;          msgno              = v_msgno&lt;/P&gt;&lt;P&gt;          msgty              = v_msgty&lt;/P&gt;&lt;P&gt;          msgv1              = v_msgv1&lt;/P&gt;&lt;P&gt;          msgv2              = v_msgv2&lt;/P&gt;&lt;P&gt;          msgv3              = v_msgv3&lt;/P&gt;&lt;P&gt;          msgv4              = v_msgv4&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          bom_item              = it_bom_items&lt;/P&gt;&lt;P&gt;          bom_sub_item       = it_bicsu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.Tabernero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2009 14:12:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-26T14:12:25Z</dc:date>
    <item>
      <title>Function to copy BOM object dependencies</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-copy-bom-object-dependencies/m-p/5583321#M1273230</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;&lt;/P&gt;&lt;P&gt;I've had to create a program to copy (or extend) BOMs to other plants, like CS01 and CS07 transactions.&lt;/P&gt;&lt;P&gt;I did it like in the sample program MAT_BOMGROUP_CREATE_SAMPLE, replacing function ALE_MATERIAL_BOM_GROUP_CREATE with the bapi BAPI_MATERIAL_BOM_GROUP_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that this functions cannot handle object dependencies. (leaves field STPO-KNOBJ empty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got this two sap notes, but for now it was useless:&lt;/P&gt;&lt;P&gt;488765&lt;/P&gt;&lt;P&gt;545676&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know any FM or bapi that do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: A. Tabernero on May 21, 2009 4:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 14:56:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-copy-bom-object-dependencies/m-p/5583321#M1273230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T14:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Function to copy BOM object dependencies</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-copy-bom-object-dependencies/m-p/5583322#M1273231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any sugestion please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i'm trying to use the function CS_BI_BOM_CREATE_BATCH_INPUT1 to create a new BOM, but i have a problem: only one item is created. ¿Anybody knows how to create all of them? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(The table contain all the items)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'CS_BI_BOM_CREATE_BATCH_INPUT1'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        BDC_FLAG           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          bom_header         = wa_bicsk&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        CLOSE_GROUP        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          commit_work        = 'X'&lt;/P&gt;&lt;P&gt;          group_data         = wa_bgr00&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        NEW_GROUP          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          tcode_mode         = 'N'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        TCODE_UPDATE       = 'S'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          msgid              = v_msgid&lt;/P&gt;&lt;P&gt;          msgno              = v_msgno&lt;/P&gt;&lt;P&gt;          msgty              = v_msgty&lt;/P&gt;&lt;P&gt;          msgv1              = v_msgv1&lt;/P&gt;&lt;P&gt;          msgv2              = v_msgv2&lt;/P&gt;&lt;P&gt;          msgv3              = v_msgv3&lt;/P&gt;&lt;P&gt;          msgv4              = v_msgv4&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          bom_item              = it_bom_items&lt;/P&gt;&lt;P&gt;          bom_sub_item       = it_bicsu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.Tabernero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 14:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-copy-bom-object-dependencies/m-p/5583322#M1273231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T14:12:25Z</dc:date>
    </item>
  </channel>
</rss>

