Hi All,
the following code dumps in some cases, not always:
SELECT * FROM jest INTO TABLE tb_jest
FOR ALL ENTRIES INtb_output
WHERE objnr = tb_output-objnr
AND stat IN rs_stat AND inact = ' '.
LOOP AT tb_jest INTO wa_jest.
READ TABLE tb_output WITH KEY objnr = wa_jest-objnr.
DELETE tb_output INDEX sy-tabix.
ENDLOOP.The dump happens on line
DELETE tb_output INDEX sy-tabix.
because read table returns sy-subrc <> 0.
Can someone spot the problem ?
thanks a lot
Filippo
Add comment