‎2008 May 28 10:42 AM
Hi there , Guys could you help with the following plz:
LOOP AT ti_ref.
OPEN CURSOR WITH HOLD cursor1 FOR
SELECT * FROM erch
WHERE belnr = ti_ref-ref
and intopbel = '' .
if sy-subrc
DO.
" I want to erase register found from ti_ref*
" How Can I do that ???*
PACKAGE SIZE p_commit.
IF sy-subrc NE '0'.
CLOSE CURSOR cursor1.
EXIT.
ENDIF.
ENDDO.
ENDLOOP.
‎2008 May 28 10:47 AM
you should not use a cursor to do that
at least you should not open a cursor in a LOOP as you do !
‎2008 May 28 10:47 AM
you should not use a cursor to do that
at least you should not open a cursor in a LOOP as you do !