Skip to Content
author's profile photo Former Member
Former Member

Reason for no dump during debugging between SELECT & ENDSELECT

Hi,

Could anyone let me know the reasons for why there is no dump when debugging SELECT & ENDSELECT in versions ECC6.0?

SS

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 09:42 AM

    HI

    it won't show dump

    ENDSELECT.

    The ENDSELECT statement closes a loop started with SELECT.

    A SELECT command for which the INTO|APPENDING [CORRESPONDING FIELDS OF] TABLE itab is inserted into an internal table, must be followed by ENDSELECT if the addition PACKAGE SIZE is used.

    For all other SELECT commands, ENDSELECT must be used unless a single line above the addition SINGLE is read after SELECT and unless the columns of the result set are statically specified and contain only aggregate functions without the specification of the addition GROUP BY.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 10:55 AM

    The old debugger would, from time to time, do a COMMIT on the database. If this happened in a SELECT... ENDSELECT loop, then the database cursor behind the loop would be destroyed, and you'd get a dump.

    The new debugger works differently, and does not have this problem. Hence, no more dumps.

    matt

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.