<?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 Performance issue with REGUP table data extraction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-regup-table-data-extraction/m-p/591217#M23841</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;We have a requirement to display all the FI documents which are not in payment proposal (REGUP-XVORL &amp;lt;&amp;gt; 'X') based on selection screen parameters.&lt;/P&gt;
  &lt;P&gt;Currently in our production system the no. of entries in REGUP table are too large (crores of entries are present).&lt;/P&gt;
  &lt;P&gt;So when i try to get the entries from REGUP where BELNR as the FI document and XVORL as 'X'. Please note the no. of FI documents I am using are less than 10,000.&lt;/P&gt;
  &lt;P&gt;But to extract the data from REGUP table it is taking lot of time(sometimes it is even dumping timeout issue).&lt;/P&gt;
  &lt;P&gt;My query is:&lt;/P&gt;
  &lt;P&gt;1. Is there a way that can improve the performance of my select query to REGUP table.&lt;/P&gt;
  &lt;P&gt;2. Is there any other way/table by which i can check whether the FI document is under payment proposal or not.&lt;/P&gt;
  &lt;P&gt;Please share your inputs on this.&lt;/P&gt;
  &lt;P&gt;Thanks &lt;/P&gt;
  &lt;P&gt;Balaji.A&lt;/P&gt;</description>
    <pubDate>Mon, 26 Mar 2018 09:55:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-03-26T09:55:33Z</dc:date>
    <item>
      <title>Performance issue with REGUP table data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-regup-table-data-extraction/m-p/591217#M23841</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;We have a requirement to display all the FI documents which are not in payment proposal (REGUP-XVORL &amp;lt;&amp;gt; 'X') based on selection screen parameters.&lt;/P&gt;
  &lt;P&gt;Currently in our production system the no. of entries in REGUP table are too large (crores of entries are present).&lt;/P&gt;
  &lt;P&gt;So when i try to get the entries from REGUP where BELNR as the FI document and XVORL as 'X'. Please note the no. of FI documents I am using are less than 10,000.&lt;/P&gt;
  &lt;P&gt;But to extract the data from REGUP table it is taking lot of time(sometimes it is even dumping timeout issue).&lt;/P&gt;
  &lt;P&gt;My query is:&lt;/P&gt;
  &lt;P&gt;1. Is there a way that can improve the performance of my select query to REGUP table.&lt;/P&gt;
  &lt;P&gt;2. Is there any other way/table by which i can check whether the FI document is under payment proposal or not.&lt;/P&gt;
  &lt;P&gt;Please share your inputs on this.&lt;/P&gt;
  &lt;P&gt;Thanks &lt;/P&gt;
  &lt;P&gt;Balaji.A&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 09:55:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-regup-table-data-extraction/m-p/591217#M23841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-26T09:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with REGUP table data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-regup-table-data-extraction/m-p/591218#M23842</link>
      <description>&lt;P&gt;You surely noticed that REGUP is a Cluster Table, so actual keys are those of REGUC but XVORL is only 4th key, so not fulfilling your requirement and no index can be built on it, and any select without the key produce a whole table read... (Did you use ST05 to analyze SQL trace)&lt;/P&gt;
  &lt;P&gt;Could you consider using the 'Blocked Account Table' BWKS in your query, this table will provide a link between the account (vendor, customer, etc.) and the payment run. (Something like BSEG -&amp;gt; BWKS -(laufd+laufi) -&amp;gt; REGUH -&amp;gt; REGUP) Note that if a account is not in the table, it is not in a payment proposal, but if it's in the table it may or not be in a proposal as some document may be excluded (for example a document posted after the initial run)&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;NB: &lt;/EM&gt;&lt;/P&gt;
  &lt;UL&gt; 
   &lt;LI&gt;&lt;EM&gt;Don't forget also BUKRS and GJAHR fields when using BELNR&lt;/EM&gt;&lt;/LI&gt; 
   &lt;LI&gt;&lt;EM&gt;Outside of India, the word crore may not be understood.&lt;/EM&gt;&lt;/LI&gt; 
  &lt;/UL&gt;</description>
      <pubDate>Mon, 26 Mar 2018 11:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-regup-table-data-extraction/m-p/591218#M23842</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-03-26T11:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with REGUP table data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-regup-table-data-extraction/m-p/591219#M23843</link>
      <description>&lt;P&gt;Hi Raymond,&lt;/P&gt;
  &lt;P&gt;Thanks a lot for your answer. However the table BWKS is not helping much, since I have an account in payment proposal but this account is not present in BWKS. (Not sure the reason for this.)&lt;/P&gt;
  &lt;P&gt;Currently I am passing below fields in my select query.&lt;/P&gt;
  &lt;P&gt;LAUFD - I got this from REGUH --&amp;gt; key field of REGUC&lt;/P&gt;
  &lt;P&gt;LAUFI - I got this from REGUH --&amp;gt; Key field of REGUC&lt;/P&gt;
  &lt;P&gt;XVORL - as 'X' --&amp;gt; Key field of REGUC&lt;/P&gt;
  &lt;P&gt;LIFNR --&amp;gt; Key field of REGUC&lt;/P&gt;
  &lt;P&gt;KUNNR --&amp;gt; Key field of REGUC&lt;/P&gt;
  &lt;P&gt;VBLNR--&amp;gt; Key field of REGUC&lt;/P&gt;
  &lt;P&gt;BUKRS --&amp;gt; Non key field of REGUC&lt;/P&gt;
  &lt;P&gt;BELNR --&amp;gt; Non key field of REGUC&lt;/P&gt;
  &lt;P&gt;GJAHR --&amp;gt; Non key field of REGUC&lt;/P&gt;
  &lt;P&gt;BUZEI --&amp;gt; Non key field of REGUC&lt;/P&gt;
  &lt;P&gt;But still it is taking lot of time to extract the data. Could the reason is due to passing the non key fields of REGUC in selection.&lt;/P&gt;
  &lt;P&gt;Is this the reason for the issue. Can i not pass the last 4 non key fields of REGUC in my select and fetch all the data using only the key fields.&lt;/P&gt;
  &lt;P&gt;Once I get the output then i will use only the relevant records.&lt;/P&gt;
  &lt;P&gt;Please share your feedback.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 12:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-regup-table-data-extraction/m-p/591219#M23843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-26T12:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with REGUP table data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-regup-table-data-extraction/m-p/591220#M23844</link>
      <description>&lt;P&gt;not use gjahr using BLDAT or BUDAT for where condition check month wise...&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 12:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-regup-table-data-extraction/m-p/591220#M23844</guid>
      <dc:creator>pram_1991</dc:creator>
      <dc:date>2018-03-26T12:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with REGUP table data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-regup-table-data-extraction/m-p/591221#M23845</link>
      <description>&lt;P&gt;Sorry, blocking table is REGUS (I was working myself on BWKS, so copy/paste cross fired between F107 AND F110...)&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 12:32:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-regup-table-data-extraction/m-p/591221#M23845</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-03-26T12:32:01Z</dc:date>
    </item>
  </channel>
</rss>

