<?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 Add components to a Production Order using CO_XT_COMPONENT_ADD Function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-components-to-a-production-order-using-co-xt-component-add-function/m-p/653740#M28163</link>
    <description>&lt;P&gt;I have a requirement where I need to create a production order and then delete the existing components which is fetched from BOM and later add a component manually. &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I could able to create Production order and delete the existing component. But I was unable to add components of my choice manually from the program. I was using CO_XT_COMPONENT_ADD function module to add the component into the production order. But by doing so I am getting a RAISE_EXCEPTION dump as the internal table AFGV_BT is not filled. So I suppose we need to use some other FMs to populate that internal table. &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;So could anyone please help me out in achieving this requirement of adding a component in a Production order.&lt;/P&gt;</description>
    <pubDate>Tue, 08 May 2018 09:24:53 GMT</pubDate>
    <dc:creator>adityamani369</dc:creator>
    <dc:date>2018-05-08T09:24:53Z</dc:date>
    <item>
      <title>Add components to a Production Order using CO_XT_COMPONENT_ADD Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-components-to-a-production-order-using-co-xt-component-add-function/m-p/653740#M28163</link>
      <description>&lt;P&gt;I have a requirement where I need to create a production order and then delete the existing components which is fetched from BOM and later add a component manually. &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I could able to create Production order and delete the existing component. But I was unable to add components of my choice manually from the program. I was using CO_XT_COMPONENT_ADD function module to add the component into the production order. But by doing so I am getting a RAISE_EXCEPTION dump as the internal table AFGV_BT is not filled. So I suppose we need to use some other FMs to populate that internal table. &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;So could anyone please help me out in achieving this requirement of adding a component in a Production order.&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 09:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-components-to-a-production-order-using-co-xt-component-add-function/m-p/653740#M28163</guid>
      <dc:creator>adityamani369</dc:creator>
      <dc:date>2018-05-08T09:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add components to a Production Order using CO_XT_COMPONENT_ADD Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-components-to-a-production-order-using-co-xt-component-add-function/m-p/653741#M28164</link>
      <description>&lt;P&gt;I have found out the way to solve the dump. We need to use CO_XT_ORDER_INITIALIZE BAPI to fill the internal table after deleting the components using CO_XT_COMPONENTS_DELETE.&lt;/P&gt;
  &lt;P&gt;Refer to the following link for more information regarding Addition and deletion of components in a Production order.&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://blogs.sap.com/2018/05/14/addition-deletion-of-component-in-a-production-order/" target="test_blank"&gt;https://blogs.sap.com/2018/05/14/addition-deletion-of-component-in-a-production-order/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 06:14:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-components-to-a-production-order-using-co-xt-component-add-function/m-p/653741#M28164</guid>
      <dc:creator>adityamani369</dc:creator>
      <dc:date>2018-05-15T06:14:25Z</dc:date>
    </item>
  </channel>
</rss>

