<?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: processing happens only in debug mode. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238807#M1629894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within the standar include LCOIHF2V, there is an exhancement section called ENHANCEMENT-SECTION  FCODE_BU2_04 SPOTS ES_SAPLCOIH. I am calling my RFC FM just before CO_ZV_ORDER_POST.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2011 06:18:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-10-13T06:18:48Z</dc:date>
    <item>
      <title>processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238792#M1629879</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;I am calling an RFC enabled FM BAPI_ALM_NOTIF_DATA_MODIFY and BAPI_ALM_NOTIF_SAVE to modify the data of a notification. These function modules are called within another FM which is also a RFC called in background as a separate task. The problem here is that, the data gets modified fine only when I am in the debugging mode and execute it. But if I execute without going to the debug mode, I cannot modify the notification data. Kindly suggest why this is happening and what the solution is. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 05:18:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238792#M1629879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T05:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238793#M1629880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying calling a wait for 2 sec and commit and then try&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 05:21:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238793#M1629880</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2011-10-13T05:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238794#M1629881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you called BAPI_TRANSACTION_COMMIT too ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 05:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238794#M1629881</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-10-13T05:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238795#M1629882</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;I have tried the wait option but doesn't work. I do not think I can use a commit statement because the Function module inside which I am calling these 2 FMs is inturn being called within an enhancement section. This main FM is called in background task as a separate unit. Can I use a commit work inside such a FM inspite of the fact that it is called inside an enhancement section?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 05:31:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238795#M1629882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T05:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238796#M1629883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just call BAPI_TRANSACTION_COMMIT after the FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 05:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238796#M1629883</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2011-10-13T05:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238797#M1629884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh Sorry for the suggestion !!! Didnt get your question properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This main FM is called in background task as a separate unit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this enhancement gets triggered after the actual transactional flow, i.e actual commit of the transaction ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 05:39:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238797#M1629884</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-10-13T05:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238798#M1629885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Smitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the BAPI documentation Commit work BAPI is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try calling the BAPI in Update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anmol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 05:42:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238798#M1629885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T05:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238799#M1629886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes there is a function module inside the enhancement section which does the save of the order. When i checked in debug mode, I found that the main FM gets triggered as soon as the order save FM is executed. And I believe that there is a commit work inside this order save FM. Is there any other way I can run around this without using a commit work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 05:47:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238799#M1629886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T05:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238800#M1629887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I believe that there is a commit work inside this order save FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your functions are gettign called after the actual commit work of the transaction then a commit work is required for your operations else try to perform your operations in background task before tha actual commit of the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 05:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238800#M1629887</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-10-13T05:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238801#M1629888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok here is a brief decsription of what I am actually doing. I have an enhancement section where the order save happens. Just before the order save FM, I am calling a custom FM which is RFC enabled. I call this FM in background task as a separate unit. Inside this FM, I am calling NOTIF_MODIFY and NOTIF_SAVE FMs. One more thing I am doing here is, calling of another FM (STATUS_CHANGE_INTERN) to change the notification status. This is happening perfectly fine even when I am not using any commit work. The only problem is with NOTIF_DATA_MODIFY. If commit work was the solution then why is it working fine in the debug mode and why is the notif status getting updated? There should be some other reason for this. Is it the way I am calling these 2 FMs. Both BAPI_ALM_NOTIF_DATA_MODIFY and BAPI_ALM_NOTIF_SAVE are RFCs. Is there a specific way I have to call these FMs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238801#M1629888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T06:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238802#M1629889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One other thing to add to this is that, I have tried calling these 2 FMs using a background task. But still the same problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:02:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238802#M1629889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T06:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238803#M1629890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If commit work was the solution then why is it working fine in the debug mode and why is the notif status getting updated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commit happens implicitly in each steps while debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that RFC called as background task only gets executed when the comit work gets triggered, this is the reason i asked that whether your code is written after or before the actual commit of the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:04:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238803#M1629890</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-10-13T06:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238804#M1629891</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;       Bapi_commit_transaction is a function module as well and you can use it with in your function module if not.&lt;/P&gt;&lt;P&gt;      you can write an executable program and can write you bapi_commit_transaction in the that executable program and can use call transaction 'ztcode'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:05:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238804#M1629891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T06:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238805#M1629892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written the background task FM before the order save FM which does the commit work. So what should I do to overcome this problem of execution happening only in debug mode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:09:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238805#M1629892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T06:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238806#M1629893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the standard fm called by the transaction and the place where you have applied your enhancement ? let me check it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:14:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238806#M1629893</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-10-13T06:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238807#M1629894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within the standar include LCOIHF2V, there is an exhancement section called ENHANCEMENT-SECTION  FCODE_BU2_04 SPOTS ES_SAPLCOIH. I am calling my RFC FM just before CO_ZV_ORDER_POST.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238807#M1629894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T06:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238808#M1629895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within the standard include LCOIHF2V, there is an exhancement section called ENHANCEMENT-SECTION  FCODE_BU2_04 SPOTS ES_SAPLCOIH. I am calling my RFC FM just before CO_ZV_ORDER_POST.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238808#M1629895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T06:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238809#M1629896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think so your custom result is overwritten by the actual function in the queue . So you have to add you code just before the actual commit work of the transaction. in debugging mode may be your custom code executes first and the data is immediately replicated, did you check hitting f8 in debugiing mode after your code gets executed. Verify the result after F8, it will not be your desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238809#M1629896</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-10-13T06:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238810#M1629897</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;I did just as per what you said. That is set an enternal breakpoint in my FM, executed the transaction and waited till my FM gets triggered. And then simply pressed an F8. And it works fine this way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 07:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238810#M1629897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T07:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: processing happens only in debug mode.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238811#M1629898</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;are you using a different destination when calling the function module (f.i. DESTINATION 'NONE')? If that is the case, the you should call function BAPI_TRANSACTION_COMMIT with the same destination. If not, could you copy the exact way you call the function here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 07:15:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-happens-only-in-debug-mode/m-p/8238811#M1629898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T07:15:57Z</dc:date>
    </item>
  </channel>
</rss>

