SAP Reports / Programs

DMCACBTC SAP ABAP Report - MWB: Access plan calculation in background







DMCACBTC 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 DMCACBTC 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 DMCACBTC. "Basic submit
SUBMIT DMCACBTC AND RETURN. "Return to original report after report execution complete
SUBMIT DMCACBTC 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_SHOW = Only display cluster record
Selection Text: P_NCLST = no cluster fill
Selection Text: P_FMID = Runtime Object Number
Selection Text: P_ACPLAN = Access Plan Number
Title: MWB: Access plan calculation in background
Text Symbol: VAL = Value
Text Symbol: TSM = failed:block size too small
Text Symbol: SYS = failed:system failure
Text Symbol: STW = Structures and Their Width
Text Symbol: STR = Structure
Text Symbol: STD = Static Delimitations
Text Symbol: SRW = Structure Width
Text Symbol: RUN = Running
Text Symbol: POR = portion
Text Symbol: OVF = failed:overflow
Text Symbol: NUM = No. of Records per Portn
Text Symbol: NRC = Number of Records
Text Symbol: NEW = New
Text Symbol: FLN = Field Name
Text Symbol: ERR = Error Message.......
Text Symbol: DEL = Calculated Portions (Delimitations)
Text Symbol: CUR = Curr
Text Symbol: CAL = calculated
Text Symbol: 025 = Status..............
Text Symbol: 024 = Block Size..........
Text Symbol: 023 = Job Number..........
Text Symbol: 022 = Function Module.....
Text Symbol: 021 = Job Name............
Text Symbol: 020 = Cluster Key.........
Text Symbol: 009 = Info for separate batch job could not be determined
Text Symbol: 007 = Export of cluster rec. failed:
Text Symbol: 006 = Invalid function module name:
Text Symbol: 005 = Error while accessing cluster data:
Text Symbol: 004 = Import of cluster rec. failed:
Text Symbol: 003 = Cluster rec. does not exist:
Text Symbol: 002 = Invalid cluster key:
Text Symbol: 001 = Entry incorrect


INCLUDES used within this REPORT DMCACBTC

INCLUDE DMCACINC.





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:

DMC_ACPLAN_BTC_CALC_READ_DATA CALL FUNCTION 'DMC_ACPLAN_BTC_CALC_READ_DATA' EXPORTING im_clusterkey = g_clusterkey IMPORTING ex_admin_data = wa_admin TABLES ex_interval_boundaries = gt_interval ex_reccounts = gt_reccount ex_tabwidths = gt_tabwidth ex_sel_criteria = gt_selcrit 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_ACPLAN_BTC_CALC_WRITE_DATA CALL FUNCTION 'DMC_ACPLAN_BTC_CALC_WRITE_DATA' EXPORTING im_clusterkey = g_clusterkey im_admin_data = wa_admin TABLES im_interval_boundaries = gt_interval im_reccounts = gt_reccount im_tabwidths = gt_tabwidth im_sel_criteria = gt_selcrit EXCEPTIONS export_failed = 1 invalid_key = 2 OTHERS = 3.

DMC_ACPLAN_BTC_CALC_WRITE_DATA CALL FUNCTION 'DMC_ACPLAN_BTC_CALC_WRITE_DATA' EXPORTING im_clusterkey = g_clusterkey im_admin_data = wa_admin it_messages = gt_messages TABLES im_interval_boundaries = gt_interval im_reccounts = gt_reccount im_tabwidths = gt_tabwidth im_sel_criteria = gt_selcrit EXCEPTIONS export_failed = 1 invalid_key = 2 OTHERS = 3.



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