RM07IARC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Archiving material documents This program is used to archive the material documents in Inventory Management...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 RM07IARC 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: Archive Phys. Inv. Documents for Inventory Mgmt
Text Symbol: 001 = Test Run
Text Symbol: 003 = Archive file;; created on: ;;
Text Symbol: 004 = Following documents were archived:
Text Symbol: 005 = Following documents would be archived:
Text Symbol: 006 = Phys. Inv. Doc. No.
Text Symbol: 007 = Plnt
Text Symbol: 008 = Fiscal Year
Text Symbol: 009 = Test Run
Text Symbol: 010 = Log for Archived Tables
Text Symbol: 011 = Delete Archived Data
Text Symbol: 012 = Number of Resident Months
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING CALL_DELETE_JOB_IN_TEST_MODE = LOESCH CREATE_ARCHIVE_FILE = ARCHIVE_FILE OBJECT = OBJECT comments = pa_text "n859420 IMPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 01 OBJECT_NOT_FOUND = 02 OPEN_ERROR = 03.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = HANDLE RECORD = A_RECORD RECORD_FLAGS = ' ' RECORD_STRUCTURE = A_STRUCTURE EXCEPTIONS INTERNAL_ERROR = 01 WRONG_ACCESS_TO_ARCHIVE = 02 INVALID_RECORD_STRUCTURE = 03.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 01 WRONG_ACCESS_TO_ARCHIVE = 02.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS FILE_IO_ERROR = 01 INTERNAL_ERROR = 02 OPEN_ERROR = 03 TERMINATION_REQUESTED = 04 WRONG_ACCESS_TO_ARCHIVE = 05.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 01 WRONG_ACCESS_TO_ARCHIVE = 02.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 01.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING ARCHIVE_HANDLE = HANDLE IMPORTING ARCHIVE_CREATION_DATE = DATE ARCHIVE_CREATION_RELEASE = RELEASE ARCHIVE_CREATION_SYSTEM = SYSTEM ARCHIVE_NAME = NAME OBJECT = OBJECT EXCEPTIONS INTERNAL_ERROR = 01 WRONG_ACCESS_TO_ARCHIVE = 02.
CHANGEDOCU_ARCHIVE_OBJECT CALL FUNCTION 'CHANGEDOCU_ARCHIVE_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE OBJECTCLASS = OBJECT_CD OBJECTID = OBJECTID_CHAR EXCEPTIONS WRONG_ACCESS_TO_ARCHIVE = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM07IARC - Archive Phys. Inv. Documents for Inventory Mgmt RM07IARC - Archive Phys. Inv. Documents for Inventory Mgmt RM07IADE - Archive Material Documents (Inventory Management) - Deletion Program RM07IADE - Archive Material Documents (Inventory Management) - Deletion Program RM07IAAU_TOI - Include RM07IAAU_TOI RM07IAAU - Report for Phys. Inv. Doc. Archiving