RMCAMUS2 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 RMCAMUS2 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.
Selection Text: ARCHIVE = Archive key
Selection Text: CONTROL = Control data
Selection Text: TESTRUN = Test run
Title: Delete Archived Statistical Data from Info Structure &
Text Symbol: 001 = To be deleted:
Text Symbol: 002 = Read:
Text Symbol: 003 = Table index could not be restored:
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 OBJECT = 'MC_&GSTRU' TEST_MODE = TESTRUN IMPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS NO_FILES_AVAILABLE = 02.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING OBJECT = 'MC_&GSTRU' IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = PACKAGE_SIZE EXCEPTIONS OBJECT_NOT_FOUND = 01.
MCS_DROP_CREATE_INDEX *+ CALL FUNCTION 'MCS_DROP_CREATE_INDEX' *+ EXPORTING *+ I_MCINF = ' ' *+ I_GSTRU = '&GSTRU' *+ FLAG_DC = 'D' *+ EXCEPTIONS *+ NO_GSTRU = 1 *+ NO_CREATE_INDEX = 2 *+ OTHERS = 3.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS END_OF_FILE = 01 INTERNAL_ERROR = 02 OPEN_ERROR = 03 WRONG_ACCESS_TO_ARCHIVE = 04.
ARCHIVE_GET_NEXT_RECORD *+ CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' *+ EXPORTING *+ ARCHIVE_HANDLE = HANDLE *+ IMPORTING *+ RECORD_REF = BUFFER_REF *+ RECORD_STRUCTURE = RECORD_TYPE *+ EXCEPTIONS *+ END_OF_OBJECT = 01 *+ INTERNAL_ERROR = 02 *+ WRONG_ACCESS_TO_ARCHIVE = 03.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE.
MCS_DROP_CREATE_INDEX *+ CALL FUNCTION 'MCS_DROP_CREATE_INDEX' *+ EXPORTING *+ I_MCINF = ' ' *+ I_GSTRU = '&GSTRU' *+ FLAG_DC = 'C' *+ IMPORTING *+ E_GSTRU = E_GSTRU *+ E_INDEX = E_INDEX *+ EXCEPTIONS *+ NO_GSTRU = 1 *+ NO_CREATE_INDEX = 2 *+ OTHERS = 3.
ARCHIVE_GIVE_STATISTICS *+ CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' *+ EXPORTING *+ ARCHIVE_HANDLE = HANDLE *+ TABLES *+ TABLE = STAT_ITAB *+ EXCEPTIONS *+ INTERNAL_ERROR = 1 *+ WRONG_ACCESS_TO_ARCHIVE = 2 *+ OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RMCAMUS2 - Delete Archived Statistical Data from Info Structure & RMCAMUS2 - Delete Archived Statistical Data from Info Structure & RMCAMUS1 - Archiving Statistical Data from Info Structure & RMCAMUS1 - Archiving Statistical Data from Info Structure & RMCAMUK5 - Conversion of Statistical Data in Info Structure & (Delete After 3.0F) RMCAMUK5 - Conversion of Statistical Data in Info Structure & (Delete After 3.0F)