SAP SWE_EVENT_QUEUE_DELETE Function Module for









SWE_EVENT_QUEUE_DELETE is a standard swe event queue delete SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for swe event queue delete FM, simply by entering the name SWE_EVENT_QUEUE_DELETE into the relevant SAP transaction such as SE37 or SE38.

Function Group: SWEQBROWSER
Program Name: SAPLSWEQBROWSER
Main Program: SAPLSWEQBROWSER
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SWE_EVENT_QUEUE_DELETE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'SWE_EVENT_QUEUE_DELETE'"
EXPORTING
* DELIVERED = 'X' "
* TO_DELIVER = ' ' "
* IN_PROCESS = ' ' "
* OTHER_EVENTS = ' ' "

TABLES
* IT_EVT_GUID = "
* IT_CREA_TIME = "
* IT_EVENT_ID = "
* IT_TIMESTAMP = "
* IT_EVENTS = "
* IT_OBJTYPES = "
* IT_OBJKEY = "
* IT_RECTYPES = "
* IT_RETRIED = "
* IT_CREA_DATE = "
.



IMPORTING Parameters details for SWE_EVENT_QUEUE_DELETE

DELIVERED -

Data type: SY-INPUT
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TO_DELIVER -

Data type: SY-INPUT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IN_PROCESS -

Data type: SY-INPUT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

OTHER_EVENTS -

Data type: SY-INPUT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for SWE_EVENT_QUEUE_DELETE

IT_EVT_GUID -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CREA_TIME -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_EVENT_ID -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TIMESTAMP -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_EVENTS -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_OBJTYPES -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_OBJKEY -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_RECTYPES -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_RETRIED -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CREA_DATE -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SWE_EVENT_QUEUE_DELETE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_delivered  TYPE SY-INPUT, "   'X'
lt_it_evt_guid  TYPE STANDARD TABLE OF SY, "   
lt_it_crea_time  TYPE STANDARD TABLE OF SY, "   
lv_to_deliver  TYPE SY-INPUT, "   SPACE
lt_it_event_id  TYPE STANDARD TABLE OF SY, "   
lv_in_process  TYPE SY-INPUT, "   SPACE
lt_it_timestamp  TYPE STANDARD TABLE OF SY, "   
lt_it_events  TYPE STANDARD TABLE OF SY, "   
lv_other_events  TYPE SY-INPUT, "   SPACE
lt_it_objtypes  TYPE STANDARD TABLE OF SY, "   
lt_it_objkey  TYPE STANDARD TABLE OF SY, "   
lt_it_rectypes  TYPE STANDARD TABLE OF SY, "   
lt_it_retried  TYPE STANDARD TABLE OF SY, "   
lt_it_crea_date  TYPE STANDARD TABLE OF SY. "   

  CALL FUNCTION 'SWE_EVENT_QUEUE_DELETE'  "
    EXPORTING
         DELIVERED = lv_delivered
         TO_DELIVER = lv_to_deliver
         IN_PROCESS = lv_in_process
         OTHER_EVENTS = lv_other_events
    TABLES
         IT_EVT_GUID = lt_it_evt_guid
         IT_CREA_TIME = lt_it_crea_time
         IT_EVENT_ID = lt_it_event_id
         IT_TIMESTAMP = lt_it_timestamp
         IT_EVENTS = lt_it_events
         IT_OBJTYPES = lt_it_objtypes
         IT_OBJKEY = lt_it_objkey
         IT_RECTYPES = lt_it_rectypes
         IT_RETRIED = lt_it_retried
         IT_CREA_DATE = lt_it_crea_date
. " SWE_EVENT_QUEUE_DELETE




ABAP code using 7.40 inline data declarations to call FM SWE_EVENT_QUEUE_DELETE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single INPUT FROM SY INTO @DATA(ld_delivered).
DATA(ld_delivered) = 'X'.
 
 
 
"SELECT single INPUT FROM SY INTO @DATA(ld_to_deliver).
DATA(ld_to_deliver) = ' '.
 
 
"SELECT single INPUT FROM SY INTO @DATA(ld_in_process).
DATA(ld_in_process) = ' '.
 
 
 
"SELECT single INPUT FROM SY INTO @DATA(ld_other_events).
DATA(ld_other_events) = ' '.
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!