SAP Reports / Programs | Transaction Data Pool | Bank Components | Transaction Data Pool(IS-B-DP) SAP IS

RJBD_VTBA_ARCH_RELOAD SAP ABAP Report - Archiving Object JB_VTBA: Reload Program







RJBD_VTBA_ARCH_RELOAD 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 RJBD_VTBA_ARCH_RELOAD 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 RJBD_VTBA_ARCH_RELOAD. "Basic submit
SUBMIT RJBD_VTBA_ARCH_RELOAD AND RETURN. "Return to original report after report execution complete
SUBMIT RJBD_VTBA_ARCH_RELOAD VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Archiving Object JB_VTBA: Reload Program
Text Symbol: L01 = Start Archiving of Reload Run On
Text Symbol: L02 = At
Text Symbol: L03 = Archiving Object:
Text Symbol: L04 = End Archiving of Reload Run On
Text Symbol: L05 = Archiving of Reload Run
Text Symbol: L06 = Archiving Mode:
Text Symbol: L07 = Test
Text Symbol: L08 = Simulation
Text Symbol: L09 = Production
Text Symbol: L10 = Archive File
Text Symbol: L11 = processed...
Text Symbol: L12 = Reload run was cancelled; run is invalid (see activity log)


INCLUDES used within this REPORT RJBD_VTBA_ARCH_RELOAD

INCLUDE EMSG.
INCLUDE BANK_PPLOG_MACROS.
INCLUDE AFX_GLOBAL_DATA_PUBLIC.
INCLUDE AFX_GLOBAL_LOGGING_PUBLIC.
INCLUDE AFX_GLOBAL_ADK_PUBLIC.
INCLUDE IJBD_VTBA_ARCH_DATA.


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:

AFX_DB_GLOBAL_CUST_GET CALL FUNCTION 'AFX_DB_GLOBAL_CUST_GET' EXPORTING i_object = g_con_object_VTBA_ARCH IMPORTING e_str_global_cust = g_str_global_cust EXCEPTIONS not_found = 1 OTHERS = 2.

AFX_MSG_OPEN CALL FUNCTION 'AFX_MSG_OPEN' EXPORTING i_prog = g_repid i_log_object_std = g_log_object i_log_object_exc = g_log_object_exc i_lognumber = g_logextnumber i_log_period = g_str_global_cust-log_period i_log_period_unit = g_str_global_cust-log_period_unit IMPORTING e_msg_handle_std = g_msg_handle_std e_msg_handle_exc = g_msg_handle_exc EXCEPTIONS log_init_failed_std = 1 log_init_failed_exc = 2 OTHERS = 3.

AFX_AUTH_GLOBAL_CHECK CALL FUNCTION 'AFX_AUTH_GLOBAL_CHECK' EXPORTING i_actvt = g_con_auth_actvt_create i_arch_obj = g_con_object_VTBA_ARCH i_log_object_exc = g_log_object_exc EXCEPTIONS no_auth_found = 1 no_auth_valid = 2 no_profiles_found = 3 invalid_fields = 4 invalid_parameter_count = 5 destroyed_auth = 6 OTHERS = 7.

AFX_MSG_CLOSE CALL FUNCTION 'AFX_MSG_CLOSE' EXPORTING i_log_object_std = g_log_object i_log_object_exc = g_log_object_exc i_msg_handle_std = g_msg_handle_std i_msg_handle_exc = g_msg_handle_exc.

AFX_ACTVTLOG_STATUS_UPDATE CALL FUNCTION 'AFX_ACTVTLOG_STATUS_UPDATE' EXPORTING i_actvt_id = g_str_actvt_log-actvt_id i_runstatus = g_con_actvt_prog_normal_end i_log_object_exc = g_log_object_exc.

AFX_ACTVTLOG_ENDTMSTP_SET CALL FUNCTION 'AFX_ACTVTLOG_ENDTMSTP_SET' EXPORTING i_actvt_id = g_str_actvt_log-actvt_id i_enddate = sy-datum i_endtime = sy-uzeit i_log_object_exc = g_log_object_exc.

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING jobcount = g_selfjobcount jobname = g_selfjobname stepcount = g_selfstepcount EXCEPTIONS no_runtime_info = 1 OTHERS = 2.

BANK_API_PP_LOG_CREATE_LOGNO CALL FUNCTION 'BANK_API_PP_LOG_CREATE_LOGNO' IMPORTING e_lognumber = l_lognumber.

AFX_ACTVTLOG_CREATE CALL FUNCTION 'AFX_ACTVTLOG_CREATE' EXPORTING i_log_object = g_log_object i_log_object_exc = g_log_object_exc i_log_extnumber = g_logextnumber i_log_aldate = l_aldate_del i_log_alprog = g_repid i_prog_type = g_con_progtype_reload i_object = g_con_object_VTBA_ARCH i_applcatg = space i_armode = g_str_global_cust-armode i_runuser = sy-uname i_startdate = sy-datum i_starttime = sy-uzeit IMPORTING e_str_actvt_log = g_str_actvt_log EXCEPTIONS actvt_id_get_failed = 1 actvt_log_create_failed = 2 OTHERS = 3.

