SAP Reports / Programs

RFBKABSA SAP ABAP Report - Bank Statement Archiving: Archiving Program







RFBKABSA 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 RFBKABSA 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 RFBKABSA. "Basic submit
SUBMIT RFBKABSA AND RETURN. "Return to original report after report execution complete
SUBMIT RFBKABSA 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_XDET = Detail Log
Selection Text: P_XTEST = Test Run
Selection Text: S_BKKRS = Bank Area
Title: Bank Statement Archiving: Archiving Program
Text Symbol: 001 = Current Bk Statement


INCLUDES used within this REPORT RFBKABSA

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:

BKK_ARCH_ACCESS_CHECK_SARA CALL FUNCTION 'BKK_ARCH_ACCESS_CHECK_SARA'.

BKK_ARCH_SCR_LOG_SWITCH_ON_OFF CALL FUNCTION 'BKK_ARCH_SCR_LOG_SWITCH_ON_OFF' EXPORTING i_xactive = p_xdet.

BKK_ARCH_SCR_LOG_CONSTRUCTOR CALL FUNCTION 'BKK_ARCH_SCR_LOG_CONSTRUCTOR' EXPORTING i_tab_logdata = g_tab_log_fiba_bkst[] i_xactive = p_xdet.

BKK_ARCH_SCR_LOG_REFRESH CALL FUNCTION 'BKK_ARCH_SCR_LOG_REFRESH' EXPORTING i_archobject = g_con_archobject.

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = p_xtest create_archive_file = g_xcreate object = g_con_archobject IMPORTING archive_handle = g_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.

BKK_ARCH_ARCHIVE_OBJECT CALL FUNCTION 'BKK_ARCH_ARCHIVE_OBJECT' EXPORTING i_archobject = g_con_archobject i_handle = g_handle i_objectid = g_objectid i_tab_records = g_tab_records[] i_s_param = g_s_param i_xtest = p_xtest IMPORTING e_xvalid = g_xvalid e_xarchived = g_xarchived CHANGING c_tab_statistic = g_tab_statistic[] EXCEPTIONS termination_requested = 1.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = g_handle.

BKK_ARCH_SCR_OUTPUT_STATISTIC CALL FUNCTION 'BKK_ARCH_SCR_OUTPUT_STATISTIC' EXPORTING i_tab_statistic = g_tab_statistic[] i_cnt_objects_read = g_cnt_read i_cnt_objects_valid = g_cnt_valid i_cnt_objects_archived = g_cnt_archived.

BKK_ARCH_FIBA_BKST_OUTPUT CALL FUNCTION 'BKK_ARCH_FIBA_BKST_OUTPUT'.

BKK_ARCH_SET_OBJECTID CALL FUNCTION 'BKK_ARCH_SET_OBJECTID' EXPORTING i_key1 = sy-mandt i_key2 = u_bkkm1-bkkrs i_key3 = u_bkkm1-acnum_int i_key4 = u_bkkm1-accst_year i_key5 = u_bkkm1-accstatno IMPORTING e_objectid = c_objectid.

BKK_ARCH_SCR_LOG_SET CALL FUNCTION 'BKK_ARCH_SCR_LOG_SET' EXPORTING i_archobject = g_con_archobject i_objectid = l_id i_objectdata = c_t_sorted_bkkm1 i_archstatus = g_con_archstat_not_archivable i_archstatustxt = text-001.

BKK_ACCNT_INIT_TABLE CALL FUNCTION 'BKK_ACCNT_INIT_TABLE'.

BKK_ACCNT_GET_BKK42 CALL FUNCTION 'BKK_ACCNT_GET_BKK42' * EXPORTING * I_BKKRS = * I_ACNUM_INT = * I_LOCAL = 'X' * IMPORTING * E_BKK42 = TABLES t_bkk42 = l_tab_account[] EXCEPTIONS not_found = 1.

BKK_COMPARE_TABLES CALL FUNCTION 'BKK_COMPARE_TABLES' EXPORTING i_tab = l_sav_tab[] i_tab_sub = l_tab_account[] IMPORTING e_tab_difference = l_tab_invalid[].



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