<?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 CRMD_ORDER in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335088#M5700</link>
    <description>&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;I have to change the header  status of milestone billing thro Fm , i have searched forum got &lt;/P&gt;&lt;P&gt;CRM_STATUS_CHANGE_INTERN&lt;/P&gt;&lt;P&gt;CRM_STATUS_CHANGE_EXTERN&lt;/P&gt;&lt;P&gt;The status flow is   In process--&amp;gt;released--&amp;gt;completed , now i have go like completed --&amp;gt; released. i have tried &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CRM_ORDER_MAINTAIN'&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CRM_ORDER_SAVE' &lt;/P&gt;&lt;P&gt;its working fine if i go like released---&amp;gt;completed but its not working if i go backward like completed --&amp;gt;released.i also tried by using fm's CRM_STATUS_CHANGE_INTERN , CRM_STATUS_CHANGE_EXTERN  its not working&lt;/P&gt;&lt;P&gt;How to rectify this&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 21 Nov 2016 12:46:54 GMT</pubDate>
    <dc:creator>former_member211992</dc:creator>
    <dc:date>2016-11-21T12:46:54Z</dc:date>
    <item>
      <title>CRMD_ORDER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335088#M5700</link>
      <description>&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;I have to change the header  status of milestone billing thro Fm , i have searched forum got &lt;/P&gt;&lt;P&gt;CRM_STATUS_CHANGE_INTERN&lt;/P&gt;&lt;P&gt;CRM_STATUS_CHANGE_EXTERN&lt;/P&gt;&lt;P&gt;The status flow is   In process--&amp;gt;released--&amp;gt;completed , now i have go like completed --&amp;gt; released. i have tried &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CRM_ORDER_MAINTAIN'&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CRM_ORDER_SAVE' &lt;/P&gt;&lt;P&gt;its working fine if i go like released---&amp;gt;completed but its not working if i go backward like completed --&amp;gt;released.i also tried by using fm's CRM_STATUS_CHANGE_INTERN , CRM_STATUS_CHANGE_EXTERN  its not working&lt;/P&gt;&lt;P&gt;How to rectify this&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 12:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335088#M5700</guid>
      <dc:creator>former_member211992</dc:creator>
      <dc:date>2016-11-21T12:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: CRMD_ORDER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335089#M5701</link>
      <description>&lt;P&gt;Have you debugged the Function Module when you try and go from Completed to Released? I suspect you will find something in the return table outlining your problem, as i do not believe you can go BACK a stage.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 23:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335089#M5701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-11-21T23:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: CRMD_ORDER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335090#M5702</link>
      <description>&lt;P&gt;Thanks for your reply dan&lt;/P&gt;&lt;P&gt;But how that is happening when i do manually? CALL FUNCTION 'CRM_ORDER_MAINTAIN' gives sy-subrc eq 0 , but CRM_ORDER_SAVE not returning any values in et_Saved_objects.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 07:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335090#M5702</guid>
      <dc:creator>former_member211992</dc:creator>
      <dc:date>2016-11-22T07:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: CRMD_ORDER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335091#M5703</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;instead of using the CRM_ORDER* function modules I'd suggest that you try to change the status using the BOL objects. These are usually much easier to use (cf my blog for some examples &lt;A href="https://blogs.sap.com/2016/03/08/bol-or-bapi-which-api-to-use-in-crm-development/)" target="test_blank"&gt;https://blogs.sap.com/2016/03/08/bol-or-bapi-which-api-to-use-in-crm-development/)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Christian &lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 07:25:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335091#M5703</guid>
      <dc:creator>ceedee666</dc:creator>
      <dc:date>2016-11-22T07:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: CRMD_ORDER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335092#M5704</link>
      <description>&lt;P&gt; I found one thing that while calling CRM_ORDER_SAVE , inside there is another Fm  CRM_EVENT_PASS_INFO_EXE_OW ..this return values in 'lt_events' if i do manually  but thro my zprogram its coming empty ..&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 12:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335092#M5704</guid>
      <dc:creator>former_member211992</dc:creator>
      <dc:date>2016-11-22T12:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: CRMD_ORDER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335093#M5705</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I have created one order with status profile , its working fine for me but some order does not have status profile in this case we do manually by clicking the release flag but for orders with status profile we do by drop down .when i use drop down 'CRM_ORDER_MAINTAIN'  getting triggered ..&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/7815-capture.png" /&gt;&lt;/P&gt;&lt;P&gt;but if i use flag to release  fm CALL FUNCTION 'CRM_ORDER_MAINTAIN' not getting triggered ..&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 09:49:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335093#M5705</guid>
      <dc:creator>former_member211992</dc:creator>
      <dc:date>2016-11-23T09:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: CRMD_ORDER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335094#M5706</link>
      <description>&lt;P&gt;This is copied from another scn thread;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CRM_ORDER_MAINTAIN allows you to make changes to a document in memory/buffer.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CRM_ORDER_SAVE allows you to save those changes made by CRM_ORDER_MAINTAIN, in database.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So sounds like you need to use both?&lt;/P&gt;&lt;P&gt;Also check the et_objects_not_saved to see if your values are going there - if not then they arent being passed to save so from the above bold writing you would need to call that FM first then save?&lt;/P&gt;&lt;P&gt;Also check et_exception just in case there is an error in there.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 20:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crmd-order/m-p/335094#M5706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-11-28T20:56:47Z</dc:date>
    </item>
  </channel>
</rss>

