RFFMARC2 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 RFFMARC2 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: P_A_NAME = D Key for Archive File
Selection Text: P_FYR_FR = Fiscal Year
Selection Text: P_FYR_TO = Fiscal Year
Selection Text: P_PER_FR = Period
Selection Text: P_PER_TO = Period
Selection Text: R_BELNR = FM is Document Number
Selection Text: R_BELNR2 = Document Number
Selection Text: R_BUKRS = D Company Code
Selection Text: R_BUKRS2 = D Company Code
Selection Text: R_EBELN = D Purchasing Document
Selection Text: R_FICTR = D Funds Center
Selection Text: R_FIKRS = D Financial Management Area
Selection Text: R_FIPOS = D Commitment Item
Selection Text: R_GEBER = D Fund
Selection Text: R_GJAHR2 = D Fiscal Year
Selection Text: R_KBLNR = D Earmarked Funds
Selection Text: R_WRTTP = D Value Type
Title: Archiving of Line Items in FM: Display Archive
Text Symbol: 850 = No
Text Symbol: 840 = MR
Text Symbol: 830 = Bl
Text Symbol: 820 = DT
Text Symbol: 810 = PF
Text Symbol: 010 = Funds Management
Text Symbol: 020 = Accounting
Text Symbol: 030 = Purch.
Text Symbol: 040 = Funds Reservation
Text Symbol: 060 = Fiscal Period/Year
Text Symbol: 070 = To
Text Symbol: 301 = Line
Text Symbol: 302 = Fiscal Year:
Text Symbol: 304 = Fund
Text Symbol: 305 = Funds Center
Text Symbol: 306 = Total LC
Text Symbol: 307 = Total TC
Text Symbol: 314 = Cmmt Item
Text Symbol: 330 = G/L acct
Text Symbol: 350 = No Matching Documents were Found for the Evaluation
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ * CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' * EXPORTING * object = const_ar_objekt_fmfcab * archive_name = p_a_name * IMPORTING * archive_handle = g_ar_handle.
ARCHIVE_CLOSE_FILE * CALL FUNCTION 'ARCHIVE_CLOSE_FILE' * EXPORTING * archive_handle = g_ar_handle.
FMFK_FIKRS_READ * CALL FUNCTION 'FMFK_FIKRS_READ' * EXPORTING * ip_fikrs = u_fikrs * IMPORTING * f_fm01 = l_f_fm01 * EXCEPTIONS * input_error = 1 * not_found = 2 * OTHERS = 3.
DD_DOMVALUE_TEXT_GET * CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' * EXPORTING * domname = l_doma_nam * value = l_value * langu = sy-langu * IMPORTING * dd07v_wa = l_f_dd07v * rc = l_rc.
ARCHIVE_GET_NEXT_RECORD * CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' * EXPORTING * archive_handle = l_ar_handle * IMPORTING * record = l_record_ref * record_structure = l_record_structure * EXCEPTIONS * end_of_object = 1 * internal_error = 2 * wrong_access_to_archive = 3 * OTHERS = 4.
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'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFFMARC2 - Archiving of Line Items in FM: Display Archive RFFMARC2 - Archiving of Line Items in FM: Display Archive 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