SAP Reports / Programs | Basis Components | Middleware | RFC(BC-MID-RFC) SAP BC

RSTRFCM3 SAP ABAP Report - qRFC Monitor (Inbound Queue)







RSTRFCM3 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for &DESCRIPTION& In Release 3...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 RSTRFCM3 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SMQ2 - qRFC Monitor (Inbound Queue)


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 RSTRFCM3. "Basic submit
SUBMIT RSTRFCM3 AND RETURN. "Return to original report after report execution complete
SUBMIT RSTRFCM3 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: QNAME = Queue Name
Selection Text: QERROR = Waiting Queues Only
Selection Text: DPNDNCY = Dependency Analysis
Selection Text: CLIENT = Client
Title: qRFC Monitor (Inbound Queue)
Text Symbol: 046 = Unlock Generic Queues Without Activating
Text Symbol: 047 = Delete Generic Queues
Text Symbol: 048 = Select Generic
Text Symbol: 049 = Deselect Generic
Text Symbol: 050 = Display Generic Queues
Text Symbol: 055 = No queues ready to start found
Text Symbol: 060 = No queues with errors found
Text Symbol: 061 = Function not possible in this view
Text Symbol: 062 = TID of First LUW
Text Symbol: 063 = No active queues Found
Text Symbol: 064 = No program registered for this queue in SMQE
Text Symbol: 065 = Remote System
Text Symbol: 066 = Invalid destination
Text Symbol: 067 = No authorization for SMQ2
Text Symbol: 068 = No SMQ2 in target system
Text Symbol: 069 = Unexpected error when starting SMQ2
Text Symbol: 070 = Activate Trace
Text Symbol: 071 = Deactivate Trace
Text Symbol: 072 = Delete Trace
Text Symbol: 073 = Activate Log
Text Symbol: 074 = Deactivate Log
Text Symbol: 075 = Delete Log
Text Symbol: 080 = Number of Entries Displayed:
Text Symbol: 081 = Number of Queues Displayed:
Text Symbol: 087 = Queue Information
Text Symbol: 088 = Dependent
Text Symbol: 089 = Equivalent Queue
Text Symbol: 090 = Place the cursor on a valid header
Text Symbol: 099 = Do you want to delete all queues from SMQ2 for this client?
Text Symbol: 001 = Cl.
Text Symbol: 002 = Queue Name
Text Symbol: 003 = Sender ID
Text Symbol: 004 = Entries





Text Symbol: 005 = Status
Text Symbol: 006 = Date 1
Text Symbol: 007 = Time 1
Text Symbol: 008 = NxtDate
Text Symbol: 009 = NxtTim
Text Symbol: 010 = Wait for queue
Text Symbol: 011 = Delete all LUWs in this queue?
Text Symbol: 012 = Delete LUWs
Text Symbol: 014 = Delete Queues
Text Symbol: 015 = Delete all selected queues?
Text Symbol: 019 = Nothing selected
Text Symbol: 023 = Queue is possibly still being executed
Text Symbol: 026 = Definitely reset status?
Text Symbol: 027 = Reset Queue Status
Text Symbol: 028 = (double execution possible)
Text Symbol: 029 = Supplement Number :
Text Symbol: 030 = qRFC Version
Text Symbol: 031 = Current qRFC Version:
Text Symbol: 032 = Caution: This action ignores the current selection.
Text Symbol: 033 = Reorganize
Text Symbol: 034 = Lock Queue
Text Symbol: 035 = Lock Queue Now
Text Symbol: 036 = Activate Queue
Text Symbol: 037 = Unlock Queue
Text Symbol: 038 = Unlock Without Activating
Text Symbol: 040 = Activate Generic Queues
Text Symbol: 041 = Invalid queue name
Text Symbol: 043 = Lock All Generic Queues
Text Symbol: 044 = Lock Generic Queues Immediately
Text Symbol: 045 = Unlock All Generic Queues


INCLUDES used within this REPORT RSTRFCM3

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:

