SAP OIJW_DELETE_WL_ENTRY Function Module for OIL-TSW: Delete worklist entry









OIJW_DELETE_WL_ENTRY is a standard oijw delete wl entry SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for OIL-TSW: Delete worklist entry processing and below is the pattern details for this FM, 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 oijw delete wl entry FM, simply by entering the name OIJW_DELETE_WL_ENTRY into the relevant SAP transaction such as SE37 or SE38.

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



Function OIJW_DELETE_WL_ENTRY 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 'OIJW_DELETE_WL_ENTRY'"OIL-TSW: Delete worklist entry
EXPORTING
* I_WLITEM = "
* I_WLRC = "
* I_LOCID = "
* I_TSYST = "
* I_MATNR = "
* I_NOMNR = "
* I_NOMIT = "
* I_DATUM = "
* I_NOMTK = "

EXCEPTIONS
INPUT_MISSING = 1 ENTRY_NOT_FOUND = 2 DB_ACCESS_ERROR = 3
.



IMPORTING Parameters details for OIJW_DELETE_WL_ENTRY

I_WLITEM -

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

I_WLRC -

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

I_LOCID -

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

I_TSYST -

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

I_MATNR -

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

I_NOMNR -

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

I_NOMIT -

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

I_DATUM -

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

I_NOMTK -

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

EXCEPTIONS details

INPUT_MISSING -

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

ENTRY_NOT_FOUND -

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

DB_ACCESS_ERROR -

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

Copy and paste ABAP code example for OIJW_DELETE_WL_ENTRY 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_i_wlitem  TYPE OIJWL-WLITEM, "   
lv_input_missing  TYPE OIJWL, "   
lv_i_wlrc  TYPE OIJWL-WLRC, "   
lv_entry_not_found  TYPE OIJWL, "   
lv_i_locid  TYPE OIJLOC-LOCID, "   
lv_db_access_error  TYPE OIJLOC, "   
lv_i_tsyst  TYPE OIJTS-TSYST, "   
lv_i_matnr  TYPE MARA-MATNR, "   
lv_i_nomnr  TYPE OIJNOMH-NOMNR, "   
lv_i_nomit  TYPE OIJNOMI-NOMIT, "   
lv_i_datum  TYPE OIJRD-DATUM, "   
lv_i_nomtk  TYPE OIJWL-NOMTK. "   

  CALL FUNCTION 'OIJW_DELETE_WL_ENTRY'  "OIL-TSW: Delete worklist entry
    EXPORTING
         I_WLITEM = lv_i_wlitem
         I_WLRC = lv_i_wlrc
         I_LOCID = lv_i_locid
         I_TSYST = lv_i_tsyst
         I_MATNR = lv_i_matnr
         I_NOMNR = lv_i_nomnr
         I_NOMIT = lv_i_nomit
         I_DATUM = lv_i_datum
         I_NOMTK = lv_i_nomtk
    EXCEPTIONS
        INPUT_MISSING = 1
        ENTRY_NOT_FOUND = 2
        DB_ACCESS_ERROR = 3
. " OIJW_DELETE_WL_ENTRY




ABAP code using 7.40 inline data declarations to call FM OIJW_DELETE_WL_ENTRY

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 WLITEM FROM OIJWL INTO @DATA(ld_i_wlitem).
 
 
"SELECT single WLRC FROM OIJWL INTO @DATA(ld_i_wlrc).
 
 
"SELECT single LOCID FROM OIJLOC INTO @DATA(ld_i_locid).
 
 
"SELECT single TSYST FROM OIJTS INTO @DATA(ld_i_tsyst).
 
"SELECT single MATNR FROM MARA INTO @DATA(ld_i_matnr).
 
"SELECT single NOMNR FROM OIJNOMH INTO @DATA(ld_i_nomnr).
 
"SELECT single NOMIT FROM OIJNOMI INTO @DATA(ld_i_nomit).
 
"SELECT single DATUM FROM OIJRD INTO @DATA(ld_i_datum).
 
"SELECT single NOMTK FROM OIJWL INTO @DATA(ld_i_nomtk).
 


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!