<?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: Using BOm Function modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474458#M1253545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kanishak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I am able to create/change bom using the FMs CS_BC_BOM_CHANGE_BATCH_INPUT &amp;amp; CS_BI_BOM_CREATE_BATCH_INPUT1 when i process the IDoc manually in SAP system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my current situation Idoc will be proceed from third party system automatically. During that time it is not updating and getting the IDoc status as 51. and when i process the same Idoc which is having 51 manually in SAP, it was processed and updated the BOM and the status went to 53.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the problem i am facing. Kindly provide me an alternative solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2009 08:20:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-28T08:20:30Z</dc:date>
    <item>
      <title>Using BOm Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474456#M1253543</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;I have to create/change BOM for multiple plants and i am using below code, but it is not working. I think i am not passing the parameter values properly. Can anyone help me in how to use the below function modules in loop(i mean for multiple plants)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*     CHANGE Bom
        CALL FUNCTION 'CS_BC_BOM_CHANGE_BATCH_INPUT'
          EXPORTING
*           BDC_FLAG           = ' '
            bom_header         = ls_bom_header
            close_group        = 'X'
            commit_work        = 'X'
            group_data         = ls_group
            new_group          = 'X'
            tcode_mode         = ld_mode
            tcode_update       = 'S'
          IMPORTING
            msgid              = ld_msgid
            msgno              = ld_msgno
            msgty              = ld_msgty
            msgv1              = ld_msgv1
            msgv2              = ld_msgv2
            msgv3              = ld_msgv3
            msgv4              = ld_msgv4
          TABLES
            bom_item           = lt_bom_item
            bom_sub_item       = lt_sub_item.

*   CREATE Bom
        CALL FUNCTION 'CS_BI_BOM_CREATE_BATCH_INPUT1'
          EXPORTING
*           BDC_FLAG           = ' '
            bom_header         = ls_bom_header
            close_group        = 'X'
            commit_work        = 'X'
            group_data         = ls_group
            new_group          = 'X'
            tcode_mode         = ld_mode
            tcode_update       = 'S'
          IMPORTING
            msgid              = ld_msgid
            msgno              = ld_msgno
            msgty              = ld_msgty
            msgv1              = ld_msgv1
            msgv2              = ld_msgv2
            msgv3              = ld_msgv3
            msgv4              = ld_msgv4
          TABLES
            bom_item           = lt_bom_item
            bom_sub_item       = lt_sub_item.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 07:07:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474456#M1253543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T07:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using BOm Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474457#M1253544</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;u can use the following FM for creating the BOM plant wise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSAP_MAT_BOM_CREATE.&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;kanishak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 08:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474457#M1253544</guid>
      <dc:creator>kanishakgupta1</dc:creator>
      <dc:date>2009-04-28T08:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using BOm Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474458#M1253545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kanishak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I am able to create/change bom using the FMs CS_BC_BOM_CHANGE_BATCH_INPUT &amp;amp; CS_BI_BOM_CREATE_BATCH_INPUT1 when i process the IDoc manually in SAP system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my current situation Idoc will be proceed from third party system automatically. During that time it is not updating and getting the IDoc status as 51. and when i process the same Idoc which is having 51 manually in SAP, it was processed and updated the BOM and the status went to 53.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the problem i am facing. Kindly provide me an alternative solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 08:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474458#M1253545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T08:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using BOm Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474459#M1253546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes possibly there is some issue with the data that you pass.&lt;/P&gt;&lt;P&gt;May be you are not passing the mandatory fields for your function module.&lt;/P&gt;&lt;P&gt;Try to execute the function module directly and see how and which values are to be passed and then check in your code if you are populating it that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 09:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474459#M1253546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T09:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using BOm Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474460#M1253547</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;make sure that all the data which is  required for FMs is comming from third party are not do some debug hope it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~linganna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 09:19:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474460#M1253547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T09:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using BOm Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474461#M1253548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i execute maually it is working fine. I think there is some problem is passing new_group or close_group parameters. I am not able to understand when to pass 'X' and when not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i process the IDoc manually no error message and Idoc status is 53 and updated the BOM for multiple plants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the IDoc is processed from 3rd party system, IDoc status getting 51 and not updating the BOM and the error message is 'BDC_INSERT', Session not opened'. This is the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 09:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474461#M1253548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T09:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using BOm Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474462#M1253549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With connection to the same issue, i have another doubt on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we use the call transaction method on same transaction with different input data in a loop? I mean multiple calls of call transaction method for the same transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clarify.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 10:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bom-function-modules/m-p/5474462#M1253549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T10:55:28Z</dc:date>
    </item>
  </channel>
</rss>

