RM06CMPS 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 RM06CMPS 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: SWERKS = Plant
Selection Text: SMATNR = Material
Selection Text: SLIFNR = Vendor
Selection Text: SEBELP = Sched. agreement item
Selection Text: SEBELN = Scheduling agreement
Selection Text: SDISPO = Planner
Selection Text: PVOLUME = Minimum usage level [%]
Selection Text: PEINDT = Delivery date (upper limit)
Title: Aggregation of Confirmations
Text Symbol: WKS = Plnt
Text Symbol: SE3 = Tm. basis
Text Symbol: SE2 = Schedule lines
Text Symbol: SE1 = Selection Criteria
Text Symbol: REO = Reorganize
Text Symbol: MTN = Material
Text Symbol: LPP = Itm
Text Symbol: LPL = SchedAgree
Text Symbol: LE6 = ..this record will be inserted into table after saving
Text Symbol: LE5 = ..this record will be removed from table after saving
Text Symbol: LE4 = Schedule line aggregated on annual basis
Text Symbol: LE3 = Confirmation record (aggregated)
Text Symbol: LE2 = Individual confirmation
Text Symbol: LE1 = Heading
Text Symbol: 016 = Item
Text Symbol: 015 = Delivery
Text Symbol: 014 = Planned quantity
Text Symbol: 013 = Quantity
Text Symbol: 012 = Deliv. date
Text Symbol: 011 = CC
Text Symbol: 010 = Seq.No
Text Symbol: 009 = Material short text
Text Symbol: 008 = Material
Text Symbol: 007 = Item
Text Symbol: 006 = Purch.Doc.
Text Symbol: 005 = Plnt
Text Symbol: 000 = Aggregate
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MGV_SELOP_AFTER_INITIALIZATION call function 'MGV_SELOP_AFTER_INITIALIZATION' EXPORTING PROGRAM = mgv_matnr_prog TABLES SELOP = mgv_matnr_selopt_tab EXCEPTIONS NO_PROGRAMNAME = 1 OTHERS = 2 .
MGV_SELOP_AFTER_START_OF_SEL CALL FUNCTION 'MGV_SELOP_AFTER_START_OF_SEL' EXPORTING SELOPT_NAME = mgv_matnr_selopt_tab-name TABLES RANGE =
.
ENQUEUE_EMEKPOE CALL FUNCTION 'ENQUEUE_EMEKPOE' EXPORTING ebeln = isa_escr_mdla_int4-ebeln ebelp = isa_escr_mdla_int4-ebelp EXCEPTIONS foreign_lock = 2 system_failure = 3.
DEQUEUE_EMEKPOE CALL FUNCTION 'DEQUEUE_EMEKPOE' EXPORTING ebeln = isa_escr_mdla_int4-ebeln ebelp = isa_escr_mdla_int4-ebelp.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.