BCALV_TEST_JOB_API 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 BCALV_TEST_JOB_API 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.
Selection Text: DIALOG = Display Print Dialog
Selection Text: REPORT = Report for Job Step
Selection Text: USER = Step User
Selection Text: VARIANT = Variant for ABAP Report
Title: Create Job with ALV Step Using Job API
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BP_JOB_DELETE call function 'BP_JOB_DELETE' exporting jobcount = &1 jobname = &2 exceptions others = 99.
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = jobname IMPORTING jobcount = jobcount * CHANGING * RET = EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4 .
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING * MODE = ' ' no_dialog = no_print_dialog report = report user = user IMPORTING out_archive_parameters = arcpars out_parameters = pripars valid = v1 valid_for_spool_creation = v2 EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4 .
JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING arcparams = arcpars authcknam = user jobcount = jobcount jobname = jobname priparams = pripars report = report variant = variant * IMPORTING * STEP_NUMBER = EXCEPTIONS bad_priparams = 1 bad_xpgflags = 2 invalid_jobdata = 3 jobname_missing = 4 job_notex = 5 job_submit_failed = 6 lock_failed = 7 program_missing = 8 prog_abap_and_extpg_set = 9 OTHERS = 10 .
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = jobcount jobname = jobname strtimmed = 'X' * IMPORTING * JOB_WAS_RELEASED = * CHANGING * RET = EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 invalid_target = 8 OTHERS = 9 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
BCALV_TEST_JOB_API - Create Job with ALV Step Using Job API BCALV_TEST_JOB_API - Create Job with ALV Step Using Job API BCALV_TEST_HTML_HEADER - ALV Test Report (Generated) BCALV_TEST_HTML_HEADER - ALV Test Report (Generated) BCALV_TEST_HIERSEQ_LIST_EVENTS - Program BCALV_TEST_HIERSEQ_LIST_EVENTS BCALV_TEST_HIERSEQ_LIST_EVENTS - Program BCALV_TEST_HIERSEQ_LIST_EVENTS