<?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: VBFA Table performance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061138#M1900633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;Did you read and apply suggestion of &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;&lt;A href="http://service.sap.com/sap/support/notes/185530" title="185530  - Performance: Customer developments in SD"&gt;&lt;SPAN lang="EN-US" style="color: blue;"&gt;185530 - Performance: Customer developments in SD&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;c) Search for invoices with delivery number (preceding document, field VBRP-VGBEL):&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;Incorrect:&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT FROM vbrp WHERE vgbel = ...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;Correct:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT FROM vbfa WHERE vbtyp_n = 'M'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND vbelv&amp;nbsp; = ...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT FROM vbrp WHERE vbeln = vbfa-vbeln&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND posnr = vbfa-posnn &lt;/SPAN&gt;&lt;/P&gt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;Else can you post SQL actual statement and trace Access plan explanation from ST05?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;Regards,&lt;BR /&gt; Raymond&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 05:45:57 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2015-05-21T05:45:57Z</dc:date>
    <item>
      <title>VBFA Table performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061134#M1900629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is regarding VBFA table performance,&lt;/P&gt;&lt;P&gt;Iam using VBFA to Get Delivery numbers from Shipment and Invoice numbers from Delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st Select Statement on VBFA&lt;/P&gt;&lt;P&gt;By using Shipment iam getting Deliveries ,it is taking time to get the data.&lt;/P&gt;&lt;P&gt;here iam using all key fields in select Query.&lt;/P&gt;&lt;P&gt;Average Records is around 10K &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd Select Statement on VBFA.&lt;/P&gt;&lt;P&gt;By using Deliveries which we get above statement am getting Billing documents.&lt;/P&gt;&lt;P&gt;this is taking too much time almost 30 to 40min .&lt;/P&gt;&lt;P&gt;here also average records around 10+K.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to resolve this?,Please suggest is there any FM to get data from VBFA or to increase performance of select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Surendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 04:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061134#M1900629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-21T04:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: VBFA Table performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061135#M1900630</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. create secondary index on VBFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best way to get deliveries and billing numbers as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Join LIKP,LIPS get LIKP-VBELN,&amp;nbsp;&amp;nbsp;&amp;nbsp; LIPS-POSNR&amp;nbsp; add your where condition&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Join VBRK,VBRP and pass LIKP-VBELN to VBRP-VGBEL and LIPS-POSNR to VBRP-VGPOS&lt;/P&gt;&lt;P&gt;and get VBRK-VBELN and VBRP-POSNR .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 04:38:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061135#M1900630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-21T04:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: VBFA Table performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061136#M1900631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chandra Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for Reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We cannot create Index as we like ,and to get Deliveries from Shipments we have to use sale flow(VBFA) not LIKP or LIPS .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 04:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061136#M1900631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-21T04:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: VBFA Table performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061137#M1900632</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;yes, your correct it is deliveries from shipments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the below link : there is a common table for shipment and delivery check this once:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="1243918" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="Common Table required for Shipment and Delivery" href="https://community.sap.com/" modifiedtitle="true" title="Common Table required for Shipment and Delivery"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 04:56:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061137#M1900632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-21T04:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: VBFA Table performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061138#M1900633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;Did you read and apply suggestion of &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;&lt;A href="http://service.sap.com/sap/support/notes/185530" title="185530  - Performance: Customer developments in SD"&gt;&lt;SPAN lang="EN-US" style="color: blue;"&gt;185530 - Performance: Customer developments in SD&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;c) Search for invoices with delivery number (preceding document, field VBRP-VGBEL):&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;Incorrect:&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT FROM vbrp WHERE vgbel = ...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;Correct:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT FROM vbfa WHERE vbtyp_n = 'M'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND vbelv&amp;nbsp; = ...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT FROM vbrp WHERE vbeln = vbfa-vbeln&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND posnr = vbfa-posnn &lt;/SPAN&gt;&lt;/P&gt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;Else can you post SQL actual statement and trace Access plan explanation from ST05?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;Regards,&lt;BR /&gt; Raymond&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 05:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061138#M1900633</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-05-21T05:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: VBFA Table performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061139#M1900634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Surendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do not use select statements with VBFA table since it is a time consuming query.&lt;/P&gt;&lt;P&gt;Please use function module 'RV_ORDER_FLOW_INFORMATION' to get the document flow (ie: &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Get Delivery numbers from Shipment and Invoice numbers from Delivery&lt;/SPAN&gt;) . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Result table is 'VBFA_TAB'&lt;BR /&gt;// You can identify the relevant document using VBTYP_N and VBTYP_V fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 06:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbfa-table-performance/m-p/11061139#M1900634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-21T06:54:06Z</dc:date>
    </item>
  </channel>
</rss>

