<?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: Rollback work is not working after calling function in user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363680#M7828</link>
    <description>&lt;P&gt;You should not be doing a rollback work inside a user exit.  Use Save_Document_Prepare Instead and then (I think) issue an 'E' message.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2017 12:06:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-01-16T12:06:52Z</dc:date>
    <item>
      <title>Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363673#M7821</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I am doing changes in sales order user exit. Here interesting point is that I call one FM to get some data. &lt;/P&gt;&lt;P&gt;If i don't call FM, then roll back works and delivery is not created.But when I call FM then Rollback does not happen.&lt;/P&gt;&lt;P&gt;I have tried using Rollback work and bapi_transcation_rollback.&lt;/P&gt;&lt;P&gt;Please suggest some hints.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiv.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 12:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363673#M7821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-13T12:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363674#M7822</link>
      <description>&lt;P&gt;I seem to remember @Horst_Keller mentioning the fact that there is an implied commit work when a work area is rolled out.  I've tried finding this again but no luck.  Perhaps Horst can dig it up for you.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 12:54:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363674#M7822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-13T12:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363675#M7823</link>
      <description>&lt;P&gt;&lt;EM&gt;If i don't call FM, then roll back works and delivery is not created.But when I call FM then Rollback does not happen.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Without "relevant" code snippet it is not possible to analyse if any implicit commit is triggered. If you want concrete answers, then post the code snippet.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 13:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363675#M7823</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2017-01-13T13:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363676#M7824</link>
      <description>&lt;P&gt;Code logic follows as&lt;/P&gt;&lt;P&gt;I am in  Userexit_save_document where I am doing coding inside one FM. Here Reason to do coding that Delivery number is determined here which we need to send to third party and get the response from there.&lt;/P&gt;&lt;P&gt;So I am calling Webservice FM here and checking if there is error message returns then I need to rollback which means no delivery creation.&lt;/P&gt;&lt;P&gt;Call FM 'ABC'&lt;/P&gt;&lt;P&gt;export = im_request&lt;/P&gt;&lt;P&gt;import = ex_response.&lt;/P&gt;&lt;P&gt;If Ex_response-error is not initial.&lt;/P&gt;&lt;P&gt; rollback work.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;If I comment CALL fm and just do rollback work then delivery is not created. But with FM, delivery is created with rollback work also.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Shiv&lt;/P&gt;&lt;P&gt;I&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 16:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363676#M7824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-13T16:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363677#M7825</link>
      <description>&lt;P&gt;That's how it is and can be found&lt;A href="http://help.sap.com/abapdocu_751/en/index.htm?file=abendb_commit.htm"&gt; here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 16:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363677#M7825</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2017-01-13T16:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363678#M7826</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;User-Exit "userexit_save_document" is part of what program : SAPMV45A ? &lt;/P&gt;&lt;P&gt;Is it called during transaction VA02 ?&lt;/P&gt;&lt;P&gt;Can you show us a ScreenShot of your code (that is in the user exit) ?&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 19:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363678#M7826</guid>
      <dc:creator>chaouki_akir</dc:creator>
      <dc:date>2017-01-13T19:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363679#M7827</link>
      <description>&lt;P&gt;Thanks Horst&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 12:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363679#M7827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-16T12:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363680#M7828</link>
      <description>&lt;P&gt;You should not be doing a rollback work inside a user exit.  Use Save_Document_Prepare Instead and then (I think) issue an 'E' message.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 12:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363680#M7828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-16T12:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363681#M7829</link>
      <description>&lt;P&gt;Shiva,&lt;/P&gt;&lt;P&gt;What is the input and what is the output from the FM through which you calling a webservice ? What else is checked within that FM to determine whether it is a Success or Failure.Based on that, may be you can get more appropriate suggestions relevant to your requirement.&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 13:50:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363681#M7829</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2017-01-16T13:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363682#M7830</link>
      <description>&lt;P&gt;Thanks Richard and Horst.&lt;/P&gt;&lt;P&gt;Thanks for sharing link. Reason to use this in userexit_save_document that delivery number is generated which we need to pass to web service.&lt;/P&gt;&lt;P&gt;in userexit_save_document_prepare ,Delivery number is not generated. So please suggest is there any possiblity further.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 05:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363682#M7830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-17T05:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363683#M7831</link>
      <description>&lt;P&gt;Off the top of my head I would suggest peeking (ie reading but not updating) at the next number in the relevant number range,  calling your third party service and if that is not ok abandon the delivery.  All of this can be done in save_document_prepare.&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 11:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363683#M7831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-17T11:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback work is not working after calling function in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363684#M7832</link>
      <description>&lt;P&gt;@Richard,&lt;/P&gt;&lt;P&gt;Thanks for your response. We can not do coding in save_document_Prepare as delivery number is not determined yet which we need to send it to third party.&lt;/P&gt;&lt;P&gt;@All, Please suggest if problem of this solution is feasible .&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 05:56:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rollback-work-is-not-working-after-calling-function-in-user-exit/m-p/363684#M7832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-27T05:56:09Z</dc:date>
    </item>
  </channel>
</rss>

