RN1MCI_MESSAGE_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program deletes selected processes and their messages...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 RN1MCI_MESSAGE_DELETE into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
N1MCI_MSG_DELETE - Delete Message Log
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: P_END = To Date
Selection Text: P_START = From Date
Selection Text: P_LOGDEL = D .
Selection Text: P_TEST = D .
Selection Text: S_PROC = D .
Selection Text: S_STATE = D .
Title: Delete Messages
Text Symbol: 001 = Selection Criteria
Text Symbol: 002 = Settings
Text Symbol: 003 = From Date/To Date
Text Symbol: 004 = From Date
Text Symbol: 005 = To Date
Text Symbol: 020 = Test Mode
Text Symbol: 021 = Following messages exist:
Text Symbol: 022 = Type
Text Symbol: 023 = Message Class
Text Symbol: 024 = No.
Text Symbol: 025 = Message
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = restriction EXCEPTIONS too_late = 0 repeated = 0 selopt_without_options = 0 selopt_without_signs = 0 invalid_sign = 0 empty_option_list = 0 invalid_kind = 0 repeated_kind_a = 0 OTHERS = 0.
ENQUEUE_EN1MCI_PROCESSID CALL FUNCTION 'ENQUEUE_EN1MCI_PROCESSID' EXPORTING id = i_id _scope = '1' "Scope := 1 --> auto dequeue after leave program EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
BAL_DB_DELETE CALL FUNCTION 'BAL_DB_DELETE' EXPORTING i_t_log_handle = log_handles * I_IN_UPDATE_TASK = ' ' i_with_commit_work = abap_false * I_PACKAGE_SIZE = 100 EXCEPTIONS no_logs_specified = 0 OTHERS = 0.
BAL_DB_DELETE CALL FUNCTION 'BAL_DB_DELETE' EXPORTING i_t_log_handle = log_handles * I_IN_UPDATE_TASK = ' ' i_with_commit_work = abap_false * I_PACKAGE_SIZE = 100 EXCEPTIONS no_logs_specified = 0 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.