SAP Reports / Programs | Financial Accounting | Funds Management(FI-FM) SAP FI

RFMRESWR SAP ABAP Report - Earmarked Funds: Write Archive







RFMRESWR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program starts earmarked fund archiving...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 RFMRESWR into the relevant SAP transactions such as SE38 or SE80


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 RFMRESWR. "Basic submit
SUBMIT RFMRESWR AND RETURN. "Return to original report after report execution complete
SUBMIT RFMRESWR 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: SO_BUKRS = Company code
Selection Text: SO_BELNR = Doc.no. for earmarked funds
Selection Text: P_TEST = Test run
Selection Text: P_DEL = Archive without deletion test
Selection Text: P_ARCH = Archive with deletion test
Title: Earmarked Funds: Write Archive
Text Symbol: 030 = There is no data matching the selection criteria which requires archiving
Text Symbol: 020 = Process options
Text Symbol: 010 = Doc.selctn


INCLUDES used within this REPORT RFMRESWR

INCLUDE RFMRESWR_TOP . "


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_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' exporting call_delete_job_in_test_mode = g_flg_test create_archive_file = g_flg_create object = con_archive_object importing archive_handle = g_handle.

ARCHIVE_NEW_OBJECT call function 'ARCHIVE_NEW_OBJECT' exporting archive_handle = g_handle.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = g_handle record = g_t_kblk * RECORD_FLAGS = ' ' record_structure = 'KBLK'.

TEXT_ARCHIVE_OBJECT call function 'TEXT_ARCHIVE_OBJECT' exporting archive_handle = g_handle id = con_textid language = '*' name = g_tdname object = con_textobject object_delete_flag = con_true.

CHANGEDOCU_ARCHIVE_OBJECT call function 'CHANGEDOCU_ARCHIVE_OBJECT' exporting archive_handle = g_handle objectclass = con_cd_object objectid = g_cd_objid object_delete_flag = con_true.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = g_handle record = g_t_kblp record_flags = ' ' record_structure = 'KBLP'.

TEXT_ARCHIVE_OBJECT call function 'TEXT_ARCHIVE_OBJECT' exporting archive_handle = g_handle id = con_textid language = '*' name = g_tdname object = con_textobject object_delete_flag = con_true.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = g_handle record = g_t_kblps record_flags = ' ' record_structure = 'KBLPS'.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = g_handle record = g_t_kblpw record_flags = ' ' record_structure = 'KBLPW'.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = g_handle record = g_t_kblesum record_flags = ' ' record_structure = 'KBLESUM'.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = g_handle record = g_t_kble record_flags = ' ' record_structure = 'KBLE'.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = g_handle record = g_t_kblew record_flags = ' ' record_structure = 'KBLEW'.

ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = g_handle.

ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = g_handle.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = g_handle.



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 RFMRESWR or its description.