RSXMB_CHECK_MSG_QUEUE 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 RSXMB_CHECK_MSG_QUEUE 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: Cancel Messages in Scheduled or Retry Status
Text Symbol: 038 = No TID found. (No QRFC entry)
Text Symbol: 039 = TID:
Text Symbol: 040 = No QRFC entry found; message selected for deletion
Text Symbol: 050 = Sender Interface
Text Symbol: 051 = Sender Namespace
Text Symbol: 052 = Receiver Interface
Text Symbol: 053 = Receiver Namespace
Text Symbol: 054 = Start of Search Period
Text Symbol: 055 = /
Text Symbol: 056 = End of Search Period
Text Symbol: 057 = /
Text Symbol: 058 = Sender System
Text Symbol: 059 = Receiver System
Text Symbol: 060 = Message Interface
Text Symbol: 061 = Start of Timeframe
Text Symbol: 062 = End of Timeframe
Text Symbol: 063 = Start of Timeframe >= End of Timeframe
Text Symbol: 070 = Complete All or No Date and Time Input Fields
Text Symbol: 100 = Trace Text
Text Symbol: 101 = Status
Text Symbol: 201 = Description
Text Symbol: 202 = Value
Text Symbol: 203 = Result List of Processed Messages
Text Symbol: 204 = Status of Update of Messages
Text Symbol: 205 = Status of Change of History
Text Symbol: 206 = Reorganisation was successful
Text Symbol: 207 = Message is locked
Text Symbol: 208 = Message does not have handleable error status
Text Symbol: 209 = Message has QualityOfService 'Best Effort'
Text Symbol: 210 = Error accessing persistence layer
Text Symbol: 211 = Error while scheduling message in qRFC
Text Symbol: 212 = Internal system error
Text Symbol: 213 = Message still scheduled in queue
Text Symbol: 214 = Attempt to cancel message processing manually was terminated
Text Symbol: 215 = Unknown error
Text Symbol: 037 = Queue:
Text Symbol: 001 = Cancel message processing?
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CALL FUNCTION 'ENQUEUE_E_SXMSSWITCH' EXPORTING mode_sxmsjinfo = 'U' runmode = 'C' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ENQUEUE_E_SXMSSWITCH CALL FUNCTION 'ENQUEUE_E_SXMSSWITCH' EXPORTING mode_sxmsjinfo = 'S' runmode = 'R'.
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' "#EC * EXPORTING restriction = ls_restriction.
DSYS_SHOW_FOR_F1HELP CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP' EXPORTING application = 'SO70' dokclass = 'TX' doklangu = sy-langu dokname = 'RSXMB_CHECK_MSG_QUEUE' EXCEPTIONS class_unknown = 1 object_not_found = 2 OTHERS = 3.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' "#EC * EXPORTING titlebar = 'Cancel Message processing'(001) text_question = 'Are you sure you want to cancel selected messages?'(002) display_cancel_button = '' IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.
SXMB_ALV_STRING_OUTPUT CALL FUNCTION 'SXMB_ALV_STRING_OUTPUT' EXPORTING it_outtab = lt_output[] it_fldprops = lt_field_catalog[] ip_notoolbar = '' ip_gridtitle = 'Result list for messages processed'(203) ip_no_column = '5' EXCEPTIONS outtab_initial = 1 internal_error = 2 no_of_column_init = 3 OTHERS = 4.
RFC_IS_GUI_ON CALL FUNCTION 'RFC_IS_GUI_ON' IMPORTING on = lv_is_gui_on.
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 RSXMB_CHECK_MSG_QUEUE or its description.
RSXMB_CHECK_MSG_QUEUE - Cancel Messages in Scheduled or Retry Status RSXMB_CHECK_MSG_QUEUE - Cancel Messages in Scheduled or Retry Status RSXMB_CHECK_MESSAGE_CONSIST - Report RSXMB_CHECK_MESSAGE_CONSIST RSXMB_CHECK_MESSAGE_CONSIST - Report RSXMB_CHECK_MESSAGE_CONSIST RSXMB_CHECK_MESSAGES_STATE - Check Reorganization Status of a Persisted Message RSXMB_CHECK_MESSAGES_STATE - Check Reorganization Status of a Persisted Message