FKK_GENREP_06_S_ARCH_WRITE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program archives the data in the additional table of the generic tax reporting (table
If you would like to execute this report or see the full code listing simply enter FKK_GENREP_06_S_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_AR_ILM = D .
Selection Text: P_BUKRS = D .
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_DEST = D .
Selection Text: P_OPBEL = D .
Selection Text: P_SNAP = D .
Selection Text: P_VMDAT = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Title: Archiving of Additional Table for Generic Tax Reporting: Write
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 = 'DFKKREP06_S' * record = i_DFKKREP06_S.
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_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 FKK_GENREP_06_S_ARCH_DELETE - Archiving of Additional Table for Generic Tax Reporting: Delete FKK_GENREP_06_S_ARCH_DELETE - Archiving of Additional Table for Generic Tax Reporting: Delete