<?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: Getting processing time out dump while selecting data from a database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075576#M1505219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all the ones which are in where condition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jul 2010 14:51:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-26T14:51:00Z</dc:date>
    <item>
      <title>Getting processing time out dump while selecting data from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075571#M1505214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i stuck in an issue where i am getting a processing time out dump while selecting data from a custom database table,i am selecting data using for all entries the table has only 11 fields i have even used the primary index but i am not able to get the output since it gives a processing timeout dump,i even used db_cursor but still not change &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH IT_PA0001[].&lt;/P&gt;&lt;P&gt;  SELECT * FROM PA0001 INTO TABLE IT_PA0001&lt;/P&gt;&lt;P&gt;           WHERE PERNR IN SO_PERNR AND&lt;/P&gt;&lt;P&gt;                 SUBTY GE C_SUBTY AND&lt;/P&gt;&lt;P&gt;                 OBJPS GE C_OBJPS AND&lt;/P&gt;&lt;P&gt;                 SPRPS GE C_SPRPS AND&lt;/P&gt;&lt;P&gt;                 ENDDA GE C_ENDDA AND&lt;/P&gt;&lt;P&gt;                 BEGDA GE C_BEGDA AND&lt;/P&gt;&lt;P&gt;                 SEQNR GE C_SEQNR AND&lt;/P&gt;&lt;P&gt;                 BUKRS IN P_BUKRS AND "and added conf_ssinha&lt;/P&gt;&lt;P&gt;                 WERKS IN SO_PERSA .  "conf_ssinha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK SY-SUBRC = 0 .&lt;/P&gt;&lt;P&gt;  SORT IT_PA0001 BY PERNR BEGDA DESCENDING.&lt;/P&gt;&lt;P&gt;  DELETE ADJACENT DUPLICATES FROM IT_PA0001 COMPARING PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH : IT_ZNWC[],IT_ZNWC1[],IT_ZNWC_TMP[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  G_PACKAGE_SIZE = 50000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT IT_PA0001[] IS INITIAL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Using DB Cursor to fetch data in batch.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    OPEN CURSOR WITH HOLD DB_CURSOR FOR&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get data from ZSD_MAILDATA table based on input from selection screen.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      SELECT *&lt;/P&gt;&lt;P&gt;          FROM ZNWC&lt;/P&gt;&lt;P&gt;      FOR ALL ENTRIES IN IT_PA0001&lt;/P&gt;&lt;P&gt;          WHERE RUNID   GE C_RUNID&lt;/P&gt;&lt;P&gt;          AND   PERNR   = IT_PA0001-PERNR&lt;/P&gt;&lt;P&gt;          AND   SEQNR   GE C_SEQNR1&lt;/P&gt;&lt;P&gt;          AND   WCSTATE IN SO_STATE&lt;/P&gt;&lt;P&gt;          AND   WCCODE  IN SO_WCCOD&lt;/P&gt;&lt;P&gt;          AND   LGART   IN SO_LGART&lt;/P&gt;&lt;P&gt;          AND   RECNO   GE C_RECNO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DO.&lt;/P&gt;&lt;P&gt;      FETCH NEXT CURSOR DB_CURSOR -&lt;/P&gt;&lt;HR originaltext="------------------------" /&gt;&lt;P&gt;its gives processing dump here&lt;/P&gt;&lt;P&gt;         INTO CORRESPONDING FIELDS OF TABLE IT_ZNWC&lt;/P&gt;&lt;P&gt;         PACKAGE SIZE G_PACKAGE_SIZE.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;        CLOSE CURSOR DB_CURSOR.&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      APPEND LINES OF IT_ZNWC TO IT_ZNWC_TMP.&lt;/P&gt;&lt;P&gt;    ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reply me&lt;/P&gt;&lt;P&gt;shivraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 13:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075571#M1505214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-26T13:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting processing time out dump while selecting data from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075572#M1505215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i even used db_cursor but still not change &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using cursors will not reduce the execution time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the number of entries in  IT_PA0001 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 13:25:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075572#M1505215</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-07-26T13:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting processing time out dump while selecting data from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075573#M1505216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its arround 44,000 records&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 13:39:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075573#M1505216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-26T13:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting processing time out dump while selecting data from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075574#M1505217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;44K records should execute pretty quickly...what is the approx ratio  the SAP table to Z table...1 row in SAP standard to ?? in Z?  You are able to select by primary key of the Z table, I hope?  Have to second T. Keshav....in these situations, I think open cursor gives us very little if anything that we can't do efficiently with Open SQL SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, note that REFRESH with [ ] isn't the way to write this...REFRESH tablename is, although the REFRESH statement is obsolete, according to the "Official ABAP Programming Guidelines" manual, copyright by SAP Press 2010.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH is replaced by &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLEAR tablename[].&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 14:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075574#M1505217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-26T14:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting processing time out dump while selecting data from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075575#M1505218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the primary key of your Z table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 14:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075575#M1505218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-26T14:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting processing time out dump while selecting data from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075576#M1505219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all the ones which are in where condition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 14:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-processing-time-out-dump-while-selecting-data-from-a-database-table/m-p/7075576#M1505219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-26T14:51:00Z</dc:date>
    </item>
  </channel>
</rss>

