<?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: Dump - COMMIT_IN_OS_EVENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662600#M28885</link>
    <description>&lt;P&gt;Hi Raymond.&lt;/P&gt;
  &lt;P&gt;Thank you for the quick reply.&lt;/P&gt;
  &lt;P&gt;Yes that Z fm is not an BAPI but the whole code inside this Z FM is copied from BAPI except that authority check block.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I didn't get your hint.&lt;/P&gt;
  &lt;P&gt;Can you please elaborate it.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Nikesh&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Apr 2018 14:17:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-04-20T14:17:09Z</dc:date>
    <item>
      <title>Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662598#M28883</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I have done enhancement to re trigger release strategy for PO whenever Quantity is decreased.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Our system have recently got upgraded to EHP7.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Before upgrade every this was working fine, but after upgrade it is giving dump - "COMMIT_IN_OS_EVENT".&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I have created Z of BAPI_PO_RESET_RELEASE. In this BAPI, on FM is called - &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;ME_PURCHASE_DOCUMENT_DATA_SAVE.&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;In this FM, one perform is there -&lt;STRONG&gt; PERFORM buchen(sapmm06e).&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;In this Perform, COMMIT WORK is giving dump.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Can you please help me on this.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;You can refer screenshot for reference.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Nikesh &lt;A href="https://answers.sap.com/storage/attachments/131319-commit.jpg"&gt;commit.jpg&lt;/A&gt;&lt;A href="https://answers.sap.com/storage/attachments/131320-dump.jpg"&gt;dump.jpg&lt;/A&gt;&lt;A href="https://answers.sap.com/storage/attachments/131321-fm.jpg"&gt;fm.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 12:02:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662598#M28883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-20T12:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662599#M28884</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;" I have created Z of BAPI_PO_RESET_RELEASE. In this BAPI, on FM is called &lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Your Z-FM is not a BAPI. Does it wraps a transaction, analyze your z-code.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Hints: You could try to either use the I_NO_COMMIT parameter of the called FM, call it in another LUW, call the standard BAPI. (or check current status of application to set this parameter: already in process of commit don't set it, already in update task raise dump solution no longer valid, etc..)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 12:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662599#M28884</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-04-20T12:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662600#M28885</link>
      <description>&lt;P&gt;Hi Raymond.&lt;/P&gt;
  &lt;P&gt;Thank you for the quick reply.&lt;/P&gt;
  &lt;P&gt;Yes that Z fm is not an BAPI but the whole code inside this Z FM is copied from BAPI except that authority check block.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I didn't get your hint.&lt;/P&gt;
  &lt;P&gt;Can you please elaborate it.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Nikesh&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 14:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662600#M28885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-20T14:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662601#M28886</link>
      <description>&lt;P&gt;Did you apply changes provided by SAP in the original BAPI during the upgrade, else could you consider using some enhancement spots to add your own authority-checks or to add those in simple wrapper of the BAPI?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 06:52:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662601#M28886</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-04-23T06:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662602#M28887</link>
      <description>&lt;P&gt;Dear Raymond,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;This time I m using standard BAPI instead of Z.&lt;/P&gt;
  &lt;P&gt;But still same dump is coming.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;But if I m running the BAPI separately in SE37, then it it not giving dump and PO release strategy got reset successfully.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 09:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662602#M28887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-23T09:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662603#M28888</link>
      <description>&lt;P&gt;Where are you calling the BAPI from (some BAdI method?)&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 09:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662603#M28888</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-04-23T09:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662604#M28889</link>
      <description>&lt;P&gt;Hi Raymond,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I have done enhancement in class - CL_OS_CA_COMMON &amp;amp; &lt;/P&gt;
  &lt;P&gt;method - IF_OS_CA_SERVICE~PREPARE_FOR_TOP_TRANSACTION&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 11:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662604#M28889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-23T11:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662605#M28890</link>
      <description>&lt;P&gt;Could you execute the BAPI and the BAPI_TRANSACTION_COMMIT in DESTINATION 'NONE' followed by an explicit call of RFC_CONNECTION CLOSE?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 11:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662605#M28890</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-04-23T11:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662606#M28891</link>
      <description>&lt;P&gt;I used this, but my PO release strategy does not reset.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 12:35:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662606#M28891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-23T12:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662607#M28892</link>
      <description>&lt;P&gt;Did you get some messages in RETURN (not always 'E' type, but can be a 'S' or 'W' message such as 'not released because xxx')&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 12:40:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662607#M28892</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-04-23T12:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662608#M28893</link>
      <description>&lt;P&gt;Copying SAP standard to a Z object is very bad practice and can cause a lot of problems, especially during upgrades. Please reconsider whether you can achieve your requirements differently. E.g. by performing an auth check before calling the BAPI. Or wrapping the BAPI in a Z fn module. Or enhancing the BAPI at an explicit or implicit enhancement point. Or changing the standard. All of these are preferable to copying the standard Z object.&lt;/P&gt;
  &lt;P&gt;Matt Billingham&lt;/P&gt;
  &lt;P&gt;SAP Community Moderator&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 13:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662608#M28893</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-04-23T13:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662609#M28894</link>
      <description>&lt;P&gt;No such message Raymond.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 14:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662609#M28894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-23T14:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662610#M28895</link>
      <description>&lt;P&gt;Thank you Matthew.&lt;/P&gt;
  &lt;P&gt;I have call standard BAPI now , but it is giving same dump at same place.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 14:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662610#M28895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-23T14:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dump - COMMIT_IN_OS_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662611#M28896</link>
      <description>&lt;P&gt;Then try to wrap call of BAPI and its commit in a RFC FM executed IN BACKGROUND UNIT.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 07:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-commit-in-os-event/m-p/662611#M28896</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-04-24T07:04:44Z</dc:date>
    </item>
  </channel>
</rss>

