RFBKGLBSPREP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report for the balance sheet preparation (division into payables / receivabes) for BCA accounts...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 RFBKGLBSPREP into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
F9HL - Bal.Sheet Prep. BCA - GL
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_BKKRS = Bank Area
Selection Text: P_TEST = Simulation run
Selection Text: P_DINP = Postings from Leg.Data Trans.
Selection Text: P_DATBIS = To-Date Bal. Sheet Preparation
Selection Text: P_CURR = Current Postings
Title: Balance Sheet Preparation Bank Customer Accounts - FI General Ledger
Text Symbol: P02 = Process Flow Control
Text Symbol: P01 = General selections
Text Symbol: 301 = Restart balance sheet preparation
Text Symbol: 300 = Reconciliation key was closed and reopened
Text Symbol: 037 = Message text
Text Symbol: 036 = Number
Text Symbol: 035 = Type
Text Symbol: 032 = Bal. sheet prepar. (backdated) complete - no errors
Text Symbol: 031 = Bal. Sheet Prepar. Current Account Complete - no Errors
Text Symbol: 030 = Message list
Text Symbol: 021 = Balance Sheet Preparation FI GL Backdated to
Text Symbol: 020 = Bal. Sheet Prepar. FI GL Current Account to
Text Symbol: 018 = With Term. Errors
Text Symbol: 017 = With Sing.Errors
Text Symbol: 016 = With Warnings
Text Symbol: 015 = No Errors
Text Symbol: 011 = Update Run
Text Symbol: 010 = Test Run
INCLUDE IBKKCON .
INCLUDE IBKKCONH.
No SAP DATABASE tables are accessed within this REPORT code!
BKK_BKKC_FBC8DB_REFRESH_MEM CALL FUNCTION 'BKK_BKKC_FBC8DB_REFRESH_MEM'.
BKK_BKKC12_GET_OLD_ACC CALL FUNCTION 'BKK_BKKC12_GET_OLD_ACC' EXPORTING i_bal_type = l_glbal_type_old i_date_to = l_datto_bp_old IMPORTING e_rc = l_rc_local TABLES i_r_bkkrs = s_bkkrs e_t_bkkc12 = g_bkkc12 e_t_bkkc12_item = g_bkkc12_item.
BKK_GL_BS_PREP_REFRESH_ALL CALL FUNCTION 'BKK_GL_BS_PREP_REFRESH_ALL'.
BKK_GL_BS_PREP_CALC_POSTOLD CALL FUNCTION 'BKK_GL_BS_PREP_CALC_POSTOLD' EXPORTING i_glbal = g_bkkc12 i_gl_process = l_process i_test = p_test i_rng_bkkrs = s_bkkrs[] TABLES t_bkkc02 = g_bkkc02 t_list = g_dlist_bsp_old t_bkkc12_item = g_tab_bkkc12_item_tmp EXCEPTIONS gl_error = 1 no_recs_pays = 2 "note1050843 OTHERS = 9.
BKK_GL_BS_PREP_UPDATE_DB_CALC CALL FUNCTION 'BKK_GL_BS_PREP_UPDATE_DB_CALC' EXPORTING i_xpostold = 'X' i_act = p_curr i_x_in_update_task = space.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING max_severity = l_max_severity.
BKK_BKKC13_GET CALL FUNCTION 'BKK_BKKC13_GET' EXPORTING i_date_to = l_datto_bp_act IMPORTING e_rc = l_rc_local TABLES i_r_bkkrs = s_bkkrs e_t_bkkc13 = g_bkkc13.
BKK_BKKC12_GET_ACT_ACC CALL FUNCTION 'BKK_BKKC12_GET_ACT_ACC' EXPORTING i_bal_type = l_glbal_type_act i_date_post = g_date_post i_bkkrs = g_bkkrs-bkkrs i_x_with_glkey = ' ' IMPORTING e_rc = l_rc_local TABLES e_t_bkkc12 = g_bkkc12 e_t_bkkc12_item = g_bkkc12_item.
BKK_GL_BS_PREP_REFRESH_ALL CALL FUNCTION 'BKK_GL_BS_PREP_REFRESH_ALL'.
BKK_GL_BS_PREP_CALC CALL FUNCTION 'BKK_GL_BS_PREP_CALC' EXPORTING i_date_post = g_date_post i_gl_process = l_process i_test = p_test i_rng_bkkrs = s_bkkrs[] TABLES t_bkkc12 = g_bkkc12 t_bkkc02 = g_bkkc02 t_list = g_dlist_bsp_act t_bkkc12_item = g_bkkc12_item EXCEPTIONS gl_error = 1 OTHERS = 2.
BKK_GL_BS_PREP_UPDATE_DB_CALC CALL FUNCTION 'BKK_GL_BS_PREP_UPDATE_DB_CALC' EXPORTING i_act = p_curr i_x_in_update_task = space.
BKK_BKKC12_GET_ACT_ACC CALL FUNCTION 'BKK_BKKC12_GET_ACT_ACC' EXPORTING i_bal_type = l_glbal_type_act i_date_post = g_date_post i_x_with_glkey = 'X' IMPORTING e_rc = l_rc_local TABLES i_r_bkkrs = s_bkkrs e_t_bkkc12 = g_bkkc12 e_t_bkkc12_item = g_bkkc12_item.
BKK_GL_BS_PREP_REFRESH_ALL CALL FUNCTION 'BKK_GL_BS_PREP_REFRESH_ALL'.
BKK_GL_BS_PREP_CALC CALL FUNCTION 'BKK_GL_BS_PREP_CALC' EXPORTING i_date_post = g_date_post i_gl_process = l_process i_test = p_test i_rng_bkkrs = s_bkkrs[] TABLES t_bkkc12 = g_bkkc12 t_bkkc02 = g_bkkc02 t_list = g_dlist_bsp_act t_bkkc12_item = g_bkkc12_item EXCEPTIONS gl_error = 1 OTHERS = 2.
BKK_GL_BS_PREP_UPDATE_DB_CALC CALL FUNCTION 'BKK_GL_BS_PREP_UPDATE_DB_CALC' EXPORTING i_act = p_curr i_x_in_update_task = space.
BKK_GL_BS_PREP_CHG_ACT_TO_OLD CALL FUNCTION 'BKK_GL_BS_PREP_CHG_ACT_TO_OLD' EXCEPTIONS no_delete = 1 no_insert = 2 no_update = 3 wrong_data = 4 OTHERS = 5.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING max_severity = l_max_severity.
BKK_CHAIN_DETERM_NEXT_STEP CALL FUNCTION 'BKK_CHAIN_DETERM_NEXT_STEP' EXPORTING i_laufd = p_laufd i_laufi = p_laufi i_returncode = l_rc i_event = g_con_event_bsprep_end i_tab_bkkrs = l_t_bkkrs[] IMPORTING e_rc = rc.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFBKGLBSPREP - Balance Sheet Preparation Bank Customer Accounts - FI General Ledger RFBKGLBSPREP - Balance Sheet Preparation Bank Customer Accounts - FI General Ledger RFBKGLBKKC30 - General Ledger: Balance Sheet Preparation Data Detail Display RFBKGLBKKC30 - General Ledger: Balance Sheet Preparation Data Detail Display RFBKGLAPPLLOG - Application Logs Display General Ledger Reports RFBKGLAPPLLOG - Application Logs Display General Ledger Reports