SAP Reports / Programs | Cross-Application Components | General Application Functions | Workforce Management Core(CA-GTF-WFM) SAP CA

CRM_WFM_CALCBATCH_RUN SAP ABAP Report - Program CRM_WFM_CALCBATCH_RUN







CRM_WFM_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 CRM_WFM_CALCBATCH_RUN 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 CRM_WFM_CALCBATCH_RUN. "Basic submit
SUBMIT CRM_WFM_CALCBATCH_RUN AND RETURN. "Return to original report after report execution complete
SUBMIT CRM_WFM_CALCBATCH_RUN VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program CRM_WFM_CALCBATCH_RUN


INCLUDES used within this REPORT CRM_WFM_CALCBATCH_RUN

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:

WFM_OPT_CALCBATCH_GETRUN CALL FUNCTION 'WFM_OPT_CALCBATCH_GETRUN' EXPORTING iv_calcbatch_id = tmpstr iv_status = 'R' IMPORTING et_calcbatch = tbl_cbdata.

WFM_CALCST_CREATE CALL FUNCTION 'WFM_CALCST_CREATE' EXPORTING it_calc_status = tbl_calcstat it_org_nodes = tbl_orgnode IMPORTING et_keys = tbl_keys * ET_RETURN = .

WFDCS_CALCREQS_SUBMIT CALL FUNCTION 'WFDCS_CALCREQS_SUBMIT' EXPORTING * IV_APP_ID = 'DEFAULT' it_calcreq = tbl_reqdata IMPORTING et_calcsubmit_res = lt_result.

WFM_CALCST_MODIFY CALL FUNCTION 'WFM_CALCST_MODIFY' EXPORTING it_calc_status = tbl_calcstat IMPORTING ET_RETURN = lt_return .

WFM_OPT_CALCBATCH_GETRUN CALL FUNCTION 'WFM_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.



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