SAP Reports / Programs

RSWEQDELETE SAP ABAP Report - Delete Event Queue Events







RSWEQDELETE 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 RSWEQDELETE 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

SWEQDEL - Delete Event 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 RSWEQDELETE. "Basic submit
SUBMIT RSWEQDELETE AND RETURN. "Return to original report after report execution complete
SUBMIT RSWEQDELETE 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: 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
Selection Text: P_NODEL = Events not delivered
Selection Text: P_INPROC = Events Being Processed
Selection Text: P_EVENT = Event ID
Selection Text: P_DISP = Display list of events
Selection Text: P_DEL = Events already delivered
Selection Text: P_DATE = Creation date
Title: Delete Event Queue Events
Text Symbol: T53 = Status
Text Symbol: T52 = Created at
Text Symbol: T51 = Created on
Text Symbol: T50 = Delivered
Text Symbol: T07 = Undelivered events will also be deleted.
Text Symbol: T06 = Delete events from event queue.
Text Symbol: T05 = Delete events
Text Symbol: T02 = Do you really want to delete?
Text Symbol: 900 = Deliv. data
Text Symbol: 100 = Event data
003 attempts
002 Delivery
001 Object type Event Time stamp Event instance ID


INCLUDES used within this REPORT RSWEQDELETE

INCLUDE RSWELINC.
INCLUDE RSWEINCL.


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 = 'SWEQDEL' EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.

SWE_EVENT_QUEUE_DELETE CALL FUNCTION 'SWE_EVENT_QUEUE_DELETE' EXPORTING delivered = p_del to_deliver = p_nodel in_process = p_inproc other_events = p_other TABLES it_rectypes = p_rectyp it_events = p_event it_objtypes = p_objtyp it_objkey = p_objkey it_retried = p_retrie it_crea_date = p_date it_crea_time = p_time.

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_inproc 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_QUEUE_DELETE CALL FUNCTION 'SWE_EVENT_QUEUE_DELETE' EXPORTING delivered = 'X' to_deliver = 'X' in_process = 'X' other_events = 'X' TABLES it_evt_guid = lt_event.

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.



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