<?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: Nested perform on commit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176280#M1822640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found out that it is a problem with BAPI_BUPA_FRG0040_CREATE and BAPI_BUPA_FRG0040_CHANGE because both call a commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It currently works for the Web UI but not for MSA, so to answer your question about integrating with MSA only...that is a no. This seems to be getting more complicated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2014 17:41:24 GMT</pubDate>
    <dc:creator>brandongailey</dc:creator>
    <dc:date>2014-03-19T17:41:24Z</dc:date>
    <item>
      <title>Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176270#M1822630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I figure out where the program is being commited at?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Technical information about the message:&lt;/P&gt;&lt;P&gt; Message class....... 00&lt;/P&gt;&lt;P&gt; Number.............. 081&lt;/P&gt;&lt;P&gt; Variable 1.......... "NESTED_PERFORM_ON_COMMIT"&lt;/P&gt;&lt;P&gt; Variable 2.......... "caller: SAPLCRM_BUPA_CRMD_DIALOG"&lt;/P&gt;&lt;P&gt; Variable 3.......... "program: SAPLCRM_BUPA_CRMD_DIALOG"&lt;/P&gt;&lt;P&gt; Variable 4.......... "form: BAPI_SAVE_BUFFER"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 18:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176270#M1822630</guid>
      <dc:creator>brandongailey</dc:creator>
      <dc:date>2014-03-18T18:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176271#M1822631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you mean where your program is running?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try, for exemple, SM66.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 19:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176271#M1822631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-18T19:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176272#M1822632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not exactly. This is the first time I have run into a NESTED_PERFORM_ON_COMMIT dump and I am not sure how to figure out where it is located at....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 19:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176272#M1822632</guid>
      <dc:creator>brandongailey</dc:creator>
      <dc:date>2014-03-18T19:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176273#M1822633</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;The way I understand it, somewhere in Form &lt;SPAN style="color: #333333; font-size: 12px;"&gt;BAPI_SAVE_BUFFER, which is executed on commit,&lt;/SPAN&gt; some logic tries to register another/same formroutine ON COMMIT.&amp;nbsp; You'd need to set breakpoint in Form &lt;SPAN style="color: #333333; font-size: 12px;"&gt;BAPI_SAVE_BUFFER of &lt;SPAN style="color: #333333; font-size: 12px;"&gt;SAPLCRM_BUPA_CRMD_DIALOG and enable &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Settings -&amp;gt; Update debugging&lt;/SPAN&gt; in new debugger to debug that, I think.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe OSS Note &lt;A href="http://service.sap.com/sap/support/notes/1811416" title="1811416  - Dump NESTED_PERFORM_ON_COMMIT occurs while saving BP"&gt;1811416 - Dump NESTED_PERFORM_ON_COMMIT occurs while saving BP&lt;/A&gt; is relevant as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Janis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 20:45:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176273#M1822633</guid>
      <dc:creator>Private_Member_7726</dc:creator>
      <dc:date>2014-03-18T20:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176274#M1822634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is what the code looks like in BAPI_SAVE_BUFFER&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FORM bapi_save_buffer&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S31"&gt;* Local data.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;lv_global_memory &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;REF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;lcl_fragment_global_memory&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S31"&gt;* Save the content of the global memory.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;lcl_fragment_global_memory&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;get_instance&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING &lt;/SPAN&gt;ev_instance &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_global_memory&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;lv_global_memory&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;save_to_database&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING &lt;/SPAN&gt;iv_in_update_task &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;gc_x&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;ENDFORM&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;I do not think any OSS notes apply to my situation because I am getting this error only when using the MSA. Let me know if I am wrong in my assumptions.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 21:05:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176274#M1822634</guid>
      <dc:creator>brandongailey</dc:creator>
      <dc:date>2014-03-18T21:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176275#M1822635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have access to CRM System, but my guess is the abort happens somewhere within &lt;SPAN style="color: #333333; font-size: 12px; font-family: 'courier new', courier;"&gt;CALL &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;METHOD &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;lv_global_memory&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; color: #333333;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;save_to_database &lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;chain&lt;/SPAN&gt;&lt;/SPAN&gt;. I'd try to do the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;1) go to SE91 and do a where used list for message number 081 of message class 00; you should find two uses in program SAPMSSY0; it's the first one, in subroutine %_order_form_level, that is of interest;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;2) set the break-point on the &lt;SPAN style="font-family: 'courier new', courier;"&gt;message x081(00) with mpar1 mpar2 mpar3 mpar4 &lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;statement or just before it&lt;/SPAN&gt; &lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;(it's the line number 89 of program SAPMSSY0 in my system);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; font-family: arial, helvetica, sans-serif;"&gt;3) enable System Debugging and Update Debugging via Debugger menu Settings-&amp;gt;Change Debugger Profile/Settings&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; font-family: arial, helvetica, sans-serif;"&gt;4) run the logic that triggers shortdump; debugger should open just before shortdump and hopefully you should be able to figure out the call chain that leads to this error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;What's MSA?&lt;/SPAN&gt; Edit in: &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Ok, I found what's MSA&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/651/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; Does that mean you will not be able to debug what's happening in CRM..? Then I'm out of ideas, unfortunately...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Janis&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 21:43:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176275#M1822635</guid>
      <dc:creator>Private_Member_7726</dc:creator>
      <dc:date>2014-03-18T21:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176276#M1822636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did figure out a way to debug. When debugging and setting a break point at the line you suggested (which makes sense) it skips from line 74 to 93&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;74&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if sy-oncom = 'P'.&lt;/P&gt;&lt;P&gt;75 *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; already in PERFORM ON COMMIT&lt;/P&gt;&lt;P&gt;76&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call 'C_SAPGPARAM' id 'NAME'&amp;nbsp; field 'abap/allow_nested_poc'&amp;nbsp; "#EC CI_CCALL&lt;/P&gt;&lt;P&gt;77&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id 'VALUE' field allow_nested_poc.&lt;/P&gt;&lt;P&gt;78&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if allow_nested_poc &amp;lt;&amp;gt; 'X'.&lt;/P&gt;&lt;P&gt;79 *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nested PERFORM ON COMMIT not allowed&lt;/P&gt;&lt;P&gt;80&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call 'AB_GET_CALLER' id 'PROGRAM' field caller.&amp;nbsp; "#EC CI_CCALL&lt;/P&gt;&lt;P&gt;81&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if caller &amp;lt;&amp;gt; 'SAPMSSY0'.&lt;/P&gt;&lt;P&gt;82&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mpar1 = 'NESTED_PERFORM_ON_COMMIT'.&lt;/P&gt;&lt;P&gt;83&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concatenate 'caller:'&amp;nbsp; caller into mpar2 separated by ' '.&lt;/P&gt;&lt;P&gt;84&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concatenate 'program:' prog&amp;nbsp;&amp;nbsp; into mpar3 separated by ' '.&lt;/P&gt;&lt;P&gt;85&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concatenate 'form:'&amp;nbsp;&amp;nbsp;&amp;nbsp; rout&amp;nbsp;&amp;nbsp; into mpar4 separated by ' '.&lt;/P&gt;&lt;P&gt;86 *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch back kernel flag: just for sure.&lt;/P&gt;&lt;P&gt;87&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call 'SET_SWITCH_TXEND' id 'STATE' field ' '.&amp;nbsp; "#EC CI_CCALL&lt;/P&gt;&lt;P&gt;88 *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; issue short dump&lt;/P&gt;&lt;P&gt;89&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; message x081(00) with mpar1 mpar2 mpar3 mpar4.&lt;/P&gt;&lt;P&gt;90&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;91&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;92&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt; 93&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; read table orders&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Continuing to debug to try to find something...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 13:22:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176276#M1822636</guid>
      <dc:creator>brandongailey</dc:creator>
      <dc:date>2014-03-19T13:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176277#M1822637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found where the error is happening, trying to understand why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function /MSA/MD_BIPA_CREATE CALLS Funtion 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wait&amp;nbsp;&amp;nbsp; = lc_x&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return = ls_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My custom method calls&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'BAPI_BUPA_FRG0040_CREATE'&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALL FUNCTION 'CRM_BUPA_FRG0040_CREATE'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IV_PARTNER_GUID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = GV_PARTNER_GUID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IS_DATA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = GS_SALES_CLASS_DATA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ET_RETURN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = RETURN[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above function performs the following:&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp; Register the global buffer for saving.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERFORM bapi_save_buffer ON COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which does this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if sy-oncom = 'P'.&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; already in PERFORM ON COMMIT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call 'C_SAPGPARAM' id 'NAME'&amp;nbsp; field 'abap/allow_nested_poc'&amp;nbsp; "#EC CI_CCALL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id 'VALUE' field allow_nested_poc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if allow_nested_poc &amp;lt;&amp;gt; 'X'.&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nested PERFORM ON COMMIT not allowed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call 'AB_GET_CALLER' id 'PROGRAM' field caller.&amp;nbsp; "#EC CI_CCALL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if caller &amp;lt;&amp;gt; 'SAPMSSY0'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mpar1 = 'NESTED_PERFORM_ON_COMMIT'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concatenate 'caller:'&amp;nbsp; caller into mpar2 separated by ' '.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concatenate 'program:' prog&amp;nbsp;&amp;nbsp; into mpar3 separated by ' '.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concatenate 'form:'&amp;nbsp;&amp;nbsp;&amp;nbsp; rout&amp;nbsp;&amp;nbsp; into mpar4 separated by ' '.&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch back kernel flag: just for sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call 'SET_SWITCH_TXEND' id 'STATE' field ' '.&amp;nbsp; "#EC CI_CCALL&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; issue short dump&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; message x081(00) with mpar1 mpar2 mpar3 mpar4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 14:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176277#M1822637</guid>
      <dc:creator>brandongailey</dc:creator>
      <dc:date>2014-03-19T14:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176278#M1822638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that I need to either find a way for FUNCTION 'BAPI_BUPA_FRG0040_CREATE' to not commit or find another way to set the flag that does not make me commit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 14:10:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176278#M1822638</guid>
      <dc:creator>brandongailey</dc:creator>
      <dc:date>2014-03-19T14:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176279#M1822639</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;Congrats! &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/651/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; Now the hard stuff continues - finding safe integration point for custom logic... I wouldn't try to force anything on BAPI_BUPA_FRG0040_CREATE (at least not until exploring other possibilities).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How (some BADI, user exit, something else?), and on what conditions, is your method getting triggered currently? Does it need to be integrated with MSA at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it need to be integrated with MSA only? If yes, I'd try to find (or even create by implementing some implicit enhancement point) an integration point so it gets called BEFORE MSA commits (calls 'BAPI_TRANSACTION_COMMIT'). That way your changes too would be in the MSA LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not absolutely necessary to have your changes within MSA LUW (merely doing them after MSA has committed is enough), you could wrap the logic of your method in an event handler method for CL_SYSTEM_TRANSACTION_STATE=&amp;gt;TRANSACTION_FINISHED event instead, and in the current method merely register the event handler. TRANSACTION_FINISHED is actually more suitable for "cleanup" (it gets trigerred on ROLLBACK as well!), but if it suits your requirements and there is some logic that would commit your updates - why not? Let me know if you need example how to create and register TRANSACTION_FINISHED handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the logic needs to integrate with MSA and with some other SAP functionality then it get's even more complicated... If the changes must not necessarily be within SAP LUWs, I'd probably switch on BOR Event Trace in SWELS and look for appropriate event in SWEL in order to do the changes asynchronously via some "loose coupling" BOR event handler. If there are no suitable events, i'd try to program and trigger my own... If your changes must be within SAP LUWs, it's hard to suggest something without being able to explore SAP code you need to integrate with...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exciting stuff... &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/651/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Janis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 15:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176279#M1822639</guid>
      <dc:creator>Private_Member_7726</dc:creator>
      <dc:date>2014-03-19T15:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176280#M1822640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found out that it is a problem with BAPI_BUPA_FRG0040_CREATE and BAPI_BUPA_FRG0040_CHANGE because both call a commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It currently works for the Web UI but not for MSA, so to answer your question about integrating with MSA only...that is a no. This seems to be getting more complicated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 17:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176280#M1822640</guid>
      <dc:creator>brandongailey</dc:creator>
      <dc:date>2014-03-19T17:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nested perform on commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176281#M1822641</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;If by "both call a commit" you mean PERFORM &amp;lt;routine to save data&amp;gt; ON COMMIT, then yes - that's the way how SAP Business Partner BAPIs (or rather the BP API, which is wrapped by BAPI) often (if not always) builds the LUWs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MSA uses CRM Business Partner BAPI to create business partner. The custom logic should get triggered upon creating CRM business partner and already works as intended when the partner is created over Web UI - do I get it right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;janis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 07:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-perform-on-commit/m-p/10176281#M1822641</guid>
      <dc:creator>Private_Member_7726</dc:creator>
      <dc:date>2014-03-20T07:04:14Z</dc:date>
    </item>
  </channel>
</rss>

