RFFMRC20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Reconciliation of earmarked funds totals records of KBLP, KBLESUM Totals records are now updated in a separate table
If you would like to execute this report or see the full code listing simply enter RFFMRC20 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: S_KERFAS = Created By
Selection Text: S_KERDAT = Created On
Selection Text: S_BUKRS = Company Code
Selection Text: S_BUDAT = Posting Date in the Document
Selection Text: S_BLTYP = Document Category
Selection Text: S_BLART = Document Type
Selection Text: S_BELNR = Document Number
Selection Text: P_UPIN = Data to Be Corrected
Selection Text: P_TEST = Test Run
Selection Text: P_PROT = Complete Log
Selection Text: P_ERON = Display Errors Only
Title: Totals Reconciliation Earmarked Funds
Text Symbol: 037 = Read KBLEW Data:
Text Symbol: 036 = Read KBLE Data
Text Symbol: 035 = Journal Output
Text Symbol: 032 = Check/Update Data
Text Symbol: 031 = Read Line Items
Text Symbol: 030 = Read KBLP Data:
Text Symbol: 029 = Different Values (Item Completed)
Text Symbol: 028 = Different Values (Original)
Text Symbol: 027 = Superfl. Totals Record
Text Symbol: 026 = Insert Occurs
Text Symbol: 025 = Update Occurs
Text Symbol: 024 = Insert Errors
Text Symbol: 023 = Update Errors
Text Symbol: 022 = Different Values (Calculated)
Text Symbol: 021 = No values exist
Text Symbol: 020 = Same Values
Text Symbol: 019 = Control
Text Symbol: 018 = Value restriction
Text Symbol: 016 = Upd. Run
Text Symbol: 015 = Test Run
Text Symbol: 014 = Update/Insert Error
Text Symbol: 013 = Data to Be Corrected
Text Symbol: 012 = All Data
Text Symbol: 011 = Date/Time
Text Symbol: 010 = User
Text Symbol: 009 = Log
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DB_COMMIT call function 'DB_COMMIT'.
DB_COMMIT call function 'DB_COMMIT'.
FMR3_GET_CONSUMPTION_FROM_KBLE call function 'FMR3_GET_CONSUMPTION_FROM_KBLE' importing e_t_kblesum = l_t_kblesum_empty tables t_kble = l_t_kble_empty t_kblew = l_t_kblew_empty changing c_f_consume = l_f_consume.
FMR3_GET_CONSUMPTION_FROM_KBLE call function 'FMR3_GET_CONSUMPTION_FROM_KBLE' IMPORTING e_t_kblesum = l_t_kblesum TABLES t_kble = u_t_kble t_kblew = u_t_kblew CHANGING c_f_consume = l_f_consume.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_red_light text = l_f_fmrc20_kblesum-icon_t info = l_f_fmrc20_kblesum-icon_t IMPORTING result = l_f_fmrc20_kblesum-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_green_light text = l_f_fmrc20_kblesum-icon_t info = l_f_fmrc20_kblesum-icon_t IMPORTING result = l_f_fmrc20_kblesum-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_red_light text = l_f_fmrc20_kblesum-icon_t info = l_f_fmrc20_kblesum-icon_t IMPORTING result = l_f_fmrc20_kblesum-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_red_light text = l_f_fmrc20_kblesum-icon_t info = l_f_fmrc20_kblesum-icon_t IMPORTING result = l_f_fmrc20_kblesum-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_yellow_light text = l_f_fmrc20_kblesum-icon_t info = l_f_fmrc20_kblesum-icon_t IMPORTING result = l_f_fmrc20_kblesum-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_green_light text = l_f_fmrc20_kblp-icon_t info = l_f_fmrc20_kblp-icon_t IMPORTING result = l_f_fmrc20_kblp-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_red_light text = l_f_fmrc20_kblp-icon_t info = l_f_fmrc20_kblp-icon_t IMPORTING result = l_f_fmrc20_kblp-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_red_light text = l_f_fmrc20_kblp-icon_t info = l_f_fmrc20_kblp-icon_t IMPORTING result = l_f_fmrc20_kblp-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_yellow_light text = l_f_fmrc20_kblp-icon_t info = l_f_fmrc20_kblp-icon_t IMPORTING result = l_f_fmrc20_kblp-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_red_light text = l_f_fmrc20_kblp-icon_t info = l_f_fmrc20_kblp-icon_t IMPORTING RESULT = l_f_fmrc20_kblp-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_yellow_light text = l_f_fmrc20_kblp-icon_t info = l_f_fmrc20_kblp-icon_t IMPORTING RESULT = l_f_fmrc20_kblp-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_red_light text = c_f_fmrc20_kblesum-icon_t info = c_f_fmrc20_kblesum-icon_t IMPORTING result = c_f_fmrc20_kblesum-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_red_light text = c_f_fmrc20_kblesum-icon_t info = c_f_fmrc20_kblesum-icon_t IMPORTING result = c_f_fmrc20_kblesum-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_yellow_light text = c_f_fmrc20_kblesum-icon_t info = c_f_fmrc20_kblesum-icon_t IMPORTING result = c_f_fmrc20_kblesum-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_yellow_light text = c_f_fmrc20_kblesum-icon_t info = c_f_fmrc20_kblesum-icon_t IMPORTING result = c_f_fmrc20_kblesum-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_red_light text = c_f_fmrc20_kblp-icon_t info = c_f_fmrc20_kblp-icon_t IMPORTING result = c_f_fmrc20_kblp-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_yellow_light text = c_f_fmrc20_kblp-icon_t info = c_f_fmrc20_kblp-icon_t IMPORTING result = c_f_fmrc20_kblp-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting * PERCENTAGE = 0 text = u_text.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting * I_PROGRAM_NAME = i_internal_tabname = g_tabname_header i_structure_name = 'FMRC20_KBLP' * I_CLIENT_NEVER_DISPLAY = 'X' changing ct_fieldcat = c_t_fieldcat[].
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting * I_PROGRAM_NAME = i_internal_tabname = g_tabname_item i_structure_name = 'FMRC20_KBLESUM' * I_CLIENT_NEVER_DISPLAY = 'X' changing ct_fieldcat = c_t_fieldcat[].
REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = c_t_events.
REUSE_ALV_HIERSEQ_LIST_DISPLAY call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' exporting i_callback_program = g_repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' is_layout = g_f_layout it_fieldcat = g_t_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = GT_SP_GROUP[] * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * i_default = g_default i_save = g_save is_variant = g_variant it_events = g_t_events[] * IT_EVENT_EXIT = i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item is_keyinfo = g_f_keyinfo * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = tables t_outtab_header = u_t_fmrc20_kblp t_outtab_item = u_t_fmrc20_kblesum.
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 RFFMRC20 or its description.