Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

dump error

Former Member
0 Likes
485

Hi,

There is a select statement like this in my program.

SELECT dispo INTO g_dispo

FROM t024d

UP TO 1 ROWS WHERE dispo IN dispo.

ENDSELECT.

when i give the dispo value in the selection-screen and try to debug the program,it is selectng the vaue into g_dispo table.But after that it is giving dump error as 'Invalid interruption of database selection'.What would be the reason for this?

5 REPLIES 5
Read only

Former Member
0 Likes
461

hi there....

firstly, insert the dispo value into a field of the table , not the entire table. and secondly, try to remove endselect.

hope it helps...

Read only

Former Member
0 Likes
461

Hi,

If you want the single record to be selected then try this:

SELECT SINGLE dispo INTO g_dispo

FROM t024d

WHERE dispo IN dispo.

here g_dispo would be the structure.

Read only

Former Member
0 Likes
461

U cannot put a break point in debugging mode in

select.. endselect .. as it commits the work ..

(also U cannot put a commit work in select-endselect)

when U use commit work all the pointers to the database are

lost and U'll get dump.

Read only

Sm1tje
Active Contributor
0 Likes
461

loose the endselect!

Read only

Former Member
0 Likes
461

Remove the endselect.

Amit.