SAP Reports / Programs

RM07MAAU SAP ABAP Report - Report for Material Document Archiving







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


Transaction Code(s):

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

MB9A - Analyze archived mat. documents


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


Text pool values


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.





Text Symbol: A02 = Do you still want to display them?
Text Symbol: M01 = a material document
Text Symbol: M02 = on a valid line
Text Symbol: T01 = Data Selection
Text Symbol: 001 = Material Doc. MYear Tr./Ev.Type Doc.Type Doc.Date Pstg Date Name Ref. Doc.
Text Symbol: 005 = Itm Qty in UnE Material Plnt SLoc Batch MvT S V
Text Symbol: 006 = SKU Mat. Short Text ReservNo Itm FIs
Text Symbol: 007 = Movement Type..
Text Symbol: 008 = Special Stock.
Text Symbol: 009 = Material -------------------------------------------------------------------------
Text Symbol: 010 = Reservation....
Text Symbol: 011 = Final Issue...
Text Symbol: 012 = Material.......
Text Symbol: 013 = Qty ------------------------------------------------------------------------------
Text Symbol: 014 = Unit of Entry..
Text Symbol: 015 = Plant.........
Text Symbol: 016 = Sorage Loc....
Text Symbol: 017 = Stockkeepg Unit
Text Symbol: 018 = Batch.........
Text Symbol: 019 = BSKey...
Text Symbol: 020 = Storage Type...
Text Symbol: 021 = Storage Bin...
Text Symbol: 022 = Acct Assgt -----------------------------------------------------------------------
Text Symbol: 023 = G/L Account....
Text Symbol: 024 = Equipment.....
Text Symbol: 025 = Cost Center....
Text Symbol: 026 = ClearngBsnArea
Text Symbol: 027 = ClearingCoCode
Text Symbol: 028 = Order..........
Text Symbol: 029 = Sales Order...
Text Symbol: 030 = Purchase Order
Text Symbol: 031 = Asset..........
Text Symbol: 032 = Customer......
Text Symbol: 033 = Prod. Bin Loc..
Text Symbol: 034 = Vendor........
Text Symbol: 035 = Receiving Mat..
Text Symbol: 036 = Receiving Plnt
Text Symbol: 037 = Receiving SLoc
Text Symbol: 038 = Receiving Batch





Text Symbol: 039 = Reason for Mvt
Text Symbol: 040 = Recipient......
Text Symbol: 041 = LC Amount.....
Text Symbol: 042 = Text...........
Text Symbol: 043 = Company Code...
Text Symbol: 044 = Fiscal Year
Text Symbol: 045 = Item.........


INCLUDES used within this REPORT RM07MAAU

INCLUDE: ARCINC01,
RM07GRID.


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:

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.



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