SAP Reports / Programs

SAPMC65A SAP ABAP dialog Program - Dialog Capacity Planning







SAPMC65A is a standard Module pool for a dialog screen ABAP Program 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 SAPMC65A into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CM02 - Capac. planning, work center orders
CM0X - Capacity planning
CM07 - Cap. planning: Variable access
CM03 - Capac. planning, work center pool
CM04 - Capac. planning, work center backlog
CM05 - Capacity plan.:Work center overload


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


Text pool values


Title: Dialog Capacity Planning
Text Symbol: 151 = Line :
Text Symbol: 150 = Area:
Text Symbol: 128 = Pooled capacity
Text Symbol: 127 = Plant;;
Text Symbol: 126 = Pooled capacity;;
Text Symbol: 125 = Selection of work centers from a hierarchy ;;
Text Symbol: 124 = Hierarchy name ;;
Text Symbol: 123 = Individual requirements ;;
Text Symbol: 122 = Individual requirements ;;
Text Symbol: 121 = Overwrite existing file? ;;
Text Symbol: 120 = EXCEL file name ;;
Text Symbol: 119 = Available capacity ;;
Text Symbol: 118 = Total: ;;
Text Symbol: 117 = Operations;;
Text Symbol: 116 = Priority ;;
Text Symbol: 115 = Number ;;
Text Symbol: 114 = Typ;;
Text Symbol: 113 = Order
Text Symbol: 112 = Material :;;
Text Symbol: 111 = Available cap:;;
Text Symbol: 110 = Period :;;
Text Symbol: 109 = Capacity cat.:;;
Text Symbol: 108 = Work center ;;
Text Symbol: 107 = Load ;;
Text Symbol: 106 = Requirements ;;
Text Symbol: 105 = Value.......;;
Text Symbol: 104 = Period ......;;
Text Symbol: 103 = Selection ...;;
Text Symbol: 102 = Selected value ;;
Text Symbol: 101 = Orders ;;
Text Symbol: 100 = Periods ;;
Text Symbol: 099 = Unit ;;
Text Symbol: 098 = Version ;;
Text Symbol: 097 = to ;;
Text Symbol: 096 = Operator ;;
Text Symbol: 095 = Unit ;;
Text Symbol: 094 = Profiles: List profile ;;





Text Symbol: 093 = Profiles: Graphics profile ;;
Text Symbol: 200 = Capacity planning
Text Symbol: PZS = Percentage
Text Symbol: PZR = Percentage
Text Symbol: PZM = Perc.
Text Symbol: DFS = Difference
Text Symbol: DFM = Difference ;;
Text Symbol: DFL = Difference
Text Symbol: BB9 = Environment: Stock/requirements list ;;
Text Symbol: BB8 = Environment: Material ;;
Text Symbol: BB7 = Environment: Capacity ;;
Text Symbol: BB6 = Environment: Work center ;;
Text Symbol: BB5 = Process further orders? ;;
Text Symbol: BB4 = Environment: Order header ;;
Text Symbol: BB3 = Environment: Order status ;;
Text Symbol: BB2 = Environment: Operation/activity status ;;
Text Symbol: BB1 = Process further operations/activities? ;;
Text Symbol: B12 = Environment: Goods receipt for an order ;;
Text Symbol: B11 = Environment: Completion confirmations ;;
Text Symbol: B10 = Environment: pegged requirements ;;
Text Symbol: AA3 = branch: ;;
Text Symbol: AA2 = Specify where you want to ;;
Text Symbol: AA1 = You have selected a planned order ;;
Text Symbol: 306 = Old selection
Text Symbol: 305 = New Name
Text Symbol: 304 = Assign new names for new selection
Text Symbol: 303 = Evaluation can be executed using old selection
Text Symbol: 302 = Name of evaluation already exists
Text Symbol: 301 = Background Processing
Text Symbol: 300 = Jobs in evaluation
Text Symbol: 210 = Unit:
Text Symbol: 209 = Variant:
Text Symbol: 208 = Unit
Text Symbol: 207 = Cap.
Text Symbol: 206 = Center/plant
Text Symbol: 205 = List:
Text Symbol: 204 = Area:
Text Symbol: 203 = Variable overview
Text Symbol: 202 = Standard overview





