<?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 module to update components of PM orders in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852976#M361002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;this function module needs a FM to read a PM order before because it works with memory data, (PM_ORDER_DATA_READ) and other FM to save changes (CO_ZV_ORDER_POST) after the FM CO2M_COMPONENT_CHANGE_WITH_REF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that this help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2007 14:29:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-30T14:29:14Z</dc:date>
    <item>
      <title>Function module to update components of PM orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852969#M360995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a function module or bapi to update components of PM orders in 4.6C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 18:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852969#M360995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T18:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to update components of PM orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852970#M360996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try BAPI_ALM_ORDER_MAINTAIN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 18:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852970#M360996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T18:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to update components of PM orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852971#M360997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, this bapi is from 4.7 version, i need to 4.6c version&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 18:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852971#M360997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T18:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to update components of PM orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852972#M360998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this CO2H_PROD_ORDER_CHANGE.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 18:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852972#M360998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T18:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to update components of PM orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852973#M360999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but this function module don't fix my problem, only can modify the fields BDMNG, VERID and LGORT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 10:17:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852973#M360999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T10:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to update components of PM orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852974#M361000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally this works with CO2M_COMPONENT_CHANGE_WITH_REF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 13:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852974#M361000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T13:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to update components of PM orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852975#M361001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I am also trying to update components of PM. I used the function CO2M_COMPONENT_CHANGE_WITH_REF, but I am not sure if I am passing the correct parameters. If possible  can you please send a sample code Or you can take a look at my code and tell me where I am doing wrong.. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I am passing into the the function:&lt;/P&gt;&lt;P&gt;DATA: in_resbd_new LIKE resbd,&lt;/P&gt;&lt;P&gt;in_rsnum_source    LIKE	resb-rsnum,&lt;/P&gt;&lt;P&gt;in_rspos_source    LIKE	resb-rspos,&lt;/P&gt;&lt;P&gt;in_rsart_source    LIKE	resb-rsart,&lt;/P&gt;&lt;P&gt;out_INDEX_BT       LIKE	SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;When I created the component, Requirement quantity of the component&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;was set to initial. I am trying to change that to 1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in_resbd_new-MANDT = '200'.&lt;/P&gt;&lt;P&gt;in_resbd_new-RSNUM = '0000000708'.  " from RESB-RSNUM&lt;/P&gt;&lt;P&gt;in_resbd_new-RSPOS = '0001'.             " from RESB-RSPOS&lt;/P&gt;&lt;P&gt;in_resbd_new-MATNR = '000000000000000072'. " RESB-MATNR&lt;/P&gt;&lt;P&gt;in_resbd_new-WERKS = '0010'.             " from RESB-WERKS&lt;/P&gt;&lt;P&gt;in_resbd_new-LGORT = '0010'.              "" from RESB-lgort&lt;/P&gt;&lt;P&gt;in_resbd_new-MENGE = '1'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in_rsnum_source = '0000000708'.&lt;/P&gt;&lt;P&gt;in_rspos_source = '0001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CO2M_COMPONENT_CHANGE_WITH_REF'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_resbd_new          = in_resbd_new&lt;/P&gt;&lt;P&gt;    i_rsnum_source       = in_rsnum_source&lt;/P&gt;&lt;P&gt;    i_rspos_source       = in_rspos_source&lt;/P&gt;&lt;P&gt;    i_rsart_source       = in_rsart_source&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   E_INDEX_BT           = out_INDEX_BT&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   ERROR_OCCURED        = 1&lt;/P&gt;&lt;P&gt;   OTHERS               = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The return value in out_index_bt is '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 16:42:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852975#M361001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T16:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to update components of PM orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852976#M361002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;this function module needs a FM to read a PM order before because it works with memory data, (PM_ORDER_DATA_READ) and other FM to save changes (CO_ZV_ORDER_POST) after the FM CO2M_COMPONENT_CHANGE_WITH_REF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that this help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 14:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-update-components-of-pm-orders/m-p/1852976#M361002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T14:29:14Z</dc:date>
    </item>
  </channel>
</rss>

