I am writing a program which merges the two standard programs CHANGEDOCU_WRI and CHANGEDOCU_DEL which will archive the lines of the table CDHDR and CDPOS automatically at once without having the need to execute them one at a time. I have been able to merge the two programs, however when I execute the program, the archive is created but when it goes to the step where the FM 'ARCHIVE_OPEN_FOR_DELETE' is called, the program halts with an error message : "Following action WRI, action DEL is not possible in the same program" is there a way to archive the lines of CDHDR and CDPOS immediately after the archive files have been created?
Thanks and Best Regards,
Pramod.
Edited by: Pramod Teewaree on Dec 30, 2010 8:15 AM