Skip to Content
-1

How to Delete data from Database written by Export statement

Hi Experts,

I'm using the Export to database statement in program A to write some data to the database for passing to program B for further processing using the Import from database statement.

Now in program B, after importing the data from the database and finish processing, I want to clear these data using the Delete from database statement. However, it seems that it is now working. I get the same result from program B when I try to execute it again without first executing program A.

Any idea how I can clear the database after processing in program B.

Thanks,

Francis

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 29, 2017 at 03:28 AM

    Hi Franscis,

    Could you please check whether the following link is helpful.

    https://wiki.scn.sap.com/wiki/display/Snippets/Import+and+Export+to+Cluster+Databases

    Regards,

    Rubin

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 29, 2017 at 10:07 AM

    cf ABAP documentation - DELETE FROM (data clusters)

    DELETE FROM DATABASE dbtab(ar) [CLIENT cl] ID id}
    Add comment
    10|10000 characters needed characters exceeded