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
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_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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
DMCDTL_MT_ACPLANS_CALC - create jobs to calculate access plans DMCDTL_MT_ACPLANS_CALC - create jobs to calculate access plans DMCDTL_IU_START_XPRAS - MWB-Upgrade: start XPRA program processing in migrated client DMCDTL_IU_START_XPRAS - MWB-Upgrade: start XPRA program processing in migrated client DMCDTL_IU_SP_DIFF_ANALYSE - MWB-Upgrade: analyze data for Support Package cifference DMCDTL_IU_SP_DIFF_ANALYSE - MWB-Upgrade: analyze data for Support Package cifference