<?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: Problem in Standard program while selecting Index in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254146#M1631405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've seen this problem before. As I recall, it was due to a long running report reading a database table that was being updated by the users. Oracle dumped when the rollback segment was out of date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution was either to reduce the run time (difficult because it is a standard program) or run it in off peak hours when fewer users are on the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2011 13:32:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-10-19T13:32:13Z</dc:date>
    <item>
      <title>Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254140#M1631399</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;I am using the Standard SAP Program ' RFKKZE00' for creating Payment-Lot in my Custom Program ( Z-program ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Std. Program inturn calls 'RFKKZE01' and which inturn calls 'RFKKZE02' via Background Job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the program 'RFKKZE02' fails in a Select Query ( so its not clearing documents in the Payment-Lot )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( SELECT * FROM DFKKOP WHERE ABWBL EQ PAR_OPBEL&lt;/P&gt;&lt;P&gt;                     AND ( WHANG EQ '000' OR OPUPW NE '000' )&lt;/P&gt;&lt;P&gt;                     AND   AUGST EQ SPACE )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stating  ' An SQL error occurred when accessing a table '&lt;/P&gt;&lt;P&gt;( DBIF_RSQL_SQL_ERROR ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem happens only in testing server where the select query fetches data from DFKKOP using Custom Index ( Z-index ) wherein in the Pre-Integration server, the select query uses the Std. Index for fetching and the program is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really confused why the program uses Different Indexes in Different Servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The order of the fields in the Select Query matches the order in the Std. Index ( as I said it happens in Pre-Integration Server )but it is not matching with the order of the Z-index ( still the program uses this Index in Testing Server &amp;amp; fails ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help me to solve this Issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yogesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 14:33:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254140#M1631399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-10T14:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254141#M1631400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The database selects one index or another based on some calculated statistics. It looks like you have to force the (re)calculation for your table. Use transaction DB20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_nw04/helpdata/en/df/455e97747111d6b25100508b6b8a93/frameset.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 14:47:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254141#M1631400</guid>
      <dc:creator>arseni_gallardo</dc:creator>
      <dc:date>2011-10-10T14:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254142#M1631401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arseni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have done the Statistics Update on the table DFKKOP.&lt;/P&gt;&lt;P&gt;But still its fetching the wrong Z Index in that particular testing environment.&lt;/P&gt;&lt;P&gt;In other systems , its fetching the Correct standard Index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yogesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254142#M1631401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T06:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254143#M1631402</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;The problem happens only in testing server where the select query fetches data from DFKKOP using Custom Index ( Z-index )&lt;/P&gt;&lt;P&gt;and it uses RANGE-SCAN to select the indexes whereas in the Pre-Integration server, where it uses SKIP - SCAN and selects Std. Index and the program works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came to know that database optimizer helps in looking for indexes at DB level. Can you suggest what makes it to select two different methods of scan (skip/range).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please suggest how we can analyze the problem &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are still in dilemma why the program uses Different Indexes in Different Servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 11:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254143#M1631402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-19T11:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254144#M1631403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd be much more concerned about why the  DBIF_RSQL_SQL_ERROR  is occurring.  One doesn't usually see that because the program selected a different index.  Is the dump occurring because of a problem in the secondary index table or in the definition of that index?  The Basis folks and DBA need to see which table is a problem and why.  If not because of a problem in the secondary index, what is causing the database read failure is more important than why the program utilizes a different index in the production instance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 12:04:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254144#M1631403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-19T12:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254145#M1631404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DaveL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error mentioned in the Dump analysis was ' Error while accessing a table '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found some other ORACLE DB error also in the same Dump as mentioned below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To prevent the exception, note the following:&lt;/P&gt;&lt;P&gt;Database error text........: " ORA-01555: snapshot too old: rollback segment&lt;/P&gt;&lt;P&gt; number 3 with name "_SYSSMU3$" too small "&lt;/P&gt;&lt;P&gt;Internal call code.........: "[RSQL/FTCH/DFKKOP ]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I am not much aware of DB related issues, I couldn't proceed further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise regarding the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 12:34:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254145#M1631404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-19T12:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254146#M1631405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've seen this problem before. As I recall, it was due to a long running report reading a database table that was being updated by the users. Oracle dumped when the rollback segment was out of date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution was either to reduce the run time (difficult because it is a standard program) or run it in off peak hours when fewer users are on the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 13:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254146#M1631405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-19T13:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254147#M1631406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this error is so old that I did not see it for ages. Now the rollback segments are normally large enough to avoid it.&lt;/P&gt;&lt;P&gt;Possible solutions are described in the SAP note 185822.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 13:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254147#M1631406</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-10-19T13:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254148#M1631407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said the standard program executes successfully at times ( say 1 out of 5 times ) after 12 hrs ( on an average )completing the payment lot and at other times it gets Interrupted within an hour or so with the same SQL error making the payment lot incomplete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One incident was like I have scheduled that standard program in the night and the next morning the program got completed.&lt;/P&gt;&lt;P&gt;At times when I executed the program in theday time , it got interrupted with in an hour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is like the Z-program ( which inturn uses the standard program ) is working fine in Production environment ( Z-index is also existing ) and we have modified the program recently and it gives this problem in the testing environment ( for the past few days ) but not in development &amp;amp; Pre-integration environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yogesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 14:03:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254148#M1631407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-19T14:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254149#M1631408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as I said, refer to the SAP note 185822.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 15:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254149#M1631408</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-10-19T15:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254150#M1631409</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;what fields does your Z-Index have?&lt;/P&gt;&lt;P&gt;And what index (with what fields) is it using in production?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Volker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 19:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254150#M1631409</guid>
      <dc:creator>volker_borowski2</dc:creator>
      <dc:date>2011-10-20T19:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Standard program while selecting Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254151#M1631410</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;We couldn't check the Index with which that particular Select query in the standard SAP program is using to fetch the data from DFFKOP table in Production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In pre-integration environment wherein the program is getting executed successfully the Standard Index '3' is being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In testing environment, the query uses one of the Z-indexes ( the program fails ) for the same query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The order of the fields in the select query :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT&lt;/P&gt;&lt;P&gt;ABWBL&lt;/P&gt;&lt;P&gt;WHANG&lt;/P&gt;&lt;P&gt;OPUPW&lt;/P&gt;&lt;P&gt;AUGST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The order of the fields in the Standard Index ( 3 )  :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT&lt;/P&gt;&lt;P&gt;ABWBL&lt;/P&gt;&lt;P&gt;AUGST&lt;/P&gt;&lt;P&gt;WHGRP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The order of the fields in the  Z-index :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT&lt;/P&gt;&lt;P&gt;AUGST&lt;/P&gt;&lt;P&gt;VKONT&lt;/P&gt;&lt;P&gt;BUDAT&lt;/P&gt;&lt;P&gt;AUGBD&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;Yogesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 05:50:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-standard-program-while-selecting-index/m-p/8254151#M1631410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-21T05:50:41Z</dc:date>
    </item>
  </channel>
</rss>

