RM07MMR1 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 RM07MMR1 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: Various Archiving Sub-Routines
Text Symbol: 001 = Following documents were not reorganized
Text Symbol: 002 = No authorization in plant
Text Symbol: 003 = Plant not selected
Text Symbol: 004 = Document Year Plnt Reas.
Text Symbol: 005 = --------------- ---- ---- ----------------------------------------------
Text Symbol: 006 = Document life not expired
Text Symbol: 007 = A system error has occurred during (b)locking
Text Symbol: 008 = Document is blocked by another user
Text Symbol: 009 = Inventory differences not yet posted
Text Symbol: 010 = End of retention period not yet reached
Text Symbol: 011 = Differences not yet posted for all items
Text Symbol: 012 = Valid.period not maintained for tr./ev.type of doc.
INCLUDE : MM07MABC,
No SAP DATABASE tables are accessed within this REPORT code!
DEQUEUE_EMMKPF CALL FUNCTION 'DEQUEUE_EMMKPF' EXPORTING MBLNR = MKPF_MBLNR_LAST MJAHR = MKPF_MJAHR_LAST.
ENQUEUE_EMMKPF CALL FUNCTION 'ENQUEUE_EMMKPF' EXPORTING MBLNR = MKPF-MBLNR MJAHR = MKPF-MJAHR EXCEPTIONS FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3.
DEQUEUE_EMIKPF CALL FUNCTION 'DEQUEUE_EMIKPF' EXPORTING IBLNR = IKPF_IBLNR_LAST GJAHR = IKPF_GJAHR_LAST.
ENQUEUE_EMIKPF CALL FUNCTION 'ENQUEUE_EMIKPF' EXPORTING IBLNR = IKPF-IBLNR GJAHR = IKPF-GJAHR EXCEPTIONS FOREIGN_LOCK = 2 SYSTEM_FAILURE = 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.