DMCPCBTC 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 DMCPCBTC 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: MWB: Start Precalculation in Background
Text Symbol: 001 = Entry incorrect
Text Symbol: 002 = Invalid cluster key:
Text Symbol: 003 = Cluster rec. does not exist:
Text Symbol: 004 = Import of cluster rec. failed:
Text Symbol: 005 = Error while accessing cluster data:
Text Symbol: 006 = Export of cluster rec. failed:
INCLUDE DMCPCINC.
No SAP DATABASE tables are accessed within this REPORT code!
DMC_PRECALCULATION_READ_DATA CALL FUNCTION 'DMC_PRECALCULATION_READ_DATA' EXPORTING IM_CLUSTERKEY = G_CLUSTERKEY IMPORTING EX_ADMIN_DATA = WA_ADMIN TABLES EX_IT_SETTINGS = GT_SETTINGS EX_IT_CONSTKEY_CHCKTBL = GT_CONSTKEY_CHCKTBL EX_IT_PRE_CALC_STG = GT_PRE_CALC_STG EXCEPTIONS INVALID_KEY = 1 DOES_NOT_EXIST = 2 IMPORT_FAILED = 3 OTHERS = 4.
GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING JOBCOUNT = WA_ADMIN-JOBCOUNT JOBNAME = WA_ADMIN-JOBNAME EXCEPTIONS NO_RUNTIME_INFO = 1 OTHERS = 2.
DMC_PRECALCULATION_WRITE_DATA CALL FUNCTION 'DMC_PRECALCULATION_WRITE_DATA' EXPORTING IM_CLUSTERKEY = G_CLUSTERKEY IM_ADMIN_DATA = WA_ADMIN TABLES IM_IT_SETTINGS = GT_SETTINGS IM_IT_CONSTKEY_CHCKTBL = GT_CONSTKEY_CHCKTBL IM_IT_PRE_CALC_STG = GT_PRE_CALC_STG EXCEPTIONS EXPORT_FAILED = 1 INVALID_KEY = 2 OTHERS = 3.
DMC_PRECALCULATION CALL FUNCTION 'DMC_PRECALCULATION' EXPORTING IM_TABNAME = LD_TABNAME IM_CLIENT_SPEC = WA_ADMIN-CLIENTSPEC IM_SEARCH_DEPTH = WA_ADMIN-SRCH_DEPTH IM_SEGMENT_SIZE = WA_ADMIN-SGMT_SIZE IM_TBL_COUNT = WA_ADMIN-TBL_COUNT IM_REC_SEARCH = WA_ADMIN-REC_SEARCH TABLES IM_IT_SETTINGS = GT_SETTINGS IM_IT_CONSTKEY_CHCKTBL = GT_CONSTKEY_CHCKTBL EX_IT_PRE_CALC_STG = GT_PRE_CALC_STG EXCEPTIONS CALCULATION_ERROR = 1 NO_RANGES_FOUND = 2.
DMC_PRECALCULATION_WRITE_DATA CALL FUNCTION 'DMC_PRECALCULATION_WRITE_DATA' EXPORTING IM_CLUSTERKEY = G_CLUSTERKEY IM_ADMIN_DATA = WA_ADMIN TABLES IM_IT_SETTINGS = GT_SETTINGS IM_IT_CONSTKEY_CHCKTBL = GT_CONSTKEY_CHCKTBL IM_IT_PRE_CALC_STG = GT_PRE_CALC_STG EXCEPTIONS EXPORT_FAILED = 1 INVALID_KEY = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.