SAP Reports / Programs | Materials Management | Invoice Verification(MM-IV) SAP MM

RM08RAAU SAP ABAP Report - Analysis of Invoice Document Archive







RM08RAAU is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report reads the invoice document archive and displays the documents as per 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 RM08RAAU 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

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


Text pool values


List of Archived Invoice Documents
Selection Text: ARCHIVE = Archive File
Selection Text: BELNR = Invoice Document No.
Selection Text: BUDAT = Posting Date
Selection Text: BUKRS = Company Code
Selection Text: GJAHR = Fiscal Year
Selection Text: LIFNR = Creditor
Selection Text: XBLNR = Reference
Title: Analysis of Invoice Document Archive
Text Symbol: 001 = Doc. Number|Year |CoCo | Doc. Date |Postg Date | Vendor | Gross Amount | Crcy | Reference
Text Symbol: 002 = Doc. Selection


INCLUDES used within this REPORT RM08RAAU

INCLUDE: MRM_CONST_COMMON,
MRM_CONST_BASIS.
INCLUDE: 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:

MRM_TAX_AUDITOR_CHECK CALL FUNCTION 'MRM_TAX_AUDITOR_CHECK' EXPORTING i_user = sy-uname i_program = f_repid i_bukrs = space IMPORTING e_tpcuser = f_tax_auditor EXCEPTIONS no_authority_prog = 1 no_authority_date = 2 OTHERS = 3.

MRM_TAX_AUDITOR_CHECK CALL FUNCTION 'MRM_TAX_AUDITOR_CHECK' EXPORTING i_user = sy-uname i_program = f_repid i_budat = rbkp-budat i_bukrs = rbkp-bukrs EXCEPTIONS no_authority_prog = 1 no_authority_date = 2 OTHERS = 3.

MRM_TAX_AUDITOR_CHECK CALL FUNCTION 'MRM_TAX_AUDITOR_CHECK' EXPORTING i_user = sy-uname i_program = f_repid i_write_log = 'X' EXCEPTIONS OTHERS = 3.

MRM_ARCHIVE_INVOICE_DISPLAY CALL FUNCTION 'MRM_ARCHIVE_INVOICE_DISPLAY' EXPORTING i_rbkp = s_rbkp i_archivname = s_beleg-arnam i_tax_auditor = f_tax_auditor TABLES t_rseg = s_beleg-t_rseg t_rbco = s_beleg-t_rbco t_rbtx = s_beleg-t_rbtx t_rbvs = s_beleg-t_rbvs t_rbws = s_beleg-t_rbws t_konv = s_beleg-t_konv t_rbma = s_beleg-t_rbma t_ivext = s_beleg-t_ivext "NCF t_rbdpc = s_beleg-t_rbdpc "DPC Ehp4 t_rseg_tm = s_beleg-t_rseg_tm. "Ehp5e TM

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING archive_name = archive object = c_arch_object_re IMPORTING archive_handle = handle EXCEPTIONS OTHERS = 1.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = handle IMPORTING archive_name = archivname EXCEPTIONS end_of_file = 1 OTHERS = 2.

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 = 1.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle.



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