RM07KARC 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 RM07KARC 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: Archiving program for MBEW, QBEW, and EBEW
Text Symbol: 001 = are deleted
Text Symbol: 002 = The system tried to open a file several times
Text Symbol: 003 = IO error in archive
Text Symbol: 004 = Internal error during archiving
Text Symbol: 005 = No file exists
Text Symbol: 006 = The system could not find the archiving object MM_HDEL
Text Symbol: 007 = The file could not be opened
Text Symbol: 008 = No authorization
Text Symbol: 009 = Error while accessing the archive
Text Symbol: 010 = Error during archiving
Text Symbol: 011 = Archiving object not found
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING ARCHIVE_NAME = ' ' OBJECT = 'MM_HDEL' TEST_MODE = TESTRUN IMPORTING ARCHIVE_HANDLE = 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 = HANDLE EXCEPTIONS END_OF_FILE = 1 FILE_IO_ERROR = 2 INTERNAL_ERROR = 3 OPEN_ERROR = 4 WRONG_ACCESS_TO_ARCHIVE = 5 OTHERS = 6.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 1 WRONG_ACCESS_TO_ARCHIVE = 2 OTHERS = 3.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING ARCHIVE_HANDLE = HANDLE RECORD_STRUCTURE = STRUCT_NAME ALL_RECORDS_OF_OBJECT = ' ' TABLES TABLE = TAB_NAME EXCEPTIONS END_OF_OBJECT = 1 INTERNAL_ERROR = 2 WRONG_ACCESS_TO_ARCHIVE = 3.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING OBJECT = 'MM_HDEL' IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = CUST_COMMIT_COUNT * maintain_index = cust_index EXCEPTIONS OBJECT_NOT_FOUND = 01.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 01.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM07KARC - Archiving program for MBEW, QBEW, and EBEW RM07KARC - Archiving program for MBEW, QBEW, and EBEW RM07IW31 - Batch Input: Create Phys. Inv. Docs for Consignment Stocks at Customer RM07IW31 - Batch Input: Create Phys. Inv. Docs for Consignment Stocks at Customer RM07IVW1 - INCLUDE RM07IV31 - Batch Input: Create Phys. Inventory Docs for Ret. Packaging at Cust.