Skip to Content

How to free import & export TO DATABASE

Mar 11 at 05:46 AM


avatar image

Hi Techies,

I have used Import and Export to database indx(XY) ID indxkey .

Actually I have written the Import statement in a FM which is run in background,but the problem is that fm is called twice(or maybe more) in background and I need to free the data frm indx table in the end.

I used delete from database indx(XY) ID indxkey but here when the fm is called 2nd time the itab is empty..I want to delete the indx table at the end of the background job or at the end of the execution .

10 |10000 characters needed characters left characters exceeded

You should not use INDX but work with your own table.

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sandra Rossi Mar 11 at 08:40 AM

Depending on your code, you may check the context with CL_ABAP_GET_CALL_STACK, or you may use the unsupported feature ASSIGN '(PROG)DOBJ' cf ABAP doc, or better implement some implicit enhancement points

10 |10000 characters needed characters left characters exceeded