RM07MAAU is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report reads the material document archives and displays all documents satisfying the selection criteria entered...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RM07MAAU into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MB9A - Analyze archived mat. documents
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: WERKS = Plant
Selection Text: MJAHR = Material Document Year
Selection Text: MBLNR = Material Document
Selection Text: MATNR = Material Number
Selection Text: BUDAT = Posting Date
Selection Text: ARCHIVE = Archives
Title: Report for Material Document Archiving
Text Symbol: 075 = Equipment......
Text Symbol: 074 = Goods Recpnt
Text Symbol: 072 = More Information -----------------------------------------------------------------
Text Symbol: 071 = No. GR Slips
Text Symbol: 070 = Final Delivery
Text Symbol: 069 = Ord.Price Unit
Text Symbol: 068 = Batch..........
Text Symbol: 067 = Stockk. Unit..
Text Symbol: 066 = StkType
Text Symbol: 065 = Unit of Entry.
Text Symbol: 064 = Issued.........
Text Symbol: 063 = Delivered.....
Text Symbol: 062 = Material Group
Text Symbol: 061 = Ordered.......
Text Symbol: 060 = Material......
Text Symbol: 059 = Incoterms.....
Text Symbol: 046 = Position
Text Symbol: 076 = Text..........
Text Symbol: 077 = AcctAssCat
Text Symbol: 078 = Company Code..
Text Symbol: 079 = No authorization for the movement type
Text Symbol: 080 = No authorization for the plant
Text Symbol: 081 = The plant was not selected
Text Symbol: 082 = Non-selected items
Text Symbol: 083 = Material Doc. Item Plnt MvT Reas.
Text Symbol: 084 = No Short Text
Text Symbol: 090 = Unl. Point....
Text Symbol: 091 = Stock Mat.
Text Symbol: 092 = SalVal inc. VAT
Text Symbol: A00 = Select. Parameters
Text Symbol: A01 = Archives do not match selection.
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING POPUP_TITLE = TEXT-046 START_COLUMN = 25 START_ROW = 13 IMPORTING RETURNCODE = CONFIRM TABLES FIELDS = FIELD.
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING ARCHIVE_NAME = ARCHIVE "comes from RM07MARC OBJECT = OBJECT IMPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS FILE_ALREADY_OPEN = 01 FILE_IO_ERROR = 02 INTERNAL_ERROR = 03 NO_FILES_AVAILABLE = 04 OBJECT_NOT_FOUND = 05 OPEN_ERROR = 06.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS END_OF_FILE = 01 FILE_IO_ERROR = 02 INTERNAL_ERROR = 03 OPEN_ERROR = 04 WRONG_ACCESS_TO_ARCHIVE = 05.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = HANDLE IMPORTING RECORD_REF = I_DREF_BUFFER RECORD_FLAGS = BUFFER-FLAGS RECORD_STRUCTURE = BUFFER-RNAME EXCEPTIONS END_OF_OBJECT = 01 INTERNAL_ERROR = 02 WRONG_ACCESS_TO_ARCHIVE = 03.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 01 WRONG_ACCESS_TO_ARCHIVE = 02.
ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING EBELN = EKPO-EBELN EBELP = EKPO-EBELP WEBRE = EKPO-WEBRE TABLES XEKBE = BET XEKBZ = BZT XEKBES = BETS XEKBEZ = BETZ XEKBNK = XEKBNK.
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 RM07MAAU or its description.
RM07MAAU - Report for Material Document Archiving RM07MAAU - Report for Material Document Archiving RM07LB00 - documentation and ABAP source code RM07LB00 - documentation and ABAP source code RM07KOHDEL2 - Archiving Program for MBEWH, QBEWH, and EBEWH. RM07KOHDEL2 - Archiving Program for MBEWH, QBEWH, and EBEWH.