RFKKAR15 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RFKKAR15 carries out the first step for archiving official document numbers in Contract Accounts Receivable and Payable (FI-CA): It creates an archive with official document numbers...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 RFKKAR15 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_WRITST = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_SNAP = D .
Selection Text: P_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_DEST = D .
Selection Text: P_DELTST = D .
Selection Text: P_COMENT = D .
Selection Text: SE_EXKEY = Official Document Number
Selection Text: SE_BUKRS = Company Codes (Optional)
Selection Text: P_AR_ILM = D .
Title: Archiving of Official Documents: Write
Text Symbol: D32 = Document Numbers Not Archived
Text Symbol: D31 = Non-Archivable Document Numbers
Text Symbol: D30 = Cause
Text Symbol: D27 = Detail Log - Document Numbers Not Archivable
Text Symbol: D26 = Detail Log - Document Numbers Not Archived
Text Symbol: D14 = Overview Log - Archivable Document Numbers
Text Symbol: D13 = Detail Log - Archivable Document Numbers
Text Symbol: D12 = Overview Log - Archived Document Numbers
Text Symbol: D11 = Detail Log - Archived Document Numbers
Text Symbol: D10 = Table
Text Symbol: D09 = In Bytes...........
Text Symbol: D07 = Archived.....
Text Symbol: D06 = Read.......
Text Symbol: D01 = Document archived
Text Symbol: 011 = <<< Update Run >>>
Text Symbol: 010 = <<< Test Run >>>
Text Symbol: 008 = FI-CA Document Not Archived
Text Symbol: 007 = Archive Admin.
Text Symbol: 006 = No Log Data Available
Text Symbol: 002 = Processing Opts
Text Symbol: 001 = Archiving Quantity Selection
INCLUDE RFKKEXTD_FORMS.
INCLUDE FKK_ARCH_BASE_SAVE.
INCLUDE FKK_ARCH_BASE_SELECT ##INCL_OK.
INCLUDE ARCH_WRITE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_LINE_DETAIL CALL FUNCTION 'ARCHIVE_PROTOCOL_LINE_DETAIL'.
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING object = sys_objct call_delete_job_in_test_mode = p_deltst create_archive_file = p_wriprd comments = p_coment output_sel_screen_when_dialog = ' ' IMPORTING archive_handle = arc_data-handle.
FKK_ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'FKK_ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot.
FKK_ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'FKK_ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = arc_data-handle.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = arc_data-handle.
FKK_ARCHIVE_NEW_OBJECT CALL FUNCTION 'FKK_ARCHIVE_NEW_OBJECT' "Neues Objekt anmelden EXPORTING archive_handle = arc_data-handle object_id = ld_object.
FKK_ARCHIVE_PUT_RECORD CALL FUNCTION 'FKK_ARCHIVE_PUT_RECORD' EXPORTING archive_handle = arc_data-handle record = ld_arch_all-edoc record_structure = cedoc.
FKK_ARCHIVE_PUT_RECORD CALL FUNCTION 'FKK_ARCHIVE_PUT_RECORD' EXPORTING archive_handle = arc_data-handle record = l_edoc2 record_structure = cedoc2.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = ld_object i_msgtype = 2 i_msgid = '>A' i_msgno = 040 i_msgv1 = i_extdoc-exkey(12).
FKK_ARCH_STAT_READ CALL FUNCTION 'FKK_ARCH_STAT_READ' EXPORTING i_table = iv_name i_number = iv_number.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.