SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | SAP List Viewer(BC-SRV-ALV) SAP BC

BCALV_TEST_JOB_API SAP ABAP Report - Create Job with ALV Step Using Job API







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


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 BCALV_TEST_JOB_API. "Basic submit
SUBMIT BCALV_TEST_JOB_API AND RETURN. "Return to original report after report execution complete
SUBMIT BCALV_TEST_JOB_API 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: 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


INCLUDES used within this REPORT BCALV_TEST_JOB_API

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_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 .



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