FKK_GENREV_06_ARCH_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program deletes the tax reporting documents based on the archive created previously...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter FKK_GENREV_06_ARCH_DELETE into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: P_DELPRD = D .
Selection Text: P_DELTST = D .
Title: Archiving Generic Tax Reporting: Delete After Archiving
Text Symbol: 002 = Program Control
INCLUDE ARCH_DELETE_PRG_STANDARD1.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING OBJECT = CO_ARCH_OBJECT TEST_MODE = p_testl IMPORTING ARCHIVE_HANDLE = HANDLE.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING OBJECT = CO_ARCH_OBJECT IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = COMMIT_CNT.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS END_OF_FILE = 01.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = HANDLE IMPORTING RECORD = BUFFER-SEGMENT RECORD_STRUCTURE = BUFFER-RNAME EXCEPTIONS END_OF_OBJECT = 1 OTHERS = 2.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING ARCHIVE_HANDLE = HANDLE TABLES TABLE = GT_STAT.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = HANDLE STATISTICS_ONLY_PER_RUN = 'X'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
FKK_GENREV_06_ARCH_DELETE - Archiving Generic Tax Reporting: Delete After Archiving FKK_GENREV_06_ARCH_DELETE - Archiving Generic Tax Reporting: Delete After Archiving FKK_GENREP_06_S_ARCH_WRITE - Archiving of Additional Table for Generic Tax Reporting: Write FKK_GENREP_06_S_ARCH_WRITE - Archiving of Additional Table for Generic Tax Reporting: Write FKK_GENREP_06_S_ARCH_READ - Archiving of Additional Table for Generic Tax Reporting: Read Archive FKK_GENREP_06_S_ARCH_READ - Archiving of Additional Table for Generic Tax Reporting: Read Archive