WFA_CALCBATCH_RUN 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 WFA_CALCBATCH_RUN 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.
Title: Program CRM_WFM_CALCBATCH_RUN
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
WFA_OPT_CALCBATCH_GETRUN CALL FUNCTION 'WFA_OPT_CALCBATCH_GETRUN' EXPORTING iv_calcbatch_id = tmpstr iv_status = 'R' IMPORTING et_calcbatch = tbl_cbdata.
WFA_CALCST_CREATE CALL FUNCTION 'WFA_CALCST_CREATE' EXPORTING it_calc_status = tbl_calcstat it_org_nodes = tbl_orgnode IMPORTING et_keys = tbl_keys * ET_RETURN = .
WFACS_CALCREQS_SUBMIT CALL FUNCTION 'WFACS_CALCREQS_SUBMIT' EXPORTING * IV_APP_ID = 'DEFAULT' it_calcreq = tbl_reqdata IMPORTING et_calcsubmit_res = lt_result.
WFA_CALCST_MODIFY CALL FUNCTION 'WFA_CALCST_MODIFY' EXPORTING it_calc_status = tbl_calcstat IMPORTING ET_RETURN = lt_return.
WFA_OPT_CALCBATCH_GETRUN CALL FUNCTION 'WFA_OPT_CALCBATCH_GETRUN' EXPORTING iv_calcbatch_id = cb_id iv_status = 'S' "#EC NOTEXT IMPORTING et_calcbatch = tbl_cbdata.
BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING jobcount = cbdata-job_id jobname = cbdata-job_name forcedmode = 'X' "#EC NOTEXT commitmode = 'X' "#EC NOTEXT EXCEPTIONS cant_delete_event_entry = 1 cant_delete_job = 2 cant_delete_joblog = 3 cant_delete_steps = 4 cant_delete_time_entry = 5 cant_derelease_successor = 6 cant_enq_predecessor = 7 cant_enq_successor = 8 cant_enq_tbtco_entry = 9 cant_update_predecessor = 10 cant_update_successor = 11 commit_failed = 12 jobcount_missing = 13 jobname_missing = 14 job_does_not_exist = 15 job_is_already_running = 16 no_delete_authority = 17 OTHERS = 18.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
WFA_CALCBATCH_RUN - Program CRM_WFM_CALCBATCH_RUN WFA_CALCBATCH_RUN - Program CRM_WFM_CALCBATCH_RUN WFA_CALBATCH_VARIANT_SYNC - Report WFA_CALBATCH_VARIANT_SYNC WFA_CALBATCH_VARIANT_SYNC - Report WFA_CALBATCH_VARIANT_SYNC WFA_BUPA_LOAD - Program WFMCAS_BUPA_LOAD WFA_BUPA_LOAD - Program WFMCAS_BUPA_LOAD