SAP Reports / Programs | Public Sector Management | Funds Management(PSM-FM) SAP PSM

RFFMARC1 SAP ABAP Report - documentation and ABAP source code







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


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 RFFMARC1. "Basic submit
SUBMIT RFFMARC1 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMARC1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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





Text Symbol: 050 = Archiving Run Memo
Text Symbol: 200 = Docs
Text Symbol: 205 = Results of Archiving
Text Symbol: 210 = Doc Header
Text Symbol: 220 = Doc. Lines
Text Symbol: 230 = FYC Doc. Lines
Text Symbol: 240 = Program Run Completed Successfully
Text Symbol: 260 = OK
Text Symbol: 270 = E-Year
Text Symbol: 280 = Excluded
Text Symbol: 300 = Packing
Text Symbol: 310 = Detail Information in
Text Symbol: 320 = Deleted
Text Symbol: 330 = Imported
Text Symbol: 350 = No Matching Documents Found for Archiving
Text Symbol: 360 = Upd. run
Text Symbol: 370 = Test Run


INCLUDES used within this REPORT RFFMARC1

No INCLUDES are used within this REPORT code!


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_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.



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