MEV_AD_ARCH3 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 MEV_AD_ARCH3 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: Display list of archived accrual documents
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ call function 'ARCHIVE_OPEN_FOR_READ' exporting object = 'LO_CMM_AD' importing archive_handle = lv_handle exceptions file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 others = 8.
ARCHIVE_GET_NEXT_OBJECT call function 'ARCHIVE_GET_NEXT_OBJECT' exporting archive_handle = lv_handle importing object_id = lv_object_id object_offset = lv_offset archive_name = lv_archivekey exceptions end_of_file = 01.
ARCHIVE_GET_NEXT_RECORD call function 'ARCHIVE_GET_NEXT_RECORD' exporting archive_handle = lv_handle importing record_structure = lv_record_type record_ref = buffer_ref "Unicode exceptions end_of_object = 01.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = lv_handle.
K_KKB_LIST_DISPLAY call function 'K_KKB_LIST_DISPLAY' exporting i_callback_program = 'MEV_AD_ARCH3' i_tabname = 'LT_AD_ROOT' it_fieldcat = lt_fields tables t_outtab = lt_ad_root exceptions others = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MEV_AD_ARCH3 - Display list of archived accrual documents MEV_AD_ARCH3 - Display list of archived accrual documents MEV_AD_ARCH2 - Archive AD: Delete from Archive MEV_AD_ARCH2 - Archive AD: Delete from Archive MEV_AD_ARCH1 - Accrual Document: Write Archive MEV_AD_ARCH1 - Accrual Document: Write Archive