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
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: 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
INCLUDE RFMRESWR_TOP . "
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.