AFX_ACTVTLOG_JOBLIST_CREATE CALL FUNCTION 'AFX_ACTVTLOG_JOBLIST_CREATE' EXPORTING i_actvt_id = g_str_actvt_log-actvt_id i_tab_jobs = l_tab_jobs i_log_object_exc = g_log_object_exc.

AFX_ACTVTLOG_DOCLIST_CREATE CALL FUNCTION 'AFX_ACTVTLOG_DOCLIST_CREATE' EXPORTING i_actvt_id = g_str_actvt_log-actvt_id i_str_jobkey = l_str_jobkey i_document = g_archive_document_read i_jobtype = g_con_adk_jobtype_reload i_log_object_exc = g_log_object_exc.

AFX_ACTVTLOG_FILLIST_CREATE CALL FUNCTION 'AFX_ACTVTLOG_FILLIST_CREATE' EXPORTING i_actvt_id = g_str_actvt_log-actvt_id i_document = g_archive_document_read i_tab_archive_files = g_tab_archive_files i_log_object_exc = g_log_object_exc.

ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING object = g_con_object_VTBA_ARCH test_mode = g_flg_test_mode IMPORTING archive_read_handle = l_read_archive_handle archive_write_handle = l_write_archive_handle EXCEPTIONS file_already_open = g_con_adk_file_already_open file_io_error = g_con_adk_file_io_error internal_error = g_con_adk_internal_error no_files_available = g_con_adk_no_files_available object_not_found = g_con_adk_object_not_found open_error = g_con_adk_open_error not_authorized = g_con_adk_not_authorized OTHERS = g_con_adk_others.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = l_read_archive_handle IMPORTING archive_creation_date = l_archive_creation_date archive_creation_release = l_archive_creation_release archive_document = g_archive_document_read adk_version = l_adk_version EXCEPTIONS internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = l_write_archive_handle IMPORTING archive_document = g_archive_document_write EXCEPTIONS internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = l_read_archive_handle EXCEPTIONS internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.

ARCHIVE_GET_ARCHIVE_FILES CALL FUNCTION 'ARCHIVE_GET_ARCHIVE_FILES' EXPORTING archive_handle = l_read_archive_handle TABLES archive_files = g_tab_archive_files EXCEPTIONS wrong_access_to_archive = g_con_adk_wrong_access_to_arch internal_error = g_con_adk_internal_error OTHERS = g_con_adk_others.

AFX_ADK_OBJECT_COUNT_GET CALL FUNCTION 'AFX_ADK_OBJECT_COUNT_GET' EXPORTING i_document = g_archive_document_read IMPORTING e_object_count = l_object_count.

ARCHIVE_GET_NEXT_OBJECT





CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = l_read_archive_handle IMPORTING object_id = l_object_id object_offset = l_object_offset archive_name = l_archive_name EXCEPTIONS end_of_file = g_con_adk_end_of_file file_io_error = g_con_adk_file_io_error internal_error = g_con_adk_internal_error open_error = g_con_adk_open_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = l_read_archive_handle IMPORTING record_structure = l_record_type record_ref = l_buffer_ref EXCEPTIONS end_of_object = g_con_adk_end_of_object internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = l_write_archive_handle EXCEPTIONS file_io_error = g_con_adk_file_io_error internal_error = g_con_adk_internal_error open_error = g_con_adk_open_error termination_requested = g_con_adk_termination_req wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = l_read_archive_handle TABLES table = l_tab_arch_stat_give EXCEPTIONS internal_error = g_con_adk_internal_error OTHERS = g_con_adk_others.

ARCHIVE_GET_STATISTICS CALL FUNCTION 'ARCHIVE_GET_STATISTICS' EXPORTING archive_handle = l_read_archive_handle TABLES statistics_data = l_tab_arch_stat_get EXCEPTIONS internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.

AFX_MSG_LOG_ADK_STATISTICS CALL FUNCTION 'AFX_MSG_LOG_ADK_STATISTICS' EXPORTING i_archive_document = g_archive_document_read i_log_object = g_log_object i_flg_reload = con_true CHANGING c_tab_statistics_data = l_tab_statistics_data.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = l_read_archive_handle EXCEPTIONS internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

JBD_DB_VTBA_ARCH_JBDVTBA_INS CALL FUNCTION 'JBD_DB_VTBA_ARCH_JBDVTBA_INS' EXPORTING i_tab_data = G_TAB_JBDVTBA EXCEPTIONS database_error = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = l_percentage text = l_text.



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