‎2008 Jun 03 10:37 AM
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?
‎2008 Jun 03 10:39 AM
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...
‎2008 Jun 03 10:39 AM
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.
‎2008 Jun 03 10:40 AM
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.
‎2008 Jun 03 10:40 AM
‎2008 Jun 03 10:41 AM