AUTHORITY_CHECK_TCODE call function 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'SMQ2' EXCEPTIONS ok = 0 not_ok = 1 others = 2.

TRFC_QIN_EXECUTE_CHECK_QUEUE call function 'TRFC_QIN_EXECUTE_CHECK_QUEUE' EXPORTING qname = gen_qname IMPORTING do_not_execute_queue = do_not_execute_queue EXCEPTIONS NO_QNAME = 1 NO_TID = 2 LUW_NO_QIN_LUW = 3 QE_STOP_SELECTED = 4 QE_STOP_GENERIC_SELECTED = 5 QE_RESTART_SELECTED = 6 QS_REGISTERED_QUEUE = 7 QS_MODIFY = 8 QE_GEN_STOP = 5 QE_SINGLE_STOP = 4 QE_GEN_RESTART = 6.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = sy-ucomm DATA_WORD3 = gen_qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.






TRFC_QIN_ACTIVATE call function 'TRFC_QIN_ACTIVATE' starting new task '%_QIN_ACTIVATE' EXPORTING qname = gen_qname EXCEPTIONS others = 1.

TRFC_QIN_ACTIVATE call function 'TRFC_QIN_ACTIVATE' EXPORTING qname = gen_qname IMPORTING astate = astate EXCEPTIONS system_failed = 1 communication_failed = 2.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = sy-ucomm DATA_WORD3 = gen_qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

TRFC_QIN_STOP call function 'TRFC_QIN_STOP' EXPORTING qname = gen_qname EXCEPTIONS others = 0.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = sy-ucomm DATA_WORD3 = gen_qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

TRFC_QIN_STOP call function 'TRFC_QIN_STOP' EXPORTING qname = gen_qname force = 'X' EXCEPTIONS others = 0.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = sy-ucomm DATA_WORD3 = gen_qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

TRFC_QIN_RESTART call function 'TRFC_QIN_RESTART' starting new task '%_QIN_RESTART' EXPORTING qname = gen_qname force = 'X' EXCEPTIONS others = 1.

TRFC_QIN_RESTART call function 'TRFC_QIN_RESTART' EXPORTING qname = gen_qname force = 'X' IMPORTING astate = astate EXCEPTIONS system_failed = 1 communication_failed = 2.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = sy-ucomm DATA_WORD3 = gen_qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

TRFC_QIN_RESTART call function 'TRFC_QIN_RESTART' EXPORTING qname = gen_qname force = 'X' no_activate = 'X' EXCEPTIONS others = 0.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' "#EC * exporting defaultoption = 'N' textline1 = 'Alle LUWs in dieser Queue löschen ?'(011) textline2 = ' ' titel = 'LUWs löschen'(012) importing answer = answer.

TRFC_QIN_DELETE_QUEUE call function 'TRFC_QIN_DELETE_QUEUE' EXPORTING qname = trfcqview-qname.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' * textline1 = 'ACHTUNG!!! Ihre Auswahl ignorieren und alle Queues aus SMQ1 löschen?'(032) * textline2 = ' ' textline1 = 'Achtung! Diese Aktion berücksichtigt nicht die aktuelle Auswahl!'(032) textline2 = 'Wollen Sie ALLE Queues aus SMQ2 für diesen Mandanten löschen?'(099) titel = 'Reorganisieren'(033) IMPORTING answer = answer.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = sy-ucomm DATA_WORD3 = gen_qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

TRFC_QIN_ACTIVATE call function 'TRFC_QIN_ACTIVATE' starting new task '%_GQIN_ACTIVATE' EXPORTING qname = gen_qname EXCEPTIONS others = 1.

TRFC_QIN_ACTIVATE call function 'TRFC_QIN_ACTIVATE' EXPORTING qname = gen_qname IMPORTING astate = astate EXCEPTIONS system_failed = 1 communication_failed = 2.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = sy-ucomm DATA_WORD3 = gen_qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

TRFC_QIN_STOP call function 'TRFC_QIN_STOP' EXPORTING qname = gen_qname EXCEPTIONS others = 0.

