<?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: fetching records from the VBFA : performance issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-records-from-the-vbfa-performance-issue/m-p/2789620#M650697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratiksha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;P&gt;My problem got solved. i am fetching the records from the vbrp table instead of vbfa table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the notes I referred are  :191492,187906,185530.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically, the query which i have written was giving 100% good performance in development server becoz the data was less. but was not at all running in Quality becoz of the large amount of data.so i used the table vbrp where i can get the invoice and delivery no link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Madhuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2007 02:47:20 GMT</pubDate>
    <dc:creator>Madhurivs23</dc:creator>
    <dc:date>2007-09-17T02:47:20Z</dc:date>
    <item>
      <title>fetching records from the VBFA : performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-records-from-the-vbfa-performance-issue/m-p/2789618#M650695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to fetch the delivery docs correponding to the billing docs &lt;/P&gt;&lt;P&gt;from table vbfa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code IS LIKE THIS :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_bill_list table contains the invoice nos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select distinct&lt;/P&gt;&lt;P&gt;      vbelv&lt;/P&gt;&lt;P&gt;      vbeln&lt;/P&gt;&lt;P&gt;        into table t_bill_del_data&lt;/P&gt;&lt;P&gt;        from vbfa&lt;/P&gt;&lt;P&gt;        for all entries in t_bill_list&lt;/P&gt;&lt;P&gt;        where vbeln eq t_bill_list-vbeln&lt;/P&gt;&lt;P&gt;        and   vbtyp_v = 'J'&lt;/P&gt;&lt;P&gt;        and vbtyp_n = 'M'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above query was taking time so i changed that to --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code 2)&lt;/P&gt;&lt;P&gt;loop at t_bill_list into wa_bill_list.&lt;/P&gt;&lt;P&gt;    select single&lt;/P&gt;&lt;P&gt;          vbelv&lt;/P&gt;&lt;P&gt;          vbeln&lt;/P&gt;&lt;P&gt;            into wa_bill_del_data&lt;/P&gt;&lt;P&gt;            from vbfa&lt;/P&gt;&lt;P&gt;            where vbeln eq wa_bill_list-vbeln&lt;/P&gt;&lt;P&gt;            and   vbtyp_v = 'J'&lt;/P&gt;&lt;P&gt;            and vbtyp_n = 'M'.&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      append wa_bill_del_data to t_bill_del_data.&lt;/P&gt;&lt;P&gt;      clear wa_bill_del_data.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both the queries have poor performance in quality system because of large amount of data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other table other than vbfa?&lt;/P&gt;&lt;P&gt;Or how should i fetch the records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;Madhuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Sep 2007 09:40:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-records-from-the-vbfa-performance-issue/m-p/2789618#M650695</guid>
      <dc:creator>Madhurivs23</dc:creator>
      <dc:date>2007-09-16T09:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: fetching records from the VBFA : performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-records-from-the-vbfa-performance-issue/m-p/2789619#M650696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First check the no. of entries in the internal table you have used in FOR ALL ENTRIES. If ur internal table is empty then the select query will fetch all the records from table VBFA. Hence before executing select query write a if condition as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT t_bill_list is initial.&lt;/P&gt;&lt;P&gt;Select query&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second option is try using inner join and measure the performanace.. Compare the performance for Inner join and For all entries. The one which takes less time would be the best option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Sep 2007 15:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-records-from-the-vbfa-performance-issue/m-p/2789619#M650696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-16T15:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: fetching records from the VBFA : performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-records-from-the-vbfa-performance-issue/m-p/2789620#M650697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratiksha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;P&gt;My problem got solved. i am fetching the records from the vbrp table instead of vbfa table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the notes I referred are  :191492,187906,185530.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically, the query which i have written was giving 100% good performance in development server becoz the data was less. but was not at all running in Quality becoz of the large amount of data.so i used the table vbrp where i can get the invoice and delivery no link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Madhuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 02:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-records-from-the-vbfa-performance-issue/m-p/2789620#M650697</guid>
      <dc:creator>Madhurivs23</dc:creator>
      <dc:date>2007-09-17T02:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: fetching records from the VBFA : performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-records-from-the-vbfa-performance-issue/m-p/2789621#M650698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My problem got solved. i am fetching the records from the vbrp table instead of vbfa table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the notes I referred are  :191492,187906,185530.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically, the query which i have written was giving 100% good performance in development server becoz the data was less. but was not at all running in Quality becoz of the large amount of data.so i used the table vbrp where i can get the invoice and delivery no link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Madhuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 02:47:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-records-from-the-vbfa-performance-issue/m-p/2789621#M650698</guid>
      <dc:creator>Madhurivs23</dc:creator>
      <dc:date>2007-09-17T02:47:46Z</dc:date>
    </item>
  </channel>
</rss>

