Skip to Content
avatar image
-1
Former Member

How to free import & export TO DATABASE

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 .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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 http://zevolving.com/2011/11/why-not-to-use-field-symbols-to-access-global-memory/

    Add comment
    10|10000 characters needed characters exceeded