04-06-2006 8:41 PM
Hi all,
Anyone can help me check what's wrong with the following code? I am trying to delete records from ODS datapackage. Those records are not in an internal table.
*LOOP AT DATA_PACKAGE ASSIGNING <fs>.
*READ TABLE INTERNALTABLE ASSIGNING <fsit>.
*IF <fs>-/BIC/id = <fsit>-id AND
<fs>-/BIC/password = <fsit>-password.
*CONTINUE.
*ELSE.
*DELETE DATA_PACKAGE.
*ENDIF.
*ENDLOOP.
Thanks a lot. Points will be rewarded later.
Linda
04-06-2006 8:50 PM
Can you tell us what specific problem you have? Are you getting a dump, error message, syntax error or something else.
At first view, after you do the read of internaltable, your position at data_package might be lost.
Rob
04-06-2006 8:47 PM
Hi,
I guess you can delete directly from the data_package internal table.
I would advice, put it in the BW forum area...
Thanks
Sanju
04-06-2006 8:50 PM
Can you tell us what specific problem you have? Are you getting a dump, error message, syntax error or something else.
At first view, after you do the read of internaltable, your position at data_package might be lost.
Rob
04-06-2006 8:58 PM
I got an error message when I was debugging. It says field symbol has not yet been assigned. ?
Thanks!
04-06-2006 9:41 PM
Check the sy-subrc after this statement
<i>*READ TABLE INTERNALTABLE ASSIGNING <fsit>.</i>
I don't see any INDEX, or WITH KEY additions with it.