RSLG_WRITE_SYSLOG_ENTRY



CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = sy-ucomm DATA_WORD3 = gen_qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

TRFC_QIN_STOP call function 'TRFC_QIN_STOP' EXPORTING qname = gen_qname force = 'X' EXCEPTIONS others = 0.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = sy-ucomm DATA_WORD3 = gen_qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

TRFC_QIN_RESTART call function 'TRFC_QIN_RESTART' starting new task '%_GQIN_RESTART' EXPORTING qname = gen_qname force = 'X' EXCEPTIONS others = 1.

TRFC_QIN_RESTART call function 'TRFC_QIN_RESTART' EXPORTING qname = gen_qname force = 'X' IMPORTING astate = astate EXCEPTIONS system_failed = 1 communication_failed = 2.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = sy-ucomm DATA_WORD3 = gen_qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

TRFC_QIN_RESTART call function 'TRFC_QIN_RESTART' EXPORTING qname = gen_qname force = 'X' no_activate = 'X' EXCEPTIONS others = 0.

TRFC_QIN_DELETE_QUEUE call function 'TRFC_QIN_DELETE_QUEUE' EXPORTING qname = gen_queue-qname EXCEPTIONS others = 0.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = 'Alle markierten Queues löschen ?'(015) textline2 = ' ' titel = 'Queues löschen'(014) IMPORTING answer = answer.

TRFC_QIN_DELETE_QUEUE call function 'TRFC_QIN_DELETE_QUEUE' EXPORTING qname = qhelp-qname.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = 'ERR_RESET_ALL' DATA_WORD3 = qhelp-qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = 'ERR_RESET' DATA_WORD3 = qhelp-qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

TRFC_QIN_RESET_LUW call function 'TRFC_QIN_RESET_LUW' EXPORTING qname = qhelp-qname all_luws = all_luws.

QIWK_SCHEDULER_ACTIVATE call function 'QIWK_SCHEDULER_ACTIVATE' EXPORTING qname = qhelp-qname.

ABAP4_CALL_TRANSACTION call function 'ABAP4_CALL_TRANSACTION' "#EC * destination rmqdest exporting tcode = 'SMQ2' exceptions system_failure = 1 message rfcmess communication_failure = 2 message rfcmess call_transaction_denied = 3 tcode_invalid = 4 others = 5.

QRFC_APROG_CHECK call function 'QRFC_APROG_CHECK' EXPORTING qname = trfcqview-qname IMPORTING qreport = qreport EXCEPTIONS others = 1.

TRFC_QIN_GET_FIRST_LUW call function 'TRFC_QIN_GET_FIRST_LUW' EXPORTING qname = trfcqview-qname no_read_lock = 'X' IMPORTING tid = acttid TABLES qtable = app_queue EXCEPTIONS others = 1.

QRFC_LOG_DEACTIVATE call function 'QRFC_LOG_DEACTIVATE' EXPORTING qname = reg_qname EXCEPTIONS invalid_queue_name = 1.

QRFC_LOG_ACTIVATE call function 'QRFC_LOG_ACTIVATE' EXPORTING qname = reg_qname EXCEPTIONS invalid_queue_name = 1.

QRFC_TRACE_DEACTIVATE call function 'QRFC_TRACE_DEACTIVATE' EXPORTING qname = reg_qname EXCEPTIONS invalid_queue_name = 1.

QRFC_TRACE_ACTIVATE call function 'QRFC_TRACE_ACTIVATE' EXPORTING qname = reg_qname detail = detail EXCEPTIONS invalid_queue_name = 1.

POPUP_GET_VALUES call function 'POPUP_GET_VALUES' EXPORTING popup_title = p_title IMPORTING returncode = retcode TABLES fields = fields EXCEPTIONS others = 0.

POPUP_GET_VALUES call function 'POPUP_GET_VALUES' EXPORTING popup_title = p_title IMPORTING returncode = retcode TABLES fields = fields EXCEPTIONS others = 0.

