<?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 CO_IH_CLOSE_ORDER_TECHNICAL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/co-ih-close-order-technical/m-p/2852273#M668433</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'm using the CO_IH_CLOSE_ORDER_TECHNICAL MF in order to do the technical close of a PM order (PM12 type) and it's not working ok.  It does the technical close, but when I go to the trx. IW32 y still can see the order editable.  If at this point I try to do the technical close from the transaction, I get a message saying that the order is already close, but the option is still available.&lt;/P&gt;&lt;P&gt;In my program I call the MF with these parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'CO_IH_CLOSE_ORDER_TECHNICAL'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            order_number                    = wa_caufv2-aufnr  // order number&lt;/P&gt;&lt;P&gt;            addat                                = v_addat             //  sy-datum&lt;/P&gt;&lt;P&gt;            aduhr                                = v_aduhr             //  sy-uzeit&lt;/P&gt;&lt;P&gt;            flg_confirmation                 = 'X'&lt;/P&gt;&lt;P&gt;            do_not_close_notification   = ''&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            return                          = t_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no messages in t_return after executing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I do a commit work to apply the changes trough BAPI_TRANSACTION_COMMIT.  If I don't call this MF, the changes are never applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone knows how to make it work please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Oct 2007 14:01:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-01T14:01:47Z</dc:date>
    <item>
      <title>CO_IH_CLOSE_ORDER_TECHNICAL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/co-ih-close-order-technical/m-p/2852273#M668433</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'm using the CO_IH_CLOSE_ORDER_TECHNICAL MF in order to do the technical close of a PM order (PM12 type) and it's not working ok.  It does the technical close, but when I go to the trx. IW32 y still can see the order editable.  If at this point I try to do the technical close from the transaction, I get a message saying that the order is already close, but the option is still available.&lt;/P&gt;&lt;P&gt;In my program I call the MF with these parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'CO_IH_CLOSE_ORDER_TECHNICAL'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            order_number                    = wa_caufv2-aufnr  // order number&lt;/P&gt;&lt;P&gt;            addat                                = v_addat             //  sy-datum&lt;/P&gt;&lt;P&gt;            aduhr                                = v_aduhr             //  sy-uzeit&lt;/P&gt;&lt;P&gt;            flg_confirmation                 = 'X'&lt;/P&gt;&lt;P&gt;            do_not_close_notification   = ''&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            return                          = t_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no messages in t_return after executing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I do a commit work to apply the changes trough BAPI_TRANSACTION_COMMIT.  If I don't call this MF, the changes are never applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone knows how to make it work please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 14:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/co-ih-close-order-technical/m-p/2852273#M668433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T14:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: CO_IH_CLOSE_ORDER_TECHNICAL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/co-ih-close-order-technical/m-p/2852274#M668434</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;No, do not use this "internal" SAP FM, 'CO_IH_CLOSE_ORDER_TECHNICAL'! Please use "Technical complete" and use BAPI FM BAPI_ALM_ORDER_MAINTAIN as described in the following thread: &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="577672"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the code for "Technical complete" and not the other issue with "cycle group". This should do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful so that others can benefit from this answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 07:09:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/co-ih-close-order-technical/m-p/2852274#M668434</guid>
      <dc:creator>reedtzj</dc:creator>
      <dc:date>2007-10-02T07:09:34Z</dc:date>
    </item>
  </channel>
</rss>

