<?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: Help required regarding BAPI_MATERIAL_BOM_GROUP_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-required-regarding-bapi-material-bom-group-create/m-p/5106920#M1184809</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;Go through the function module documentation for this BAPI.&lt;/P&gt;&lt;P&gt;It clearly explains about the fields OBJECT_TYPE and its significance.&lt;/P&gt;&lt;P&gt;Each object can be uniquely identified within a BOM group in the field OBJECT_ID.  In order to be able to easily recognize the object in the data stream of the import, the field OBJECT_TYPE is also filled with the value:&lt;/P&gt;&lt;P&gt;BOM in the table VARIANTS&lt;/P&gt;&lt;P&gt;BGR in the table BOMGROUP&lt;/P&gt;&lt;P&gt;ITM in the table ITEMS&lt;/P&gt;&lt;P&gt;SUI in the table SUBITEMS&lt;/P&gt;&lt;P&gt;In addition to this general data, the tables are individually created&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;Regards,&lt;/P&gt;&lt;P&gt;Dwaraka.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2009 13:50:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-09T13:50:02Z</dc:date>
    <item>
      <title>Help required regarding BAPI_MATERIAL_BOM_GROUP_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-required-regarding-bapi-material-bom-group-create/m-p/5106918#M1184807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very new to using BAPIs.&lt;/P&gt;&lt;P&gt;Can you please help me out in providing me the exact values we need to pass to the parameters BOM_GROUP_IDENTIFICATION, OBJECT_TYPE and OBJECT_ID. What is the significance of these parameteres and is there config done for setting the values to the above parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting the following error while executing the bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W BAPI1080             029&lt;/P&gt;&lt;P&gt;Error when checking the data of the object type=BOM / Id=SIMPLE1 of group Id=BAPI_SMP_COL1&lt;/P&gt;&lt;P&gt;E M3                   305&lt;/P&gt;&lt;P&gt;The material MAINMATERIAL does not exist or is not activated&lt;/P&gt;&lt;P&gt;I M3                   305&lt;/P&gt;&lt;P&gt;The material MAINMATERIAL does not exist or is not activated&lt;/P&gt;&lt;P&gt;A BAPI                 001&lt;/P&gt;&lt;P&gt;No instance of object type BOMGroup has been created. External reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the code which I am using :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;it_bomgroup LIKE bapi1080_bgr_c OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;it_variants LIKE bapi1080_bom_c OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;it_items LIKE bapi1080_itm_c OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;it_matrel LIKE bapi1080_mbm_c OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;it_itemas LIKE bapi1080_rel_itm_bom_c OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the data&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Material BoM Group Header Data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR it_bomgroup.&lt;/P&gt;&lt;P&gt;it_bomgroup-bom_group_identification = 'BAPI_SMP_COL1'.&lt;/P&gt;&lt;P&gt;it_bomgroup-object_type = 'BGR'.&lt;/P&gt;&lt;P&gt;it_bomgroup-object_id = 'SIMPLE1'.&lt;/P&gt;&lt;P&gt;it_bomgroup-bom_usage = '5'. " YOU COULD CHANGE THE BOM USAGE TO YOUR&lt;/P&gt;&lt;P&gt;**NEEDS&lt;/P&gt;&lt;P&gt;it_bomgroup-ltxt_lang = sy-langu.&lt;/P&gt;&lt;P&gt;it_bomgroup-technical_type = ' '.&lt;/P&gt;&lt;P&gt;it_bomgroup-bom_text = 'Simple BoM - FM'.&lt;/P&gt;&lt;P&gt;APPEND it_bomgroup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Header Details of the different variants&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR it_variants.&lt;/P&gt;&lt;P&gt;it_variants-bom_group_identification = 'BAPI_SMP_COL1'.&lt;/P&gt;&lt;P&gt;it_variants-object_type = 'BOM'.&lt;/P&gt;&lt;P&gt;it_variants-object_id = 'SIMPLE1'.&lt;/P&gt;&lt;P&gt;it_variants-alternative_bom = '01'.&lt;/P&gt;&lt;P&gt;it_variants-bom_status = '01'.&lt;/P&gt;&lt;P&gt;it_variants-base_qty = '1.000'.&lt;/P&gt;&lt;P&gt;it_variants-valid_from_date = sy-datum.&lt;/P&gt;&lt;P&gt;it_variants-function = 'NEW'.&lt;/P&gt;&lt;P&gt;APPEND it_variants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Details of the items of the variants&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR it_items.&lt;/P&gt;&lt;P&gt;it_items-bom_group_identification = 'BAPI_SMP_COL1'.&lt;/P&gt;&lt;P&gt;it_items-object_type = 'ITM'.&lt;/P&gt;&lt;P&gt;it_items-object_id = 'SIMPLE1'.&lt;/P&gt;&lt;P&gt;it_items-item_no = '0010'.&lt;/P&gt;&lt;P&gt;it_items-item_cat = 'L'.&lt;/P&gt;&lt;P&gt;it_items-component = 'COMPON1'.&lt;/P&gt;&lt;P&gt;it_items-comp_qty = '2'.&lt;/P&gt;&lt;P&gt;it_items-valid_from_date = sy-datum.&lt;/P&gt;&lt;P&gt;APPEND it_items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR it_items.&lt;/P&gt;&lt;P&gt;it_items-bom_group_identification = 'BAPI_SMP_COL1'.&lt;/P&gt;&lt;P&gt;it_items-object_type = 'ITM'.&lt;/P&gt;&lt;P&gt;it_items-object_id = 'SIMPLE1'.&lt;/P&gt;&lt;P&gt;it_items-item_no = '0020'.&lt;/P&gt;&lt;P&gt;it_items-item_cat = 'L'.&lt;/P&gt;&lt;P&gt;it_items-component = 'COMPON2'.&lt;/P&gt;&lt;P&gt;it_items-comp_qty = '3'.&lt;/P&gt;&lt;P&gt;it_items-valid_from_date = sy-datum.&lt;/P&gt;&lt;P&gt;APPEND it_items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Details of the materials of the different variants&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR it_matrel.&lt;/P&gt;&lt;P&gt;it_matrel-bom_group_identification = 'BAPI_SMP_COL1'.&lt;/P&gt;&lt;P&gt;it_matrel-material = 'MAINMATERIAL'.&lt;/P&gt;&lt;P&gt;it_matrel-bom_usage = '5'.&lt;/P&gt;&lt;P&gt;it_matrel-alternative_bom = '01'.&lt;/P&gt;&lt;P&gt;APPEND it_matrel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Linking items to the corresponding variants&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR it_itemas.&lt;/P&gt;&lt;P&gt;it_itemas-bom_group_identification = 'BAPI_SMP_COL1'.&lt;/P&gt;&lt;P&gt;it_itemas-sub_object_type = 'ITM'.&lt;/P&gt;&lt;P&gt;it_itemas-sub_object_id = 'SIMPLE1'.&lt;/P&gt;&lt;P&gt;it_itemas-super_object_type = 'BOM'.&lt;/P&gt;&lt;P&gt;it_itemas-super_object_id = 'SIMPLE1'.&lt;/P&gt;&lt;P&gt;it_itemas-valid_from_date = sy-datum.&lt;/P&gt;&lt;P&gt;it_itemas-function = 'NEW'.&lt;/P&gt;&lt;P&gt;APPEND it_itemas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out and tell me if i am missing something or i am wrong somewhere..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 13:44:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-required-regarding-bapi-material-bom-group-create/m-p/5106918#M1184807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T13:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help required regarding BAPI_MATERIAL_BOM_GROUP_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-required-regarding-bapi-material-bom-group-create/m-p/5106919#M1184808</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;Refer this link..you can find the sample code&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4822722"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 13:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-required-regarding-bapi-material-bom-group-create/m-p/5106919#M1184808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T13:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help required regarding BAPI_MATERIAL_BOM_GROUP_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-required-regarding-bapi-material-bom-group-create/m-p/5106920#M1184809</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;Go through the function module documentation for this BAPI.&lt;/P&gt;&lt;P&gt;It clearly explains about the fields OBJECT_TYPE and its significance.&lt;/P&gt;&lt;P&gt;Each object can be uniquely identified within a BOM group in the field OBJECT_ID.  In order to be able to easily recognize the object in the data stream of the import, the field OBJECT_TYPE is also filled with the value:&lt;/P&gt;&lt;P&gt;BOM in the table VARIANTS&lt;/P&gt;&lt;P&gt;BGR in the table BOMGROUP&lt;/P&gt;&lt;P&gt;ITM in the table ITEMS&lt;/P&gt;&lt;P&gt;SUI in the table SUBITEMS&lt;/P&gt;&lt;P&gt;In addition to this general data, the tables are individually created&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;Regards,&lt;/P&gt;&lt;P&gt;Dwaraka.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 13:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-required-regarding-bapi-material-bom-group-create/m-p/5106920#M1184809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T13:50:02Z</dc:date>
    </item>
  </channel>
</rss>

