SAP Reports / Programs

RM07KARC SAP ABAP Report - Archiving program for MBEW, QBEW, and EBEW







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


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


Text pool values


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


INCLUDES used within this REPORT RM07KARC

No INCLUDES are used within this REPORT code!


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:

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.



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