<?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: IN UPDATE TASK  problem with CRM_ORDER_SAVE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-problem-with-crm-order-save/m-p/7898710#M1596554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bulent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The entry in VBLOG is retained if the there is any error during the &lt;STRONG&gt;update work process&lt;/STRONG&gt; otherwise it is removed from VBLOG. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you check the behavior of your FM in "update debugging"? That should throw more light on how the FM works in update work process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Ravi:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;You can check with SO01 transaction if any error occurs&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If there is an error during the update the record in VBLOG updated again. Check the online documentation on [UPDATE TASK|http://help.sap.com/abapdocu_702/en/abapcall_function_update.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2011 09:12:24 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2011-05-12T09:12:24Z</dc:date>
    <item>
      <title>IN UPDATE TASK  problem with CRM_ORDER_SAVE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-problem-with-crm-order-save/m-p/7898708#M1596552</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'm trying to write a program to update one field on CRM order documents,&lt;/P&gt;&lt;P&gt;but i need to run it in background with update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I created a function module and called CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE functions &lt;/P&gt;&lt;P&gt;in this function module consequently,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I set the tick "Update Module" and "Start.immed." in attributes of this function module,&lt;/P&gt;&lt;P&gt;- I called the function module with IN UPDATE TASK additon in a program&lt;/P&gt;&lt;P&gt;- I used COMMIT WORK command after calling this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I use IN UPDATE TASK addition , &lt;/P&gt;&lt;P&gt;function is not working and not updating table VBLOG&lt;/P&gt;&lt;P&gt;and no return message in my workplace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But same coding is working perfectly if I don't use IN UPDATE TASK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there way to understand what's wrong, or a trace possibility?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bulent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 07:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-problem-with-crm-order-save/m-p/7898708#M1596552</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2011-05-12T07:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: IN UPDATE TASK  problem with CRM_ORDER_SAVE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-problem-with-crm-order-save/m-p/7898709#M1596553</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;You check &lt;STRONG&gt;vblog&lt;/STRONG&gt; table in debug mode before executing the commit statement. After commit &lt;STRONG&gt;VBLOG&lt;/STRONG&gt; entry delated if executied successfully. You can check with &lt;STRONG&gt;SO01&lt;/STRONG&gt; transaction if any error occurs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 08:57:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-problem-with-crm-order-save/m-p/7898709#M1596553</guid>
      <dc:creator>ravi_lanjewar</dc:creator>
      <dc:date>2011-05-12T08:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: IN UPDATE TASK  problem with CRM_ORDER_SAVE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-problem-with-crm-order-save/m-p/7898710#M1596554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bulent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The entry in VBLOG is retained if the there is any error during the &lt;STRONG&gt;update work process&lt;/STRONG&gt; otherwise it is removed from VBLOG. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you check the behavior of your FM in "update debugging"? That should throw more light on how the FM works in update work process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Ravi:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;You can check with SO01 transaction if any error occurs&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If there is an error during the update the record in VBLOG updated again. Check the online documentation on [UPDATE TASK|http://help.sap.com/abapdocu_702/en/abapcall_function_update.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 09:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-problem-with-crm-order-save/m-p/7898710#M1596554</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-05-12T09:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: IN UPDATE TASK  problem with CRM_ORDER_SAVE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-problem-with-crm-order-save/m-p/7898711#M1596555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, please check the code in functions CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE if any implicit / explicit commit work is triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shyam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 10:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-problem-with-crm-order-save/m-p/7898711#M1596555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-12T10:39:54Z</dc:date>
    </item>
  </channel>
</rss>