Text Symbol: 201 = Detailed capacity overview
Text Symbol: 049 = Operation: ;;
Text Symbol: 047 = Priority: ;;
Text Symbol: 046 = Order number: ;;
Text Symbol: 045 = Order type: ;;
Text Symbol: 044 = Lat;; latest dates
Text Symbol: 043 = Erl;; earliest dates
Text Symbol: 042 = RemAvailCap ;;
Text Symbol: 041 = Page
Text Symbol: 037 = Do you want to go to
Text Symbol: 036 = List
Text Symbol: 035 = Variable overview?
Text Symbol: 034 = Detl. list?
Text Symbol: 033 = Capacity overview?
Text Symbol: 032 = Variable overview ;;
Text Symbol: 031 = Standard overview ;;
Text Symbol: 030 = Work center/capacity ;;
Text Symbol: 029 = Periods ;;
Text Symbol: 028 = Overload ;;
Text Symbol: 027 = Remaining av. capacity ;;
Text Symbol: 026 = Requirements excluding overload
Text Symbol: 025 = End of the list
Text Symbol: 024 = Selection: Combinatn.
Text Symbol: 023 = Settings: Capacity details
Text Symbol: 022 = Capacity cat.:;;
Text Symbol: 017 = CapLoad;;
Text Symbol: 016 = Total >>>;;
Text Symbol: 015 = Posting period ;;
Text Symbol: 014 = Postg.per.;;
Text Symbol: 013 = Month
Text Symbol: 012 = Week ;;
Text Symbol: 011 = Factory cal. day ;;
Text Symbol: 010 = FactCalDay;;
Text Symbol: 009 = Day ;;
Text Symbol: 008 = Plan. cal.;;
Text Symbol: 007 = Requirements;;
Text Symbol: 006 = AvailCap. ;;
Text Symbol: 004 = Capacity : ;;
Text Symbol: 003 = Work center : ;;



Text Symbol: 002 = Check selection and views
Text Symbol: 092 = Profiles: Overall profile ;;
Text Symbol: 091 = Profiles: Option profile ;;
Text Symbol: 090 = S;; Scheduled
Text Symbol: 089 = Execution ;;
Text Symbol: 088 = Scheduling: ;;
Text Symbol: 087 = Actual dates ;;
Text Symbol: 086 = Latest dates, teardown ;;
Text Symbol: 085 = Latest dates, processing ;;
Text Symbol: 084 = Latest dates, setup
Text Symbol: 083 = Earliest dates, teardown ;;
Text Symbol: 082 = Earliest dates, processing ;;
Text Symbol: 081 = Earliest dates, setup ;;
Text Symbol: 080 = Latest dates, execution ;;
Text Symbol: 079 = Earliest dates, execution ;;
Text Symbol: 078 = P;; Planned orders
Text Symbol: 077 = W;; Work orders
Text Symbol: 076 = Profile: Selection profile ;;
Text Symbol: 073 = Selection
Text Symbol: 072 = Values
Text Symbol: 069 = Rtg for planned order;;
Text Symbol: 068 = Planned order ;;
Text Symbol: 067 = Latest dates ;;
Text Symbol: 066 = Teardown ;;
Text Symbol: 065 = Processing ;;
Text Symbol: 064 = Setup ;;
Text Symbol: 063 = Earliest dates ;;
Text Symbol: 062 = Act. dates ;;
Text Symbol: 061 = Period ;;
Text Symbol: 060 = Capacity details ;;
Text Symbol: 059 = Av.cap.
Text Symbol: 058 = Operations/work center ;;
Text Symbol: 057 = Legend ;;
Text Symbol: 056 = Materials ;;
Text Symbol: 055 = Remaining values ;;
Text Symbol: 054 = Sch. rqmts ;;
Text Symbol: 053 = Erl;
Text Symbol: 052 = Dates: ;;
Text Symbol: 051 = Segment: ;;
Text Symbol: 050 = Material number: ;;


INCLUDES used within this REPORT SAPMC65A

INCLUDE MC65ATOP.
INCLUDE MC65AO10.
INCLUDE MC65AI10.
INCLUDE MC65AFO1 . "FUNKTIONEN O
INCLUDE MC65AFB1.


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:

No SAP FUNCTION MODULES are executed within this report code!



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