RSWEQMAINTAIN 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 RSWEQMAINTAIN 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: P_NODEL = Events not delivered
Selection Text: P_INPRO = In process
Selection Text: P_EVENT = Event Name
Selection Text: P_DEL = Events already delivered
Selection Text: P_DATE = Creation Date
Selection Text: P_TIME = Creation Time
Selection Text: P_RETRIE = Unsuccessful del. attempts
Selection Text: P_RECTYP = Receiver Type
Selection Text: P_OTHER = Other events
Selection Text: P_OBJTYP = Object Type
Selection Text: P_OBJKEY = Key of object type
Title: Events from Event Queue: Change Status
Text Symbol: T05 = Change Status
Text Symbol: T06 = Status Will Be Changed for the Selected Events
Text Symbol: T07 = Status of Events Controls Their Processing
Text Symbol: T50 = Delivered
Text Symbol: T51 = Created on
Text Symbol: T52 = Created at
Text Symbol: 100 = Event Data
Text Symbol: 900 = Deliv. data
Text Symbol: T02 = Make Change?
Text Symbol: T53 = Status
001 Object type Event Time stamp Event instance ID
002 Delivery
003 attempts
INCLUDE RSWELINC.
INCLUDE RSWEINCL.
No SAP DATABASE tables are accessed within this REPORT code!
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'SWEQDEL' EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_pf_status_set = 'SET_STATUS' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'GT_OUTTAB' is_layout = ls_layout it_fieldcat = lt_fieldcat TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.
SWE_EVENT_QUEUE_READ CALL FUNCTION 'SWE_EVENT_QUEUE_READ' EXPORTING delivered = p_del to_deliver = p_nodel in_process = p_inpro other_events = p_other max_rows = 0 TABLES et_events = pt_swequeue it_events = p_event it_objtypes = p_objtyp it_objkey = p_objkey it_rectypes = p_rectyp it_retried = p_retrie it_crea_date = p_date it_crea_time = p_time.
SWE_EVENT_DISPLAY CALL FUNCTION 'SWE_EVENT_DISPLAY' EXPORTING evt_guid = gt_outtab-evt_guid EXCEPTIONS guid_not_found = 1 OTHERS = 2.
SWE_EVENT_SET_STATUS CALL FUNCTION 'SWE_EVENT_SET_STATUS' EXPORTING * EVT_GUID = STATUS = l_next_status * DO_COMMIT = ' ' TABLES IT_EVT_GUID = lt_event EXCEPTIONS UPDATE_FAILED = 1 OTHERS = 2 .
POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'N' diagnosetext1 = l_text1 diagnosetext2 = l_text2 * DIAGNOSETEXT3 = l_text3 textline1 = l_text4 * TEXTLINE2 = ' ' titel = l_titel * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = p_answer .
DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'SWE_EVTSTA' state = 'A' langu = sy-langu TABLES dd07v_tab = g_dd07v EXCEPTIONS illegal_input = 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.