SAP Reports / Programs | Financial Accounting | Funds Management(FI-FM) SAP FI

RFFMS012 SAP ABAP Report - FI-FM: Actual Data Matching: FM Totals Records <-> FM Line Items







RFFMS012 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 RFFMS012 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 RFFMS012. "Basic submit
SUBMIT RFFMS012 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMS012 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: S_FICTR = D Funds center
Selection Text: P_UPDATE = Update in totals records table
Selection Text: P_LIST = List Output
Selection Text: P_FIKRS = D FM area
Title: FI-FM: Actual Data Matching: FM Totals Records <-> FM Line Items
Text Symbol: 204 = Number of entries changed :
Text Symbol: 203 = Number of errors :
Text Symbol: 202 = Number of line items checked :
Text Symbol: 201 = No.of totals records checked :
Text Symbol: 200 = log
Text Symbol: 116 = Value type :
Text Symbol: 115 = Fund :
Text Symbol: 114 = Commt item:
Text Symbol: 113 = Funds center :
Text Symbol: 112 = Fiscal year :
Text Symbol: 111 = FM area :
Text Symbol: 103 = Totals records table amnt:
Text Symbol: 102 = Line item table total
Text Symbol: 101 = Period
Text Symbol: 003 = Too many entries in totals records table
Text Symbol: 002 = Wrong amount in totals records table
Text Symbol: 001 = Entry missing in totals records table


INCLUDES used within this REPORT RFFMS012

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:

FM_LEDNR_GET_FROM_FIKRS CALL FUNCTION 'FM_LEDNR_GET_FROM_FIKRS' EXPORTING I_FIKRS = P_FIKRS I_APPLC = 'A' IMPORTING E_LEDNR = G_LEDNR.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' "P30K117157 EXPORTING "P30K117157 IP_APPLICATION_DATA = CON_ON "P30K117157 IP_FIKRS = P_FIKRS "P30K117157 IP_APPLC = APPLC_CA "P30K11715 IMPORTING "P30K117157 F_FM01D = L_F_FM01D. "P30K117157

FMFS_MOVE_AMOUNT_TO_PERBL CALL FUNCTION 'FMFS_MOVE_AMOUNT_TO_PERBL' EXPORTING I_AMOUNT = I_AMOUNT_LD I_PARAM = 'EQ' I_PERIO = U_T_FCABP-PERIO I_SUM = L_EALD IMPORTING E_PERBL = L_F_FMSU-PERBL E_SUM = L_EALD.

FMFS_MOVE_AMOUNT_TO_PERBL CALL FUNCTION 'FMFS_MOVE_AMOUNT_TO_PERBL' EXPORTING I_AMOUNT = I_AMOUNT_TR I_PARAM = 'EQ' I_PERIO = U_T_FCABP-PERIO I_SUM = L_EATR IMPORTING E_PERBL = L_F_FMSU-PERBL E_SUM = L_EATR.

FICTR_READ_WITH_OBJNR CALL FUNCTION 'FICTR_READ_WITH_OBJNR' "#EC * EXPORTING IP_CTR_OBJNR = U_F_FMSU-OBJNR IP_GJAHR = U_F_FMSU-GJAHR "776032 IMPORTING F_FMFCTR = L_F_FMFCTR EXCEPTIONS HIERARCHY_NOT_FOUND = 01 INPUT_ERROR = 02 MASTER_DATA_NOT_FOUND = 03.

GET_FIPOS_FROM_POSIT CALL FUNCTION 'GET_FIPOS_FROM_POSIT' EXPORTING IP_FIKRS = L_F_FMFCTR-FIKRS IP_POSIT = U_F_FMSU-POSIT IMPORTING OP_FIPOS = L_FIPOS EXCEPTIONS NOT_FOUND = 01.

GET_POSIT_FROM_FIPOS CALL FUNCTION 'GET_POSIT_FROM_FIPOS' EXPORTING IP_FIKRS = P_FIKRS IP_FIPOS = U_T_FMICOIT-FIPOS IMPORTING OP_POSIT = L_F_FMSU-POSIT.

FMFS_MOVE_AMOUNT_TO_PERBL CALL FUNCTION 'FMFS_MOVE_AMOUNT_TO_PERBL' EXPORTING I_AMOUNT = I_AMOUNT_LD I_PARAM = 'EQ' I_PERIO = U_T_FMICOIT-PERIO I_SUM = L_EALD IMPORTING E_PERBL = L_F_FMSU-PERBL E_SUM = L_EALD.

FMFS_MOVE_AMOUNT_TO_PERBL CALL FUNCTION 'FMFS_MOVE_AMOUNT_TO_PERBL' EXPORTING I_AMOUNT = I_AMOUNT_TR I_PARAM = 'EQ' I_PERIO = U_T_FMICOIT-PERIO I_SUM = L_EATR IMPORTING E_PERBL = L_F_FMSU-PERBL E_SUM = L_EATR.



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