SAP Reports / Programs | Cross-Application Components | General Application Functions | Batch-Oriented Parallel Processing of Mass Data(CA-GTF-TS-PPM) SAP CA

BANK_JC_LCL_BTCJOB_I SAP ABAP INCLUDE - BANKJCLCLBTCJOBI







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


INCLUDES used within this REPORT BANK_JC_LCL_BTCJOB_I

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:

BP_JOB_ABORT CALL FUNCTION 'BP_JOB_ABORT' EXPORTING jobcount = _jobcount jobname = _jobname EXCEPTIONS checking_of_job_has_failed = 1 job_abort_has_failed = 2 job_does_not_exist = 0 job_is_not_active = 0 no_abort_privilege_given = 5 error_message = 6 OTHERS = 7.

BP_JOB_GET_SUCCESSORS CALL FUNCTION 'BP_JOB_GET_SUCCESSORS' EXPORTING jobcount = _jobcount jobname = _jobname TABLES succ_joblist = l_tab_succ[] EXCEPTIONS job_not_exists = 1 no_successors_found = 2 OTHERS = 3.

BP_JOB_CHECKSTATE

BP_JOB_STATUS_GET * call function 'BP_JOB_CHECKSTATE' if 1 = 0. call function 'BP_JOB_STATUS_GET'. endif. "#EC *

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = 'N' jobsel_param_in = l_str_select TABLES jobselect_joblist = l_tab_jobs[] EXCEPTIONS invalid_dialog_type = 1 jobname_missing = 2 no_jobs_found = 3 selection_canceled = 4 username_missing = 5 OTHERS = 6.

BP_JOB_CHECKSTATE

BP_JOB_STATUS_GET * call function 'BP_JOB_CHECKSTATE' if 1 = 0. call function 'BP_JOB_STATUS_GET'. endif. "#EC *

BP_JOB_STATUS_GET if 1 = 0. call function 'BP_JOB_STATUS_GET'. endif. "#EC *

BP_JOB_CHECKSTATE

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobname = me->_jobname job_read_jobcount = me->_jobcount job_read_opcode = btc_read_jobhead_only IMPORTING job_read_jobhead = ls_old_jobhead TABLES job_read_steplist = lt_steplist EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 OTHERS = 99.

BP_JOB_MODIFY CALL FUNCTION 'BP_JOB_MODIFY' EXPORTING jobname = me->_jobname jobcount = me->_jobcount dialog = btc_no opcode = btc_derelease_job new_jobhead = ls_old_jobhead TABLES new_steplist = lt_steplist " Dummy EXCEPTIONS cant_derelease_job = 1 cant_enq_job = 2 cant_read_jobdata = 3 cant_release_job = 4 cant_set_jobstatus_in_db = 5 cant_start_job_immediately = 6 cant_update_jobdata = 7 eventcnt_generation_error = 8 invalid_dialog_type = 9 invalid_new_jobdata = 10 invalid_new_jobstatus = 11 invalid_opcode = 12 invalid_startdate = 13 job_edit_failed = 14 job_modify_canceled = 15 job_not_modifiable_anymore = 16 nothing_to_do = 0 " no error, someone else has dereleased the job already no_batch_on_target_host = 18 no_batch_server_found = 19 no_batch_wp_for_jobclass = 20 no_modify_privilege_given = 21 no_release_privilege_given = 22 no_startdate_no_release = 23 target_host_not_defined = 24 tgt_host_chk_has_failed = 25 OTHERS = 99.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = me->_jobname jobcount = me->_jobcount strtimmed = 'X' * The job should not fail when there are no ressources.



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