RFFMARC1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RFFMARC1 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.
Archiving of Line Items in FM: Write Archive
Selection Text: R_FIKRS = D Financial Management Area
Selection Text: R_BUKRS = D Company Code
Selection Text: P_TO_FYR = D To Fiscal Year
Selection Text: P_TEST = D Test Run
Selection Text: P_PROT = D Detail Log
Selection Text: P_ONER = Only Excluded Documents
Selection Text: P_GEN = Short Log
Selection Text: P_EXT_FR = Control of Funds Reservation
Selection Text: P_EXT = Control of External Documents
Selection Text: P_DEL = Archive and Delete
Selection Text: P_ARCH = Archive
Selection Text: COMMENTS = D Archiving Session Note
Text Symbol: 430 = Archived
Text Symbol: 440 = F-Res.
Text Symbol: 445 = V-Typ
Text Symbol: 450 = E-Ext
Text Symbol: 500 = An External Commitment Item does not end in Table FMFPO
Text Symbol: 510 = for the following internal commitment items:
Text Symbol: 700 = Archiving object
Text Symbol: 701 = was not found!
Text Symbol: 800 = FI
Text Symbol: 810 = PF
Text Symbol: 820 = DT
Text Symbol: 830 = Bl
Text Symbol: 840 = MR
Text Symbol: 850 = No
Text Symbol: 380 = FM Area FM Doc.Ledger Year Value Type Ext. Doc. C-Code FY L Status Task
Text Symbol: 010 = Doc. selection
Text Symbol: 020 = Restrictions
Text Symbol: 030 = Process Control
Text Symbol: 031 = Test Run
Text Symbol: 032 = Archive
Text Symbol: 033 = Archive and Delete
Text Symbol: 040 = Log Control
Text Symbol: 041 = Short Log
Text Symbol: 042 = Only Excluded Documents
Text Symbol: 043 = All Docs
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_WRITE_STATISTICS * CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' * EXPORTING * archive_handle = g_ar_handle * statistics_only_per_run = 'X'.
ARCHIVE_CLOSE_FILE * CALL FUNCTION 'ARCHIVE_CLOSE_FILE' * EXPORTING * archive_handle = g_ar_handle.
FMAU_AUTHORITY_FIFM * CALL FUNCTION 'FMAU_AUTHORITY_FIFM' * EXPORTING * i_actvt = fmau_ac_ini * i_auth_object = 'F_FICB_FKR' * i_fikrs = l_t_fm_area-fikrs * i_msgty = 'E'.
ARCHIVE_OPEN_FOR_WRITE * CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' * EXPORTING * call_delete_job_in_test_mode = l_flg_test * create_archive_file = l_flg_create * object = l_const_ar_objekt * comments = comments * IMPORTING * archive_handle = l_ar_handle * EXCEPTIONS * internal_error = 01 * object_not_found = 02 * open_error = 03 * not_authorized = 04 * OTHERS = 05.
ARCHIVE_NEW_OBJECT * CALL FUNCTION 'ARCHIVE_NEW_OBJECT' * EXPORTING * archive_handle = l_ar_handle * EXCEPTIONS * internal_error = 01 * wrong_access_to_archive = 02 * OTHERS = 03.
ARCHIVE_PUT_RECORD * CALL FUNCTION 'ARCHIVE_PUT_RECORD' * EXPORTING * archive_handle = ll_ar_handle * record = record * record_structure = record_structure * EXCEPTIONS * internal_error = 01 * wrong_access_to_archive = 02 * invalid_record_structure = 03 * OTHERS = 04.
GET_FIPOS_FROM_POSIT * CALL FUNCTION 'GET_FIPOS_FROM_POSIT' * EXPORTING * ip_fikrs = l_t_zfcabp_arch-fikrs * ip_posit = l_t_zfcabp_arch-posit * IMPORTING * op_fipos = l_t_zfcabp_arch-fipos * EXCEPTIONS * not_found = 01.
ARCHIVE_SAVE_OBJECT * CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' * EXPORTING * archive_handle = l_ar_handle * EXCEPTIONS * file_io_error = 01 * internal_error = 02 * open_error = 03 * termination_requested = 04 * wrong_access_to_archive = 05 * OTHERS = 06.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFFMARC1 - documentation and ABAP source code RFFMARC1 - documentation and ABAP source code RFFMAR65 - Reload Archived Budget Totals Records in FM RFFMAR65 - Reload Archived Budget Totals Records in FM RFFMAR64 - Delete Archived Budget Totals Records in FM RFFMAR64 - Delete Archived Budget Totals Records in FM