SAP Reports / Programs

RFFMKFCHECK SAP ABAP Report - Comparison of Key Figures (Reporting Key Figures)







RFFMKFCHECK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to compare the key figures and the corresponding key figure terms of a source system with those of any target system...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFFMKFCHECK 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

FMRPKFCHECK - Comparison of Key Figures(Reporting)


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 RFFMKFCHECK. "Basic submit
SUBMIT RFFMKFCHECK AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMKFCHECK 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_KEYFIG = D .
Selection Text: P_RD2 = RFC
Selection Text: P_CLD2 = Clnt
Title: Comparison of Key Figures (Reporting Key Figures)
Text Symbol: 411 = File/Download
Text Symbol: 410 = Match with (R):
Text Symbol: 400 = Source (L):
Text Symbol: 300 = Key Figure / Data Source
Text Symbol: 220 = Line Items FI Documents
Text Symbol: 210 = Totals Records Cmmt&Actl
Text Symbol: 200 = Budget Data
Text Symbol: 043 = (See "Definition of Key Figures" (transaction: rpkfdef))
Text Symbol: 042 = The transport of the key figures may have to be manual
Text Symbol: 041 = The key figures were corrected
Text Symbol: 040 = Matching Key Figures
Text Symbol: 039 = The key figure was updated
Text Symbol: 038 = The key figure was imported
Text Symbol: 037 = Key figures are singular
Text Symbol: 036 = Difference (Terms, Field Grp, Text)
Text Symbol: 035 = Identical Key Fgr
Text Symbol: 034 = Deselect All
Text Symbol: 033 = Select All Key Figures
Text Symbol: 032 = Insert
Text Symbol: 031 = Update
Text Symbol: 030 = Update of Key Figures
Text Symbol: 027 = File :
Text Symbol: 026 = File Info
Text Symbol: 025 = Download (no matching)
Text Symbol: 024 = File/Upload
Text Symbol: 023 = Client
Text Symbol: 022 = RFC Destination
Text Symbol: 020 = Do you want to overwrite the file?
Text Symbol: 014 = Download
Text Symbol: 013 = Tgt
Text Symbol: 012 = Additionl Restrictions
Text Symbol: 011 = Source (is matched)
Text Symbol: 010 = Match with / Target (Download)


INCLUDES used within this REPORT RFFMKFCHECK

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:

ICON_CREATE call function 'ICON_CREATE' exporting name = g_name text = g_text info = g_info * ADD_STDINF = 'X' importing result = g_result exceptions icon_not_found = 1 outputfield_too_short = 2 others = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'KEYFIG' value_org = 'S' TABLES value_tab = l_t_value field_tab = l_t_field_tab return_tab = l_t_ret EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

FMRKF_TERMTABLE_READ CALL FUNCTION 'FMRKF_TERMTABLE_READ' DESTINATION u_dest EXPORTING i_client = u_client TABLES t_repterm = t_repterm t_bukf_kf = t_bukf_kf t_bukf_kf_t = t_bukf_kf_t t_bukf_kfdsrc = t_bukf_kfdsrc EXCEPTIONS communication_failure = 1 MESSAGE msg_txt system_failure = 2 MESSAGE msg_txt no_client = 3.

FMRKF_TERMTABLE_READ CALL FUNCTION 'FMRKF_TERMTABLE_READ' DESTINATION u_dest EXPORTING i_client = u_client TABLES t_repterm = t_repterm EXCEPTIONS communication_failure = 1 MESSAGE msg_txt system_failure = 2 MESSAGE msg_txt no_client = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = l_tabname * FIELDNAME = ' ' * LANGU = SY-LANGU * LFIELDNAME = ' ' * ALL_TYPES = ' ' * GROUP_NAMES = ' ' * UCLEN = IMPORTING x030l_wa = l_dd03l * DDOBJTYPE = * DFIES_WA = * LINES_DESCR = TABLES dfies_tab = l_dfies * FIXED_VALUES = EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3 .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = ** >> UNICODE * filename = dsn filename = l_filename ** << UNICODE filetype = 'BIN' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES data_tab = u_t_data EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22 .

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = l_filename filetype = 'BIN' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' * DAT_MODE = ' ' * CODEPAGE = ' ' * IGNORE_CERR = ABAP_TRUE * REPLACEMENT = '#' * CHECK_BOM = ' ' * IMPORTING * FILELENGTH = * HEADER = TABLES data_tab = c_t_data.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = 'MANDT' langu = sy-langu IMPORTING dd04v_wa = l_f_dd04v.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = popup_title IMPORTING returncode = returncode TABLES fields = fields.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Soll die Datei überschrieben werden?'(020) display_cancel_button = ' ' IMPORTING answer = l_result EXCEPTIONS text_not_found = 1 OTHERS = 2.



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