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.