SAP Reports / Programs

RFKK_DOC_EXTR_AEXP SAP ABAP Report - Document Extracts: Export from Archive







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FPDE_AEXP - Doc. Extracts - Export fm Archive


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RFKK_DOC_EXTR_AEXP. "Basic submit
SUBMIT RFKK_DOC_EXTR_AEXP AND RETURN. "Return to original report after report execution complete
SUBMIT RFKK_DOC_EXTR_AEXP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RFKK_DOC_EXTR_AEXP

INCLUDE RFKK_DOC_EXTR_AEXPTOP . "
INCLUDE RFKK_DOC_EXTR_EXPFRM.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RFKK_DOC_EXTR_AEXP or its description.