RFKK_DOC_EXTR_AEXP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report creates an FI-CA document extract from an archive file and exports this as a text file...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 RFKK_DOC_EXTR_AEXP into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FPDE_AEXP - Doc. Extracts - Export fm Archive
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_AIS = SAP Audit Format
Selection Text: P_SEQ = CSV for SAP Import
Selection Text: P_SPACE = Keep Leading Zeros
Selection Text: P_BUKRS = D .
Selection Text: P_FILE = D .
Selection Text: P_ID = D .
Selection Text: P_LOCAL = D .
Selection Text: P_OVER = D .
Selection Text: SARC = D .
Title: Document Extracts: Export from Archive
Text Symbol: 001 = File Opened:
Text Symbol: 003 = Document Extract Initialized:
Text Symbol: 004 = Select Archive File
Text Symbol: B01 = Output Format
Text Symbol: F01 = Opened
Text Symbol: F02 = Registration
Text Symbol: F03 = Write
Text Symbol: T01 = Document Selection
INCLUDE RFKK_DOC_EXTR_AEXPTOP . "
INCLUDE RFKK_DOC_EXTR_EXPFRM.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = sys_objct IMPORTING archive_handle = handle TABLES archive_files = sarc "1163989 EXCEPTIONS OTHERS = 1.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = handle EXCEPTIONS end_of_file = 1 OTHERS = 2.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = handle IMPORTING record_structure = structure record_ref = buffer EXCEPTIONS end_of_object = 1 OTHERS = 2.
DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' ">>>1280427 EXPORTING i_date = t_doc-kopf-budat i_periv = t001-periv IMPORTING e_gjahr = gjahr EXCEPTIONS OTHERS = 4.
FKK_CLEARING_ITEM_SIMULATE CALL FUNCTION 'FKK_CLEARING_ITEM_SIMULATE' CHANGING c_fkkop = wa_op. "1280427
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle.
ARCHIVE_ADMIN_POPUP_DOCUMENTS CALL FUNCTION 'ARCHIVE_ADMIN_POPUP_DOCUMENTS' EXPORTING object = sys_objct TABLES selected_files = arcf EXCEPTIONS object_not_found = 1 cancelled_by_user = 2 no_files_selected = 3 unknown_dialog_type = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFKK_DOC_EXTR_AEXP - Document Extracts: Export from Archive RFKK_DOC_EXTR_AEXP - Document Extracts: Export from Archive RFKK_DOC_EXTRTOP - Include RFKK_DOC_EXTRTOP RFKK_DOC_EXTR - Data Extracts: Overview RFKK_DOC_EXTR - Data Extracts: Overview RFKK_DFKKRES_CONDENSE - Summarization of Reserve Postings