<?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: ERROR while debugging a SELECT..ENDSELECT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257833#M146733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't put the break point between SELECT and ENDSELECT. Put it right after the ENDSELECT, then the dump will not come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some time the dump does come, when you debug SELECT / ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can change the program change that to one statement SELECT into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note :Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Apr 2006 17:28:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-12T17:28:54Z</dc:date>
    <item>
      <title>ERROR while debugging a SELECT..ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257832#M146732</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;We get an error while we go into the select..endselect loop during debugging. Because of this if we try to do some research on existing program with Select-endselect..it fails in the second pass of this loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This problem was not there earlier, but after we upgraded from 4.6 to 4.7 this problem is bugging us..every day. Does any one have a clue why ?&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 17:23:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257832#M146732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T17:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR while debugging a SELECT..ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257833#M146733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't put the break point between SELECT and ENDSELECT. Put it right after the ENDSELECT, then the dump will not come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some time the dump does come, when you debug SELECT / ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can change the program change that to one statement SELECT into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note :Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 17:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257833#M146733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T17:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR while debugging a SELECT..ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257834#M146734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a well known problem in SAP.&lt;/P&gt;&lt;P&gt;Here is why.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1160131"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 17:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257834#M146734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T17:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR while debugging a SELECT..ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257835#M146735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishal,&lt;/P&gt;&lt;P&gt;  Check the sequence of the fields in the select &amp;amp; the declarations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 17:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257835#M146735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T17:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR while debugging a SELECT..ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257836#M146736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you are debugging through SELECT ENDSELECT and you take a long time to step thru the code, you can sometimes "lose the attention" of the DB server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In these events, you get an error.  You simply need to debug again (and cross your fingers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR use a SELECT INTO TABLE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 17:30:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257836#M146736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T17:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR while debugging a SELECT..ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257837#M146737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  debugging a SELECT...ENDSELECT statements brings to a LUW commit work if no other work processes are available for debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See OSS notes 675, 2104.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
From OSS note 675 **********************************

Cause and prerequisites

Chain of causes:

      1. There is a statement in one of the Select loops, that leads to a database Commit (or Rollback).

      2. A database Commit causes the database to lose the cursor.

      3. The system cannot automatically continue within Select loop after loss of cursor.


Following statements lead to a database Commit:

    * All statements that cause a change of screen (CALL SCREEN, CALL DIALOG, CALL TRANSACTION, SUBMIT, I/W-Message)

    * BREAK-POINT/ Debugging
      . if no debug process free
      . always after regeneration (in order to release generation lock).

    * WAIT Here a work process is released and a Commit is executed.

    * COMMIT WORK/ROLLBACK WORK




From OSS note 2104 **********************************

Solution

The "COMMITWORK" message appears in the ABAP debugger when programs
orscreensrequireregeneration,or when not enough free capacity
is available inthesystem (or else the debugger blocks a system
process).

Normallyonly one work process is released for debugging. This
isgenerally insufficient ina developmentsystem, as processes
can be blocked for other reasonstoo(background processing,
CPI-C connections,andso on).

The number of work processes made available for debugging can
be configured using the profileparameter

                  rdisp/wpdbug_max_no

Forexample:

                rdisp/wpdbug_max_no = 10

setsthe maximum number of work processes made available for
debuggingto 10. It may be necessary to generally increase the
numberofwork processesatthis time (parameter rdisp/wp_no_dia).

In all other known cases, an error in the application program is
involved.
*****************************************************
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 17:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-debugging-a-select-endselect/m-p/1257837#M146737</guid>
      <dc:creator>manuel_bassani</dc:creator>
      <dc:date>2006-04-12T17:40:26Z</dc:date>
    </item>
  </channel>
</rss>

