SAP Reports / Programs | Basis Components | Use Subcomponents | Background Processing(BC-CCM-BTC) SAP BC

BTC_MASS_JOB_CHANGE SAP ABAP Report - Mass Changes of Jobs







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


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


Text pool values


Title: Mass Changes of Jobs


INCLUDES used within this REPORT BTC_MASS_JOB_CHANGE

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:

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)



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