<?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: exception error in function module MC_EXCEPTION_EVENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265378#M1914911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was your reference to Z BAPI above that misled me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK - so you're just using the BAPI directly. Nonetheless, place a breakpoint at the indicated place and see what the value is. It still looks to me like missing configuration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 11:33:22 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2015-08-25T11:33:22Z</dc:date>
    <item>
      <title>exception error in function module MC_EXCEPTION_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265372#M1914905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I am facing issue with exception raised from Function Module MC_EXCEPTION_EVENT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;This function module is being called inside BAPI BAPI_TRANSACTION_COMMIT from COMMIT WORK statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Throwing error "No event-driven analysis for program ".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/776194" width="450" /&gt;&lt;/P&gt;&lt;P&gt;please share your thoughts to suppress/bi-pass this exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Rajendra Nagiri&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:03:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265372#M1914905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-24T07:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: exception error in function module MC_EXCEPTION_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265373#M1914906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do not want to suppress nor bypass the error. This is just covering up the symptom. You want to find out what is causing it, and then address that cause - this curing the problem. I hope you understand the difference. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a meaningful answer you must supply more information about the context. I assume you are not simply calling BAPI_TRANSACTION_COMMIT as the only action in your program? Also, have you search for a note, to see if this error has already be encountered and addressed? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 08:34:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265373#M1914906</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2015-08-24T08:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: exception error in function module MC_EXCEPTION_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265374#M1914907</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;your first step should be to determine if the error/exception is correct. Usually there is a valid reason for preventing you to update masterdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find the reason to be invalid then you should search OSS to see if this problem is acknowledged and if there is a fix for it, this happens sometimes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You never try to force your way through eceptions, because that can lead to corrupt master data, which can and will lead to huge losses (think Millions) for the company that you are working for and you don't want that to happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Rob Dielemans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 09:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265374#M1914907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-24T09:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: exception error in function module MC_EXCEPTION_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265375#M1914908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am trying to update MFBF via 'Z' BAPI.&lt;/P&gt;&lt;P&gt;after BAPI i am calling &lt;SPAN style="color: #333333; font-size: 12px;"&gt;BAPI_TRANSACTION_COMMIT .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;the message is not stopping any process. but if it is of some meaing like "document not posted" or " data updated successfully" that will be fine..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 16px; background-color: #f8f8f8;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;"No event-driven analysis for program"&lt;/SPAN&gt;&amp;nbsp; has no meaning to understand..&lt;/SPAN&gt;&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;Rajendra Nagiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:04:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265375#M1914908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-24T14:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: exception error in function module MC_EXCEPTION_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265376#M1914909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is not in fact caused by &lt;STRONG&gt;BAPI_TRANSACTION_COMMI&lt;/STRONG&gt;T. What is happening is that when the commit happens, the form &lt;STRONG&gt;UPDATE_FROM_INT&lt;/STRONG&gt; in &lt;STRONG&gt;LMCB1F10&lt;/STRONG&gt; is called. This is because &lt;STRONG&gt; mcinf_update_all&lt;/STRONG&gt; in &lt;STRONG&gt;LMCB1F10&lt;/STRONG&gt; has this piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;STRONG&gt;PERFORM &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;update_from_int &lt;SPAN class="L0S52"&gt;ON &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;COMMIT&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Therefore the problem lies firmly within the Inventory Controlling module, specifically in the updating of Inventory Controlling Statistics.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Looking at the code within the form issuing the error, it looks like a program isn't registered in some configuration table. Try re-running your test and find out what the value of &lt;STRONG&gt;prog_tab-fprof&lt;/STRONG&gt; is a the place the error in thrown. I'd bet that it is a Z program - perhaps your "Z" Bapi.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;No, you've hinted that you've copied a standard BAPI into the Z name space for your own purposes. Not only does this cause problems such as you are experiencing, it is also a profoundly bad thing to do. The reasons it is bad are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;1. Patches and fixes to the original BAPI won't get applied. This can lead to your Z-bapi becoming syntactically incorrect, or even having (over time) incorrect logic, leading to corruption of your data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;2. It is exactly the same as writing your own code to update standard SAP tables. If that happens, then the terms of support with SAP will almost certainly have been broken, and your client/employer will have to pay $$$$$$$ to fix it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I strongly recommend you find another route to address the business requirement. Modifying the standard is a safer approach than cloning a standard program. Perhaps if you shared why you've made a copy, suggestions could be made as to safer ways to achieve the requirement. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 08:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265376#M1914909</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2015-08-25T08:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: exception error in function module MC_EXCEPTION_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265377#M1914910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the places and form names you've are &lt;STRONG&gt;PERFECT&lt;/STRONG&gt; match with my requirement.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;This is the only place I am getting the error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Also I am&amp;nbsp; not using any Z bapi , in Z inbound IDOC function module I am caling BAPI "BAPI_REPMANCONF1_CREATE_MTS" (&lt;SPAN style="color: #545454; font-family: arial, sans-serif;"&gt;Execute Backflush in Stock&lt;/SPAN&gt;)and then calling &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: #ffffff; font-size: 12px;"&gt;BAPI_TRANSACTION_COMMIT( for commit).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: #ffffff; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: #ffffff; font-size: 12px;"&gt;i've verified the below notes also, but no clues..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: #ffffff; font-size: 12px;"&gt;&lt;A href="http://service.sap.com/sap/support/notes/390918" style="font-family: Arial, Helvetica, sans-serif; background-color: #cbdbea;" title="390918  - IS-M/AM: LIS deadlock in update / dump with order"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;390918 - IS-M/AM: LIS deadlock in update / dump with order&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: #ffffff; font-size: 12px;"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;A href="http://service.sap.com/sap/support/notes/376750" style="font-family: Arial, Helvetica, sans-serif; background-color: #cbdbea;" title="376750  - LIS: deadlocks due to unsorted PROGTAB"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;376750 - LIS: deadlocks due to unsorted PROGTAB&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: #ffffff; font-size: 12px;"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: #ffffff; font-size: 12px;"&gt;&lt;SPAN class="title" style="color: #000000;"&gt;&lt;SPAN class="title" style="color: #000000;"&gt;do I need to implement any notes for this issue. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: #ffffff; font-size: 12px;"&gt;&lt;SPAN class="title" style="color: #000000;"&gt;&lt;SPAN class="title" style="color: #000000;"&gt;share your thoughts..&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: #ffffff; font-size: 12px;"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: #ffffff; font-size: 12px;"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background: #ffffff; font-size: 12px;"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;Rajendra Nagiri&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 11:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265377#M1914910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-25T11:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: exception error in function module MC_EXCEPTION_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265378#M1914911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was your reference to Z BAPI above that misled me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK - so you're just using the BAPI directly. Nonetheless, place a breakpoint at the indicated place and see what the value is. It still looks to me like missing configuration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 11:33:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265378#M1914911</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2015-08-25T11:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: exception error in function module MC_EXCEPTION_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265379#M1914912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;apologies for misleading you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the exception function module causing problem. sy-subrc is always 1.&lt;/P&gt;&lt;P&gt;the FM has an exception inside it.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/777232" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajendra Nagiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 11:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265379#M1914912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-25T11:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: exception error in function module MC_EXCEPTION_EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265380#M1914913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;" place a breakpoint at the indicated place and see what the value is."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 12:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-error-in-function-module-mc-exception-event/m-p/11265380#M1914913</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2015-08-25T12:08:16Z</dc:date>
    </item>
  </channel>
</rss>

