Skip to Content
0
Former Member
May 28, 2008 at 09:42 AM

Open Cursor - Deleting.

241 Views

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.