SAP Reports / Programs | Basis Components | Exchange Infrastructure | Runtime Workbench/Monitoring(BC-XI-IS-WKB) SAP BC

RSXMB_MON_MSG_INDEX_SEARCH SAP ABAP Report - SAP XI Monitoring: Find XI Messages Using TREX Index







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


Text pool values


Selection Text: ERRCAT = Error Category
Selection Text: ERRCODE = Error ID
Selection Text: EXE2DATE = Date/Time Executed To
Selection Text: EXEDATE = Date/Time Executed From
Selection Text: IIFNAME = Interface Name
Selection Text: IIFNS = Interface Namespace
Selection Text: INDEX_ID = Index ID
Selection Text: MAX_HITS = Maximum Number of Messages
Selection Text: MSGGUID = Message ID
Selection Text: MSGSTATE = Message Status
Selection Text: OIFNAME = Interface Name
Selection Text: OIFNS = Interface Namespace
Selection Text: PR_ATTR = Display Attributes from Index
Selection Text: USER = User
Selection Text: S_TERM = Search Terms
Selection Text: SNDRPRTY = Party
Selection Text: SNDRBS = Service
Selection Text: SNDPRTTY = Scheme
Selection Text: SNDPRTAG = Agency
Selection Text: SND2DATE = Send Date/Time To
Selection Text: SENDDATE = Send Date/Time From
Selection Text: RFCDEST = Destination TREX Server
Selection Text: RCVRPRTY = Party
Selection Text: RCVRBS = Service
Selection Text: RCVPRTTY = Scheme
Selection Text: RCVPRTAG = Agency
Title: SAP XI Monitoring: Find XI Messages Using TREX Index
Text Symbol: ST3 = Phrase
Text Symbol: ST2 = At Least 1 Term (OR)
Text Symbol: ST1 = All Terms (AND)
Text Symbol: ST0 = Search Method
Text Symbol: S15 = Receiver
Text Symbol: S14 = Sender
Text Symbol: S02 = Other Attributes
Text Symbol: S01 = Date/Time
Text Symbol: C01 = /
Text Symbol: 001 = No authorization to execute this program
Text Symbol: 002 = No messages exist for these selection criteria





Text Symbol: 009 = Message ID
Text Symbol: 010 = Status
Text Symbol: 011 = Exec.Date
Text Symbol: 012 = Exec.Time
Text Symbol: 013 = Send Date
Text Symbol: 014 = Send Time
Text Symbol: 015 = Sender
Text Symbol: 016 = Sender Scheme
Text Symbol: 017 = Sender Agency
Text Symbol: 018 = Sender Service
Text Symbol: 020 = Sender Namespace
Text Symbol: 021 = Sender Interface
Text Symbol: 022 = Receiver
Text Symbol: 023 = Receiver Scheme
Text Symbol: 024 = Receiver Agency
Text Symbol: 025 = Receiver Service
Text Symbol: 026 = Receiver Namespace
Text Symbol: 027 = Receiver Interface
Text Symbol: 030 = PL
Text Symbol: 031 = Error Category
Text Symbol: 032 = Error ID
Text Symbol: 040 = Number of Messages: &
Text Symbol: 041 = TREX Server Resp. Time: & msec
Text Symbol: 042 = ABAP/RFC Resp. Time: & msec
Text Symbol: 043 = Search Terms:
Text Symbol: 050 = & messages found
Text Symbol: 051 = Display the & most recent?
Text Symbol: 052 = Y
Text Symbol: 053 = Display All
Text Symbol: 055 = Of & found messages
Text Symbol: 056 = Only & in persistence
Text Symbol: 057 = (Use Output Attributes from Index)
Text Symbol: 058 = None in persistence


INCLUDES used within this REPORT RSXMB_MON_MSG_INDEX_SEARCH

INCLUDE ICONS.
INCLUDE SXMB_MON_TREX_TYPES.


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:

SXMB_GET_STATUS_ATTRIBUTES CALL FUNCTION 'SXMB_GET_STATUS_ATTRIBUTES' EXPORTING im_icon_convert = 'X' IMPORTING ex_msgstate_attr = lt_mstat_attr * EXCEPTIONS * OTHERS = 1.






VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = lv_vrm_id values = lt_vrm_values * EXCEPTIONS * id_illegal_name = 1 * OTHERS = 2.

SXMB_MONI_CHECK_AUTHORITY CALL FUNCTION 'SXMB_MONI_CHECK_AUTHORITY' EXPORTING im_activity = '03' IMPORTING ex_authority = lv_allowed EXCEPTIONS invalid_activity = 1 OTHERS = 2.

SXMB_MSG_INDEX_CUST_READ CALL FUNCTION 'SXMB_MSG_INDEX_CUST_READ' IMPORTING index_cust_data = ls_msgind_cust.

SXMB_MON_MSG_INDEX_DEST_READ CALL FUNCTION 'SXMB_MON_MSG_INDEX_DEST_READ' IMPORTING e_rfc_destination = lv_rfc_dest.

RFC_READ_DESTINATION_TYPE CALL FUNCTION 'RFC_READ_DESTINATION_TYPE' EXPORTING destination = lv_rfc_dest authority_check = ' ' IMPORTING rfctype = lv_rfctype EXCEPTIONS authority_not_available = 1 destination_not_exist = 2 information_failure = 3 internal_failure = 4 OTHERS = 5.

SXMB_MON_MSG_INDEX_SEARCH CALL FUNCTION 'SXMB_MON_MSG_INDEX_SEARCH' EXPORTING i_index_id = ls_msgind_cust-index_id i_rfc_destination = lv_rfc_dest i_cont_search_term = lv_search_term i_cont_search_type = lv_search_type i_msgattr_values = lt_msgattr i_attr_request = lv_attr_req i_max_result = max_hits IMPORTING e_msgkey_tab = lt_msgkey e_result_docs = lt_result_docs e_no_of_hits = lv_count_res e_no_of_all_hits = lv_count_hits e_trex_runtime = ls_runtime EXCEPTIONS internal_error = 1 trex_server_error = 2 no_search_term_or_values = 3 OTHERS = 4.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = sy-title * DIAGNOSE_OBJECT = ' ' text_question = lv_text_1 * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = 'GT_MSGTAB_EXT' i_structure_name = 'SXMSMSGLST' CHANGING ct_fieldcat = gt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set ='TYPE_SET_PF_STATUS' i_callback_user_command = g_usr_cmd " I_CALLBACK_TOP_OF_PAGE = ' ' " I_STRUCTURE_NAME = " I_BACKGROUND_ID = ' ' " I_GRID_TITLE = " I_GRID_SETTINGS = is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_events = gt_events[] " IT_EXCLUDING = "IMPORTING " E_EXIT_CAUSED_BY_CALLER = " ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gt_msgtab_ext EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = rt_events.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING i_logo = '' it_list_commentary = gt_list_top_of_page.



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