SAP Reports / Programs

CNV_10020_JOB_START_LOR SAP ABAP Report - Job starter for filling/deleting/copying object tables







CNV_10020_JOB_START_LOR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The job starter calculates the number of batch processes that are available for the analysis based on the number of currently running batch processes and the upper limit of batch processes to be used (as defined by the package parameters MAXIMUM_NUMBER_OF_BATCH_PROZESSES or EXIT_MAXIMUM_NUMBER_OF_BATCH_PROZESSES, respectively)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter CNV_10020_JOB_START_LOR 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 CNV_10020_JOB_START_LOR. "Basic submit
SUBMIT CNV_10020_JOB_START_LOR AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_10020_JOB_START_LOR VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: PACKID = Package number
Selection Text: P_PATHID =
Selection Text: P_PATHTY =
Selection Text: P_RPATH =
Selection Text: P_USER = D User
Title: Job starter for filling/deleting/copying object tables
Text Symbol: CHO = Restriction
Text Symbol: PID = Path name
Text Symbol: PTY = Path type
Text Symbol: STP = Consider starting path


INCLUDES used within this REPORT CNV_10020_JOB_START_LOR

INCLUDE CNV_10020_CONSTANTS.
INCLUDE CNV_10020_GLOBAL_FORMS.
INCLUDE: LBTCHDEF, "#EC *
RSADMKEY.


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:

ENQUEUE_ECNV_10020_STATE CALL FUNCTION 'ENQUEUE_ECNV_10020_STATE' EXPORTING mode_cnv_10020_state = lock_exclusive mandt = sy-mandt packid = packid x_packid = yes x_pathid = yes x_pathtype = yes _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

BP_JOB_MODIFY CALL FUNCTION 'BP_JOB_MODIFY' EXPORTING dialog = btc_no jobcount = cnv_10020_state-jobcount jobname = cnv_10020_state-jobname opcode = btc_release_job release_stdt = gd_initial_stdt TABLES new_steplist = gt_steplist "#EC * EXCEPTIONS cant_enq_job = 1 job_not_modifiable_anymore = 2 nothing_to_do = 3 cant_read_jobdata = 4.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = cnv_10020_state-jobcount job_read_jobname = cnv_10020_state-jobname job_read_opcode = btc_read_jobhead_only IMPORTING job_read_jobhead = gd_jobhead EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 OTHERS = 4.

DEQUEUE_ECNV_10020_STATE CALL FUNCTION 'DEQUEUE_ECNV_10020_STATE' EXPORTING mode_cnv_10020_state = lock_exclusive mandt = sy-mandt packid = packid x_packid = yes x_pathid = yes x_pathtype = yes.

STUM_WP_TOTAL_ACTIVITY CALL FUNCTION 'STUM_WP_TOTAL_ACTIVITY' EXPORTING get_no_db_lock_info = t_no TABLES wp_total_info = lt_wp_total_info "#EC * communication_errors = lt_communication_errors used_wp = lt_used_wp.

STUM_WP_TOTAL_ACTIVITY CALL FUNCTION 'STUM_WP_TOTAL_ACTIVITY' EXPORTING get_no_db_lock_info = t_no TABLES wp_total_info = lt_wp_total_info "#EC * communication_errors = lt_communication_errors used_wp = lt_used_wp.



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