SAP Reports / Programs

RFFMKKAB2 SAP ABAP Report - Cash Desk Closing (Cash Desk Subledger)







RFFMKKAB2 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 RFFMKKAB2 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 RFFMKKAB2. "Basic submit
SUBMIT RFFMKKAB2 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMKKAB2 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_ZKAB = Time of closing
Selection Text: P_TKAB = Closing date
Selection Text: P_SCFORM = Form Name
Selection Text: P_ERNAM = Administrator
Title: Cash Desk Closing (Cash Desk Subledger)
Text Symbol: 042 = Cash desk closing
Text Symbol: 043 = Actual cash desk amount not yet entered (FICUSTOM 099)! Still close cash desk (update run)?
Text Symbol: 044 = Close Cash Desk (Update Run)?
Text Symbol: 050 = Cal.csh dsk amt from prev.dy
Text Symbol: 051 = New cal. cash desk amnt
Text Symbol: 052 = Actl csh dsk amnt entered
Text Symbol: 053 = Number of reversals
Text Symbol: 054 = Total amount of reversals
Text Symbol: 055 = Cash Desk is Cleared in
Text Symbol: 056 = Cash desk is not cleared
Text Symbol: 057 = Differ.
Text Symbol: 058 = Actl cash desk amt not yet entered in
Text Symbol: 060 = Actual cash desk amt entry
Text Symbol: 061 = Enter the actual cash desk amount
Text Symbol: 062 = in the entry field
Text Symbol: 065 = Last cash desk closing
Text Symbol: 066 = Calcd csh desk amnt
Text Symbol: 067 = Actl csh desk amnt
Text Symbol: 070 = SAP script output
Text Symbol: 071 = Select the form required
Text Symbol: 074 = Closing
Text Symbol: 075 = Cntr Ref.
Text Symbol: 041 = test run into update amount?
Text Symbol: 001 = Cash desk clsng from
Text Symbol: 002 = Doc. overview
Text Symbol: 003 = Reversals
Text Symbol: 004 = Overall clsng
Text Symbol: 005 = Detailled view
Text Symbol: 006 = Processor / User :
Text Symbol: 007 = Status cash desk closing :
Text Symbol: 008 = Closing not in prog.
Text Symbol: 009 = Closing in prog.
Text Symbol: 010 = Closing criteria





Text Symbol: 011 = Display completed closings
Text Symbol: 012 = Current Time
Text Symbol: 013 = Output Options
Text Symbol: 014 = Form Name
Text Symbol: 015 = Currency:
Text Symbol: 020 = Total
Text Symbol: 022 = Actual amount(LC)
Text Symbol: 023 = Actual amount (Transaction Currency)
Text Symbol: 024 = Deb.
Text Symbol: 025 = Cred.
Text Symbol: 026 = Revenues (LC)
Text Symbol: 027 = Expndtrs (LC)
Text Symbol: 028 = Revenues (Target Currency)
Text Symbol: 029 = Expenditures (Target Currency)
Text Symbol: 030 = Administrator
Text Symbol: 031 = Time of closing
Text Symbol: 040 = Do you want to transfer data from


INCLUDES used within this REPORT RFFMKKAB2

INCLUDE LKBPPEQU.
INCLUDE IHHPLTXT.


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 = icon_time text = text-012 info = text-012 IMPORTING RESULT = erzpt EXCEPTIONS OTHERS = 0.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'PF_STATUS_SET_VZL' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'G_T_BEL_EP' is_layout = g_f_layout it_fieldcat = g_t_fieldcat i_default = 'X' i_save = 'A' is_variant = l_variant it_events = g_t_events TABLES t_outtab = g_t_bel_ep EXCEPTIONS program_error = 1 others = 2.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'PF_STATUS_SET' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'G_T_BKA_GES' is_layout = g_f_layout it_fieldcat = g_t_fieldcat i_default = 'X' i_save = 'A' it_events = g_t_events TABLES t_outtab = g_t_bka_ges EXCEPTIONS program_error = 1 others = 2.

FM_POPUP_TO_GET_BTR2 call function 'FM_POPUP_TO_GET_BTR2' exporting textline1 = text-061 textline2 = text-062 * TEXTLINE3 = text-063 titel = text-060 importing answer = l_answer tables t_fmcj_dbtr = c_t_ka_ist exceptions titel_too_long = 1 others = 2.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'PF_STATUS_SET_VZL' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'G_T_BEL_STO' is_layout = g_f_layout it_fieldcat = g_t_fieldcat i_default = 'X' i_save = 'A' it_events = g_t_events TABLES t_outtab = c_t_bel_sto EXCEPTIONS program_error = 1 others = 2.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'PF_STATUS_SET_VZL' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'G_T_BEL_EP_DET' is_layout = g_f_layout it_fieldcat = g_t_fieldcat i_default = 'X' i_save = 'A' is_variant = l_variant it_events = g_t_events TABLES t_outtab = g_t_bel_ep_det EXCEPTIONS program_error = 1 others = 2.

READ_CUSTOMIZED_MESSAGE CALL FUNCTION 'READ_CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'FICUSTOM' i_dtype = con_dtype_w i_msgnr = '099' IMPORTING e_msgty = l_msgty.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-042 text_question = text-043 default_button = '2' display_cancel_button = ' ' IMPORTING answer = l_answer.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-042 text_question = text-044 default_button = '2' display_cancel_button = ' ' IMPORTING answer = l_answer.






ENQUEUE_EFMCJ call function 'ENQUEUE_EFMCJ' EXPORTING mode_fmcj = 'E' mandt = sy-mandt bukrs = u_t_bel_ep-bukrs belnr = u_t_bel_ep-belnr gjahr = u_t_bel_ep-gjahr x_bukrs = ' ' x_belnr = ' ' x_gjahr = ' ' _scope = '2' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 others = 3.

DEQUEUE_EFMCJ call function 'DEQUEUE_EFMCJ' EXPORTING mode_fmcj = 'E' mandt = sy-mandt bukrs = u_t_bel_ep-bukrs belnr = u_t_bel_ep-belnr gjahr = u_t_bel_ep-gjahr x_bukrs = ' ' x_belnr = ' ' x_gjahr = ' ' _scope = '3' _synchron = ' ' _collect = ' ' EXCEPTIONS others = 1.

POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting defaultoption = '1' textline1 = text-071 * TEXTLINE2 = text-072 * TEXTLINE3 = text-073 text_option1 = text-074 text_option2 = text-075 titel = text-070 * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' importing answer = l_answer exceptions others = 1.

POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting defaultoption = '1' textline1 = text-071 * TEXTLINE2 = text-072 * TEXTLINE3 = text-073 text_option1 = text-074 text_option2 = text-075 titel = text-070 * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' importing answer = l_answer exceptions others = 1.



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