SAP Reports / Programs

RM07MMR1 SAP ABAP Report - Various Archiving Sub-Routines







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


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


Text pool values


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.


INCLUDES used within this REPORT RM07MMR1

INCLUDE : MM07MABC,


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:

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.



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