SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro(CA-EUR) SAP CA

DMCDTL_MT_ACPLANS_CALC SAP ABAP Report - create jobs to calculate access plans







DMCDTL_MT_ACPLANS_CALC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is both used from the DTL API and for MWB projects to fulfill two possible tasks: (Optionally) delete old access plans (possibly also collective access plans and precalculations)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter DMCDTL_MT_ACPLANS_CALC 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 DMCDTL_MT_ACPLANS_CALC. "Basic submit
SUBMIT DMCDTL_MT_ACPLANS_CALC AND RETURN. "Return to original report after report execution complete
SUBMIT DMCDTL_MT_ACPLANS_CALC 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: P_ACP_ID = Precalc / Access plan ID
Selection Text: P_DDICCK = Execute DDIC check
Selection Text: P_DESCR = D Description
Selection Text: P_FCALC = No recalcul. of calc. acc.pl.
Selection Text: P_JOBS = Number of jobs to be scheduled
Selection Text: P_MT_ID = D Mass Transfer ID
Selection Text: P_RSTRT = Restart
Selection Text: S_RTYPE = D Reading Type
Selection Text: S_TABLE = Table name(s) (optional)
Title: create jobs to calculate access plans
Text Symbol: FUN = Schedule access plan calculation
Text Symbol: TFC = Do not recalculate precalculations and access plans that have been calculated


INCLUDES used within this REPORT DMCDTL_MT_ACPLANS_CALC

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:

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING jobcount = l_jobcount jobname = l_jobname EXCEPTIONS * NO_RUNTIME_INFO = 1 OTHERS = 0.

ENQUEUE_E_DMC_JOB CALL FUNCTION 'ENQUEUE_E_DMC_JOB' EXPORTING mode_dmc_job_lock_struct = 'E' jobname = l_jobname jobcount = l_jobcount _scope = '2' _wait = 'X' _collect = ' ' EXCEPTIONS OTHERS = 0.

CNV_MBT_DEX_GET_EXTRACT_MODE CALL FUNCTION 'CNV_MBT_DEX_GET_EXTRACT_MODE' EXPORTING im_packid = p_packid IMPORTING ex_export = g_export_mode EXCEPTIONS OTHERS = 0.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = ls_act_batch-jobname IMPORTING jobcount = ls_act_batch-jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = ls_act_batch-jobcount jobname = ls_act_batch-jobname strtimmed = gc_true 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 DMCDTL_MT_ACPLANS_CALC or its description.