FKJO_SCHEDULE 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 FKJO_SCHEDULE 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: P_EXTPRG = External Subroutine Pool
Selection Text: P_JTYPE = JobType
Selection Text: P_MAKT = Mass Activity Indicator
Selection Text: P_N_REL = Schedule Only (Note 1030158)
Selection Text: P_RUNDTE = Start Date
Selection Text: P_RUNTM = Start Time
Selection Text: P_UNAME = Scheduling User
Selection Text: P_USRKEY = User Key
Selection Text: P_XTRAPA = Extra Parameters
Selection Text: P_Y_REL = Release (Note 1048051)
Title: Scheduling an FI-CA/SAP Job
Text Symbol: 001 = Start Time:
Text Symbol: 002 = Start Date:
Text Symbol: 003 = MA Indicator
Text Symbol: 004 = Plan Job Type
Text Symbol: 005 = Prodtn
INCLUDE LBTCHDEF.
No SAP DATABASE tables are accessed within this REPORT code!
EWU_ADD_TIME * call function 'EWU_ADD_TIME' * exporting * i_starttime = sy-uzeit * i_startdate = p_rundte * i_addtime = '000200' * importing * e_endtime = p_runtm * e_enddate = p_rundte.
FKJO_SAMPLE_1900 call function 'FKJO_SAMPLE_1900'.
FKJO_SAMPLE_1901 call function 'FKJO_SAMPLE_1901'.
FKK_GET_APPLICATION call function 'FKK_GET_APPLICATION' exporting i_no_dialog = 'X' importing e_applk = applk exceptions no_appl_selected = 1 others = 2.
FKK_FUNC_MODULE_DETERMINE call function 'FKK_FUNC_MODULE_DETERMINE' exporting i_fbeve = fbeve i_applk = applk tables t_fbstab = fbstab exceptions error_message = 1.
JOB_OPEN call function 'JOB_OPEN' exporting jobname = p_jobname importing jobcount = jc exceptions cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 others = 4.
FKJO_JOBOPEN_ERR call function 'FKJO_JOBOPEN_ERR' exporting i_rep = p_repname i_rc = sy-subrc changing e_msg = msgv1 e_msg_type = sy-msgty e_msg_no = msgno. "#EC DOM_EQUAL
JOB_SUBMIT call function 'JOB_SUBMIT' exporting authcknam = p_uname jobcount = jc jobname = p_jobname report = p_repname variant = p_varname 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. "#EC DOM_EQUAL
FKJO_SUBMIT_ERR call function 'FKJO_SUBMIT_ERR' exporting i_rep = p_repname i_rc = sy-subrc importing e_msg = msgv1 e_msg_type = sy-msgty e_msg_no = msgno. "#EC DOM_EQUAL
JOB_CLOSE call function 'JOB_CLOSE' exporting jobcount = jc jobname = p_jobname sdlstrtdt = dte sdlstrttm = tim * IMPORTING * job_was_released = ch exceptions cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 others = 8.
FKJO_JOBCLOSE_ERR call function 'FKJO_JOBCLOSE_ERR' exporting i_rep = p_repname i_rc = sy-subrc importing e_msg = msgv1 e_msg_type = sy-msgty e_msg_no = msgno. "#EC DOM_EQUAL
FKK_PAYMENT_RUN_START * call function 'FKK_PAYMENT_RUN_START' * exporting * i_aktyp = p_makt * i_laufd = p_paymlaufd * i_laufi = p_paymlaufi * i_xcopy = ch * i_copyd = p_paymcopyd * i_copyi = p_paymcopyi * i_strdt = p_rundte * i_strzt = p_runtm * i_xstrf = ' ' * i_xfkjogreets = 'X' * importing * e_progn = p_progn * e_progid = p_progid * exceptions * invalid_input = 1 * foreign_lock = 2 * schedule_failure = 3 * copy_failure = 4 * template_not_found = 5 * parameters_not_found = 6 * parameters_already_exist = 7 * others = 8.
FKK_AKTIV2_RUN_START call function 'FKK_AKTIV2_RUN_START'.
FKK_PAYMENT_RUN_START * call function 'FKK_PAYMENT_RUN_START'.
FKK_FKCC_RUN_START call function 'FKK_FKCC_RUN_START'.
BP_JOB_READ call function 'BP_JOB_READ' exporting job_read_jobcount = jc job_read_jobname = jn job_read_opcode = 20 importing job_read_jobhead = p_jobhdr tables job_read_steplist = t_stepl exceptions invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 others = 4.
BP_JOB_MODIFY call function 'BP_JOB_MODIFY' exporting dialog = 'N' jobcount = jc jobname = jn new_jobhead = p_jobhdr opcode = btc_derelease_job tables new_steplist = t_stepl 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 = 17 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 = 26.
BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = jc job_read_jobname = jn job_read_opcode = 20 IMPORTING job_read_jobhead = p_jobhdr TABLES job_read_steplist = t_stepl EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 OTHERS = 4.
CALL FUNCTION 'BP_JOB_MODIFY' EXPORTING dialog = 'N' jobcount = jc jobname = jn new_jobhead = p_jobhdr opcode = btc_release_job release_stdt = sttime TABLES new_steplist = t_stepl 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 = 17 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 = 26.
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 FKJO_SCHEDULE or its description.