BTC_MASS_JOB_CHANGE 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 BTC_MASS_JOB_CHANGE 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: Mass Changes of Jobs
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GET_SYSTEM_TIMEZONE CALL FUNCTION 'GET_SYSTEM_TIMEZONE' IMPORTING timezone = mv_sys_timezone EXCEPTIONS customizing_missing = 1 OTHERS = 2.
F4_CONV_SELOPT_TO_WHERECLAUSE CALL FUNCTION 'F4_CONV_SELOPT_TO_WHERECLAUSE' IMPORTING where_clause = ev_where_clause TABLES selopt_tab = lt_f4_selopt.
RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = iv_new_report variant = iv_new_variant IMPORTING r_c = lv_rc EXCEPTIONS not_authorized = 1 no_report = 2 report_not_existent = 3 report_not_supplied = 4 OTHERS = 5.
BAPI_USER_EXISTENCE_CHECK CALL FUNCTION 'BAPI_USER_EXISTENCE_CHECK' EXPORTING username = iv_new_user IMPORTING return = ls_bapi_ret.
TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' * EXPORTING * services = 8 TABLES list = lt_list EXCEPTIONS no_server_list = 1 OTHERS = 2.
ENQUEUE_ESTBTCO CALL FUNCTION 'ENQUEUE_ESTBTCO' EXPORTING jobname = iv_jobname jobcount = iv_jobcount _scope = '1' EXCEPTIONS foreign_lock = 201 system_failure = 203 OTHERS = 203.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
LOAD_PRINT_PARAMETERS CALL FUNCTION 'LOAD_PRINT_PARAMETERS' EXPORTING key = iv_old_key IMPORTING out_parameters = ls_pri_par key_found = lv_valid EXCEPTIONS error_occured = 1 OTHERS = 2.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING no_dialog = iv_no_dialog destination = iv_new_printer in_parameters = ls_pri_par IMPORTING out_parameters = ls_pri_par_new valid = lv_valid EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.
STORE_PRINT_PARAMETERS CALL FUNCTION 'STORE_PRINT_PARAMETERS' EXPORTING in_parameters = ls_pri_par_new applikation = 'B' user = lv_user priprog = lv_progname IMPORTING key = lv_new_key EXCEPTIONS error_occured = 1 OTHERS = 2.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Change confirmation'(010) text_question = 'The operation is nonreversible. Are you sure? '(011)
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
BTC_MASS_JOB_CHANGE - Mass Changes of Jobs BTC_MASS_JOB_CHANGE - Mass Changes of Jobs BTC_EVENT_RAISE - Program BTC_EVENT_RAISE BTC_EVENT_RAISE - Program BTC_EVENT_RAISE BTC_DELETE_ORPHANED_IVARIS - Delete "Orphaned" Temporary Variants BTC_DELETE_ORPHANED_IVARIS - Delete "Orphaned" Temporary Variants