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

RFFMARC2 SAP ABAP Report - Archiving of Line Items in FM: Display Archive







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


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 RFFMARC2. "Basic submit
SUBMIT RFFMARC2 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMARC2 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: 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





Text Symbol: 390 = FM Area :
Text Symbol: 400 = Value cat. :
Text Symbol: 410 = CoCd
Text Symbol: 420 = Year
Text Symbol: 430 = FI doc.
Text Symbol: 440 = MM Doc.
Text Symbol: 450 = Funds res.
Text Symbol: 800 = FI


INCLUDES used within this REPORT RFFMARC2

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



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