FKK_GENREV_06_ARCH_WRITE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Archiving of generec revenue reporting (letter) The program is used to archive data from generic revenue reporting (table DFKKREV06)...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_WRITE 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_BUKRS = D .
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_OPBEL = D .
Selection Text: P_VMDAT = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Title: Archiving Generic Revenue Reporting: Write Program
Text Symbol: 001 = General Selections
Text Symbol: 002 = Program Control
Text Symbol: 003 = Archive Admin.
Text Symbol: S01 = Tax Report Archived
INCLUDE ARCH_WRITE_PRG_STANDARD1.
INCLUDE FKK_ARCH_BASE_SELECT ##INCL_OK.
INCLUDE FKK_GENREPI_00.
INCLUDE FKK_GENREPI_01.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING create_archive_file = xprod "P_CREATE call_delete_job_in_test_mode = p_deltst "' ' "P_SIMUL comments = p_coment object = sys_objct OUTPUT_SEL_SCREEN_WHEN_DIALOG = ' ' do_not_delete_data = p_snap destroy = p_dest IMPORTING archive_handle = handle.
ARCHIVE_NEW_OBJECT * CALL FUNCTION 'ARCHIVE_NEW_OBJECT' * EXPORTING * archive_handle = handle.
ARCHIVE_PUT_RECORD * CALL FUNCTION 'ARCHIVE_PUT_RECORD' * EXPORTING * archive_handle = handle * record_structure = 'DFKKREV06' * record = i_dfkkrev06.
ARCHIVE_SAVE_OBJECT * CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' * EXPORTING * archive_handle = handle * EXCEPTIONS * termination_requested = 1.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = handle.
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_WRITE - Archiving Generic Revenue Reporting: Write Program FKK_GENREV_06_ARCH_WRITE - Archiving Generic Revenue Reporting: Write Program FKK_GENREV_06_ARCH_READ - Archiving Generic Tax Reporting: Read Archive FKK_GENREV_06_ARCH_READ - Archiving Generic Tax Reporting: Read Archive FKK_GENREV_06_ARCH_DELETE - Archiving Generic Tax Reporting: Delete After Archiving FKK_GENREV_06_ARCH_DELETE - Archiving Generic Tax Reporting: Delete After Archiving