<?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: posting document by BAPI vs BDC using RFC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416078#M1243485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Appreciated if anyone can provide any other helpful info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2009 01:22:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-23T01:22:35Z</dc:date>
    <item>
      <title>posting document by BAPI vs BDC using RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416075#M1243482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We change to use BAPI update via RFC from legacy system instead of BDC. i.e. BAPI_ACC_DOCUMENT_POST and BAPI_ACC_DOCUMENT_CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In test environment, the performance is improved. Only 1/2 original time. However, it is no improvement in PRD. Is there any configuration or parameter I can further check in PRD (either in BAPI or RFC) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot,&lt;/P&gt;&lt;P&gt;Doris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Doris Kam on Apr 9, 2009 4:35 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 08:34:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416075#M1243482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T08:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: posting document by BAPI vs BDC using RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416076#M1243483</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;1. How do you place your commit work statement or BAPI_COMMIT_TRANSACTION in the program? Do you commit it for every transaction or a group of transactions? SAP recommends to issue commit command for every 100 up to 1000 transactions. To be safe, you can use it for every 500 transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. What about your other ABAP statement? Do you have nested LOOP, nested SELECT? Could you use field symbols instead of work area in looping the internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lim...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 08:11:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416076#M1243483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-14T08:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: posting document by BAPI vs BDC using RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416077#M1243484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. We use COMMIT WORK after BAPI_ACC_DOCUMENT_POST. Only one FI document will be included when the program is being called. We call RFC again if more than one document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. We use two LOOP only, read header and then detail records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, document contains average 500 line items and it takes 6+ minutes to complete one RFC. However, it takes less than one minutes for a document with 800 line items in test environment. Wonder why so big difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 02:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416077#M1243484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T02:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: posting document by BAPI vs BDC using RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416078#M1243485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Appreciated if anyone can provide any other helpful info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 01:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416078#M1243485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T01:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: posting document by BAPI vs BDC using RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416079#M1243486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to your test environment, and do:&lt;/P&gt;&lt;P&gt;1. SE30, and try to check the performance analysis result&lt;/P&gt;&lt;P&gt;2. ST05, and try to see which SQL statement that caused the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this 2 tools, you might get different view, like it may be not the BAPI that is costly but the select or loop statements elsewhere in the program. It's hard to tell you if we don't see the trace or log result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lim...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 01:31:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416079#M1243486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T01:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: posting document by BAPI vs BDC using RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416080#M1243487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should try to find out where the time is spent, actual processing or RFC communication. What if a document is posted directly in the remote systems (not via RFC), is the processing time the same in test and production? If yes, then there might be a network problem or bottleneck of some sort.&lt;/P&gt;&lt;P&gt;There is also an "RFC Trace" in SAP, which I have not used in practice yet, so maybe you can google up some info or wait for other replies here.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 08:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-document-by-bapi-vs-bdc-using-rfc/m-p/5416080#M1243487</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-04-23T08:17:17Z</dc:date>
    </item>
  </channel>
</rss>

