SAP Reports / Programs

RFFMS220 SAP ABAP Report - Transfer Recovery Order







RFFMS220 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 RFFMS220 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FMF1 - Revenue Transfer


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 RFFMS220. "Basic submit
SUBMIT RFFMS220 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMS220 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_HKONT = D General Ledger Account
Selection Text: P_REVERS = Create Reversal Documents
Selection Text: P_OPEN = List of documents still open
Selection Text: P_LISTE = List of transferred documents
Selection Text: P_GJAHR = D Fiscal year
Selection Text: P_CLDATE = Posting Date from Doc (Clear.)
Selection Text: P_BUKRS = D Company code
Selection Text: P_ACIND = D Acct Determ.Charactc
Selection Text: BTCH_NAM = Name of Batch Input Session
Selection Text: BTCH_MON = D Posting Period
Selection Text: BTCH_INP = Create batch input
Selection Text: BTCH_DAT = D Posting Date
Selection Text: BTCH_BLA = D Document type
Selection Text: BELEG_DT = Document Date
Title: Transfer Recovery Order
Text Symbol: ERR = Error in BI session generation
Text Symbol: E03 = No target account found
Text Symbol: E02 = Different currency in payment doc.
Text Symbol: E01 = No currency in payment document
Text Symbol: BT0 = Acct determination
Text Symbol: BKT = RFFMS220: R/O Transfer
Text Symbol: BB0 = Posting parameters
Text Symbol: BA0 = Output control
Text Symbol: 120 = Reversed documents
Text Symbol: 110 = Assignment Numbers for Clearing
Text Symbol: 108 = Doc.Type
Text Symbol: 100 = Documents transferred earlier
Text Symbol: 099 = ..............................
Text Symbol: 098 = Statistic
Text Symbol: 091 = Error Message
Text Symbol: 090 = Document No.
Text Symbol: 080 = Whole documents open
Text Symbol: 070 = Documents with errors
Text Symbol: 060 = Documents trsfrrd
Text Symbol: 040 = Program cannot be executed
Text Symbol: 035 = - Accts:
Text Symbol: 030 = Test run
Text Symbol: 020 = - Fiscal Year:





Text Symbol: 019 = Docs Selected for
Text Symbol: 015 = Docs Examined
Text Symbol: 010 = - Company Code:
Text Symbol: 001 = Doc. selection


INCLUDES used within this REPORT RFFMS220

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:

FI_FM_ACCOUNT_DETERMINE_EU call function 'FI_FM_ACCOUNT_DETERMINE_EU' exporting i_gjahr = p_gjahr i_bukrs = p_bukrs i_acind = p_acind exceptions account_not_found = 1.

FMCA_GET_INIT_INFO call function 'FMCA_GET_INIT_INFO' exporting i_bukrs = p_bukrs changing c_f_control_data = g_f_control_data.

POSTING_INTERFACE_START call function 'POSTING_INTERFACE_START' exporting i_function = 'B' i_group = btch_nam i_user = sy-uname.

POSTING_INTERFACE_END call function 'POSTING_INTERFACE_END' exceptions session_not_processable = 1.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = sy-repid i_callback_top_of_page = 'TOP_OF_LIST' i_callback_html_top_of_page = 'HTML_TOP_OF_LIST' i_grid_title = text-015 is_layout = l_f_layout it_fieldcat = g_t_fieldcat_docs i_default = 'X' i_save = 'A' is_variant = l_f_variant is_print = l_f_print i_html_height_top = l_height_top tables t_outtab = g_t_display_docs exceptions program_error = 1 others = 2.

FM_FIPOS_GET_FROM_FIPEX call function 'FM_FIPOS_GET_FROM_FIPEX' exporting i_fipex = l_t_payment-fipex importing e_fipos = c_t_posting_info-fipos.

FM_FIPEX_GET_FROM_FIPOS * CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' * EXPORTING * I_FIPOS = C_T_POSTING_INFO-FIPOS * IMPORTING * E_FIPEX = L_T_PAYMENT-FIPEX.

POSTING_INTERFACE_DOCUMENT call function 'POSTING_INTERFACE_DOCUMENT' exporting i_tcode = 'FB01' tables t_blntab = g_t_blntab t_ftpost = u_t_ftpost t_fttax = g_t_fttax exceptions account_missing = 1 company_code_missing = 2 posting_key_invalid = 3 posting_key_missing = 4 record_type_invalid = 5 transaction_code_invalid = 6 amount_format_error = 7 others = 8.

BDC_INSERT call function 'BDC_INSERT' exporting tcode = 'FB08' tables dynprotab = l_t_rev_bdcdata.

FM_FIPEX_GET_FROM_FIPOS call function 'FM_FIPEX_GET_FROM_FIPOS' exporting i_fipos = c_t_posting_info-fipos importing e_fipex = l_fipex.

FI_FM_ACCOUNT_DETERMINE_EU call function 'FI_FM_ACCOUNT_DETERMINE_EU' exporting i_gjahr = p_gjahr i_bukrs = p_bukrs i_acind = p_acind i_fipex = l_fipex i_geber = c_t_posting_info-fonds i_fistl = c_t_posting_info-fistl importing e_saknr = c_t_posting_info-tkont exceptions account_not_found = 1 account_free_assignable = 2 account_not_possible = 3.



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