POPUP_GET_VALUES call function 'POPUP_GET_VALUES' EXPORTING popup_title = p_title IMPORTING returncode = retcode TABLES fields = fields EXCEPTIONS others = 0.

QRFC_TRACE_DELETE call function 'QRFC_TRACE_DELETE' EXPORTING tid = reg_tid qname = reg_qname orgtid = reg_orgtid.

QRFC_LOG_DELETE call function 'QRFC_LOG_DELETE' EXPORTING tid = reg_tid qname = reg_qname orgtid = reg_orgtid.

RS_EDTR_SHOW_MESSAGE call function 'RS_EDTR_SHOW_MESSAGE' EXPORTING message_id = ag message_nr = nr EXCEPTIONS others = 1.

TRFC_QIN_GET_FIRST_LUW call function 'TRFC_QIN_GET_FIRST_LUW' EXPORTING qname = trfcqview-qname no_read_lock = 'X' IMPORTING tid = acttid EXCEPTIONS others = 1.

TRFC_QIN_GET_FIRST_LUW CALL FUNCTION 'TRFC_QIN_GET_FIRST_LUW' EXPORTING QNAME = trfcqview-qname IMPORTING TID = acttid ERRMESS = errmess EXCEPTIONS INVALID_PARAMETER = 1.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text1 textline2 = text2 titel = titel IMPORTING answer = answer.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = 'RESET_ALL' DATA_WORD3 = trfcqview-qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING DATA_WORD1 = 'RSTRFCM3' DATA_WORD2 = 'RESET' DATA_WORD3 = trfcqview-qname SL_MESSAGE_AREA = 'Q2' SL_MESSAGE_SUBID = 'X'.

TRFC_QIN_RESET_LUW call function 'TRFC_QIN_RESET_LUW' EXPORTING qname = trfcqview-qname all_luws = all_luws.

QIWK_SCHEDULER_ACTIVATE call function 'QIWK_SCHEDULER_ACTIVATE' EXPORTING qname = trfcqview-qname.

POPUP_GET_VALUES call function 'POPUP_GET_VALUES' EXPORTING popup_title = p_title IMPORTING returncode = retcode TABLES fields = fields EXCEPTIONS others = 0.

TRFC_QIN_GET_CURRENT_QUEUES call function 'TRFC_QIN_GET_CURRENT_QUEUES' EXPORTING qname = seltab client = client noluwcnt = noluwcnt TABLES qview = qview.

TRFC_QIN_GET_ERROR_QUEUES call function 'TRFC_QIN_GET_ERROR_QUEUES' EXPORTING client = client TABLES qtable = err_queue.

TRFC_QIN_GET_RUNNING_QUEUES call function 'TRFC_QIN_GET_RUNNING_QUEUES' EXPORTING client = client TABLES qtable = err_queue.

TRFC_QIN_OVERVIEW call function 'TRFC_QIN_OVERVIEW' EXPORTING client = qlook-mandt qname = qlook-qname TABLES qview = qvone.

TRFC_QIN_OVERVIEW CALL FUNCTION 'TRFC_QIN_OVERVIEW' EXPORTING client = qlook-mandt qname = qlook-qname root_dependency = 'N' TABLES qview = qvone.

QRFC_GET_VERSION call function 'QRFC_GET_VERSION' IMPORTING qversion = qversion qsupplement = qsupplement.

TRFC_QIN_GET_DISTINCT_QUEUES call function 'TRFC_QIN_GET_DISTINCT_QUEUES' TABLES qview = qview.

TRFC_QIN_DELETE_QUEUE call function 'TRFC_QIN_DELETE_QUEUE' EXPORTING qname = qview-qname.

TRFC_QIN_OVERVIEW call function 'TRFC_QIN_OVERVIEW' EXPORTING client = qsave-mandt qname = qsave-qname root_dependency = 'N' TABLES qview = qvone.

TRFC_QIN_OVERVIEW call function 'TRFC_QIN_OVERVIEW' EXPORTING client = qlook-mandt qname = qlook-qname root_dependency = 'N' TABLES qview = qvone.



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