BTCTESTN 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 BTCTESTN into the relevant SAP transactions such as SE38 or SE80
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.
Title: Program BTCTESTN
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BP_ADD_APPL_LOG_HANDLE CALL FUNCTION 'BP_ADD_APPL_LOG_HANDLE' EXPORTING description = description loghandle = loghandle IMPORTING current_jobcount = current_jobcount current_jobname = current_jobname current_stepcount = current_stepcount EXCEPTIONS could_not_set_handle = 1 not_running_in_batch = 2 could_not_get_runtime_info = 3 OTHERS = 4.
BP_SET_APPLICATION_RC CALL FUNCTION 'BP_SET_APPLICATION_RC' EXPORTING jobname = current_jobname jobcount = current_jobcount stepcount = current_stepcount app_rc = rc app_rc_descr = description EXCEPTIONS could_not_set_rc = 1 job_does_not_exist = 2 step_does_not_exist = 3 not_in_batch = 4 wrong_param = 5 OTHERS = 6.
BP_GET_APPLICATION_INFO CALL FUNCTION 'BP_GET_APPLICATION_INFO' EXPORTING jobname = current_jobname jobcount = current_jobcount stepcount = current_stepcount IMPORTING t_loghandles = t_loghandles t_return_codes = t_return_codes job_status = job_status EXCEPTIONS job_does_not_exist = 1 step_does_not_exist = 2 nothing_found = 3 OTHERS = 4.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'DEFVALS' new_list_id = 'X' no_dialog = 'X' IMPORTING out_parameters = out_parameters valid = valid valid_for_spool_creation = valid2 EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = g_s_log IMPORTING e_log_handle = p_loghandle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = l_s_msg i_log_handle = p_loghandle EXCEPTIONS log_not_found = 0 OTHERS = 1.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = l_s_msg i_log_handle = p_loghandle EXCEPTIONS log_not_found = 0 OTHERS = 1.
BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_save_all = 'X' EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.