<?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: Performance Issue when Using BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129423#M1619202</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;Did you doa trace using ST05?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Most probably ST05 will not help in this case as I expect the database time to be constant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2011 14:18:23 GMT</pubDate>
    <dc:creator>yuri_ziryukin</dc:creator>
    <dc:date>2011-09-13T14:18:23Z</dc:date>
    <item>
      <title>Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129420#M1619199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We are creating sales order via BAPI. We are expecting around 2000 per file. At the start of the processing, it creates about 20 orders in a minute. However, as the file progresses, the performance is really degrading. It creates about 5-6 orders in a minute. Is there any idea on how to improve the performance? Is it because of the memory allocation used by the BAPI? BAPI_TRANSACTION_COMMIT is used every after SO is created. I have seen that this BAPI is refreshing the buffers used. Will this suffice? How do I free up the memory used by the BAPI each time I create a new order? I am suspecting this has something to do with memory allocation in the BAPI. I have already used the STARTING NEW TASK with the BAPI, on the hope that it will improve the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Louisse&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Louisse Heartsdale on Sep 13, 2011 3:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 13:17:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129420#M1619199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T13:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129421#M1619200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Louisse,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one possible solution would be to reprogram your sales order creation for parallel processing in separate dialog work processes.&lt;/P&gt;&lt;P&gt;Please refer to this documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e92543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e92543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;  Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 14:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129421#M1619200</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-09-13T14:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129422#M1619201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you doa trace using ST05?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure you dont want to modify the BAPI, but still if you find out what takes him so long (probably some of the selects inside), you could get an idea if providing additional info could speed up those selects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe additional data could help you to hit a index for big selects and so speed up the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But until you dont know WHAT exactly is beeing slow, it´s quite hard to generate an idea on how to speed things up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 14:03:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129422#M1619201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T14:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129423#M1619202</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;Did you doa trace using ST05?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Most probably ST05 will not help in this case as I expect the database time to be constant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 14:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129423#M1619202</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-09-13T14:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129424#M1619203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Currently, this is already being done in my code:&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'Z_V_BAPI_SO_CREATEFROMDAT2_RFC'&lt;/P&gt;&lt;P&gt;          STARTING NEW TASK 'TASK' DESTINATION 'NONE'&lt;/P&gt;&lt;P&gt;          PERFORMING bapi_salesorder_create ON END OF TASK&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            order_header_in      = wa_header&lt;/P&gt;&lt;P&gt;            order_header_inx     = wa_headerx&lt;/P&gt;&lt;P&gt;            logic_switch         = wa_bapisdls&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            return               = t_return&lt;/P&gt;&lt;P&gt;            order_items_in       = t_items&lt;/P&gt;&lt;P&gt;            order_items_inx      = t_itemx&lt;/P&gt;&lt;P&gt;            order_partners       = t_partners&lt;/P&gt;&lt;P&gt;            order_schedules_in   = t_schedules&lt;/P&gt;&lt;P&gt;            order_schedules_inx  = t_schedulesx&lt;/P&gt;&lt;P&gt;            order_conditions_in  = t_conditions&lt;/P&gt;&lt;P&gt;            order_conditions_inx = t_conditionsx&lt;/P&gt;&lt;P&gt;            order_text           = t_texts&lt;/P&gt;&lt;P&gt;            extensionin          = t_extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will already trigger parallel tasks. But the performance is still the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any inputs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Louisse&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 14:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129424#M1619203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T14:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129425#M1619204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have had to deal with a requirement to process create 12,000 orders per night, with up to 45,000 on occasions. We used the standard BAPI, BAPI_SALESORDER_CREATE_FROM_DAT2. The process creates about 15 orders a second in batch. Among the techniques we used were:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chop the data up into 3 sets and have 3 batch jobs running in parallel on the DB server. We were able to do this as the batch load on the machine is low at the time these jobs run. We call BAPI_TRANSACTION every 100 orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We did extensive run time analysis of the BAPI, BAPI_SALESORDER_CREATE_FROM_DAT2 and found that program exits were doing unnecessary extra reads of tables such as KNA1 when the front end program calling the BAPI was already doing this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We found the BAPI spent time calling routines that weren't needed (eg. LIS and Inbound Deliveries). We were unable to see how to switch these off, nor did we want to go 'inside' the BAPI to use the internal FM that SAP would use the create the sales order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sales orders were very simple (no more than 5 lines), but most were rush orders meaning that we were creating a delivery as well.. There was no availability checking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 15:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129425#M1619204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T15:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129426#M1619205</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;starting fast and getting slower suggests (sorry if some of these sound stupid, I am just brainstorming here):&lt;/P&gt;&lt;P&gt;- File being read from the beginning each time.&lt;/P&gt;&lt;P&gt;- intermediate result being selected into internal table in a loop and not cleared for next iteration (table gets bigger each loop)&lt;/P&gt;&lt;P&gt;- SAP - enqueues not released fast enough causing contention&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second thing:&lt;/P&gt;&lt;P&gt;Your calling new tasks with customer function module and call the BAPI as end-of task.&lt;/P&gt;&lt;P&gt;How do you keep track, that all started childs have finished?&lt;/P&gt;&lt;P&gt;Shouldn't you call a customer function on end-of-task to count down that alll tasks are finished&lt;/P&gt;&lt;P&gt;so that your memory is not released too early...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...build packages&lt;/P&gt;&lt;P&gt;loop at packages&lt;/P&gt;&lt;P&gt;  increase counter&lt;/P&gt;&lt;P&gt;  start new task with package (end-of task -&amp;gt; call customer fm, that does processing and decreases counter)&lt;/P&gt;&lt;P&gt;endloop&lt;/P&gt;&lt;P&gt;wait until counter = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Volker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 18:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129426#M1619205</guid>
      <dc:creator>volker_borowski2</dc:creator>
      <dc:date>2011-09-13T18:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129427#M1619206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Volker,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide more context on this? I am not familiar how to do your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Louisse&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 02:09:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129427#M1619206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T02:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129428#M1619207</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;Hi Volker,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Can you provide more context on this? I am not familiar how to do your suggestion.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Thanks,&lt;/P&gt;&lt;P&gt;&amp;gt; Louisse&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Louisse,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is all described in the SAP documentation which I linked in my first reply.&lt;/P&gt;&lt;P&gt;This is just the way to control the number of parallel tasks that you kicked off.&lt;/P&gt;&lt;P&gt;Actually I don't see any reasons of slowing down if you work with parallel tasks (+ controlling the number of simultaniously running tasks) and &lt;U&gt;properly&lt;/U&gt; passing all parameters to the BAPI.&lt;/P&gt;&lt;P&gt;If all of it is already present, then you'll have to do a series of ST12 (ABAP+SQL) trace to see where the time is spent and what functions continuously consume more and more time.&lt;/P&gt;&lt;P&gt;Refer to the blog of Hermann Gahm regarding ST12: /people/hermann.gahm/blog/2010/03/22/st12-150-tracing-user-requests-tasks-http&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 06:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129428#M1619207</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-09-14T06:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129429#M1619208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me provide you more details of the program. First BAPI call is to create the sales order. Afterwhich, we have to update the created SO with the partner function Payer. This was not included in the creation of SO since if the Header and Line Item Payer is different, this will result to an error in the BAPI. Afterwhich the payer is updated, we need to update the Billing Date for the SO again. So in one order creation, there are 3 calls to BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have nailed down the issue. When I go to change the SO, at times it is still locked after the BAPI_TRANSACTION_COMMIT. So I've used the ENQUEUE and DEQEUEUE for SO. However, using the ENQUEUE_EVVBAKE causes performance issues. SO I've tried removing it, and just leave DEQUEUE_EVVBAKE, since my goal is toreally check if the SO is still locked before I start making changes again. However, it didn't work. SO I had to put in the ENQUEUE FM again. Is there any other way that I can check whether the SO is still locked before I start making the changes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Louisse&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 21:02:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129429#M1619208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-15T21:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129430#M1619209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Louisse, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem of this particular BAPI is that the document is "saved" and you cannot change it in memory before the data is committed. This is not the way for example in newer SAP products like CRM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I would like to offer you 2 solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution 1 - change to batch input. And in batch input simulate the change of the payer and billing date like you are in VA01 transaction. This should be possible without actually saveing and committing the document inbetween.&lt;/P&gt;&lt;P&gt;Please note that batch input will have overhead for the PBO/PAI processing and at the end you may end up with approximately the same speed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution 2 - do not work sales order by sales order doing 3 operations, instead do 1st operation for ALL sales orders, then do your second operation for all of them, then third.&lt;/P&gt;&lt;P&gt;Thus you'll make sure that there are no locking issues. However you have to be more careful concerning error handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 08:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129430#M1619209</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-09-16T08:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129431#M1619210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 points based on your suggestions.&lt;/P&gt;&lt;P&gt;1. I am not aware of any BAPI or FM to mass change sales order. So am not sure how to carry out this change&lt;/P&gt;&lt;P&gt;2. We can't have the changes done at a later timing. We need the created SO to be changed as soon as possible. So I am not sure am not gonna go with this approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as other forums, the BAPI_TRANSACTION_COMMIT is supposed to clear all the buffers used by the BAPI. But I don't know why even if this BAPI is used, it seems the buffer memory of BAPI is still not freed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Louisse&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 01:44:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129431#M1619210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-19T01:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129432#M1619211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe there are not enough processes for executing update requests? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can try to put the command "SET UPDATE TASK LOCAL" at the beginning of your FM 'Z_V_BAPI_SO_CREATEFROMDAT2_RFC'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Carsten Grafflage on Sep 19, 2011 12:28 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 09:58:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129432#M1619211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-19T09:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129433#M1619212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Louisse,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably a silly question but... are you refreshing your bapi tables after each call? &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 18:41:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129433#M1619212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T18:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129434#M1619213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Of course I refresh my internal tables. I even used FREE instead of refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Louisse&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 06:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129434#M1619213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T06:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129435#M1619214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlsten,&lt;/P&gt;&lt;P&gt;What does this command do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Louisse&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 06:08:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129435#M1619214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T06:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129436#M1619215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I couldn't explain it better than the documentation: &lt;A href="http://help.sap.com/abapdocu_70/en/ABAPSET_UPDATE_TASK_LOCAL.htm" target="test_blank"&gt;http://help.sap.com/abapdocu_70/en/ABAPSET_UPDATE_TASK_LOCAL.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 07:47:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129436#M1619215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T07:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129437#M1619216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carsten,&lt;/P&gt;&lt;P&gt;Sorry for asking this, but would you know what's gonna be the impact if I have more than a thousand records, and then I am calling the BAPI for 1000 times as well, and I'm setting each call to local task? Will that not disrupt the flow of the program? Sorry, as I haven't used the command before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Louisse&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 08:05:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129437#M1619216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T08:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129438#M1619217</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;OK sorry for the stupid question...;) another one however: Have you tried to use parameter WAIT of the BAPI_TRANSACTION_COMMIT? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise could you paste your main loop section here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 08:20:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129438#M1619217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T08:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue when Using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129439#M1619218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's say you have only two update processes, but you start four parallel worker processes, then two of them have always to wait for their turn (if you have to use COMMIT WORK AND WAIT). But if you use SET UPDATE TASK LOCAL, each of the parallel processes can perform his own update, without the need of the update processes. This can possibly lead to a higher system load, but may be faster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 09:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-using-bapi/m-p/8129439#M1619218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T09:00:29Z</dc:date>
    </item>
  </channel>
</rss>

