SAP DEQUEUE_E_OIGSVC Function Module for Release lock on object E_OIGSVC









DEQUEUE_E_OIGSVC is a standard dequeue e oigsvc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Release lock on object E_OIGSVC 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 dequeue e oigsvc FM, simply by entering the name DEQUEUE_E_OIGSVC into the relevant SAP transaction such as SE37 or SE38.

Function Group: /1BCDWBEN/OEN0003
Program Name: /1BCDWBEN/SAPLOEN0003
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function DEQUEUE_E_OIGSVC 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 'DEQUEUE_E_OIGSVC'"Release lock on object E_OIGSVC
EXPORTING
* MODE_V_OIGSVC = 'E' "Lock mode for table V_OIGSVC
* TPU_NR = "09th enqueue argument
* X_TU_NUMBER = ' ' "Fill argument 02 with initial value?
* X_LDDATE = ' ' "Fill argument 03 with initial value?
* X_LDTIME = ' ' "Fill argument 04 with initial value?
* X_SHIFT = ' ' "Fill argument 05 with initial value?
* X_TRIP = ' ' "Fill argument 06 with initial value?
* X_SHNUMBER = ' ' "Fill argument 07 with initial value?
* X_VEH_NR = ' ' "Fill argument 08 with initial value?
* X_TPU_NR = ' ' "Fill argument 09 with initial value?
* _SCOPE = '3' "
* CLIENT = SY-MANDT "01th enqueue argument
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* TU_NUMBER = "02th enqueue argument
* LDDATE = "03th enqueue argument
* LDTIME = "04th enqueue argument
* SHIFT = "05th enqueue argument
* TRIP = "06th enqueue argument
* SHNUMBER = "07th enqueue argument
* VEH_NR = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_E_OIGSVC

MODE_V_OIGSVC - Lock mode for table V_OIGSVC

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

TPU_NR - 09th enqueue argument

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

X_TU_NUMBER - Fill argument 02 with initial value?

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

X_LDDATE - Fill argument 03 with initial value?

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

X_LDTIME - Fill argument 04 with initial value?

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

X_SHIFT - Fill argument 05 with initial value?

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

X_TRIP - Fill argument 06 with initial value?

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

X_SHNUMBER - Fill argument 07 with initial value?

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

X_VEH_NR - Fill argument 08 with initial value?

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

X_TPU_NR - Fill argument 09 with initial value?

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

_SCOPE -

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

CLIENT - 01th enqueue argument

Data type: V_OIGSVC-CLIENT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

_SYNCHRON - Synchonous unlock

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

_COLLECT - Initially only collect lock

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

TU_NUMBER - 02th enqueue argument

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

LDDATE - 03th enqueue argument

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

LDTIME - 04th enqueue argument

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

SHIFT - 05th enqueue argument

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

TRIP - 06th enqueue argument

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

SHNUMBER - 07th enqueue argument

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

VEH_NR - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_E_OIGSVC 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_mode_v_oigsvc  TYPE ENQMODE, "   'E'
lv_tpu_nr  TYPE V_OIGSVC-TPU_NR, "   
lv_x_tu_number  TYPE V_OIGSVC, "   SPACE
lv_x_lddate  TYPE V_OIGSVC, "   SPACE
lv_x_ldtime  TYPE V_OIGSVC, "   SPACE
lv_x_shift  TYPE V_OIGSVC, "   SPACE
lv_x_trip  TYPE V_OIGSVC, "   SPACE
lv_x_shnumber  TYPE V_OIGSVC, "   SPACE
lv_x_veh_nr  TYPE V_OIGSVC, "   SPACE
lv_x_tpu_nr  TYPE V_OIGSVC, "   SPACE
lv__scope  TYPE V_OIGSVC, "   '3'
lv_client  TYPE V_OIGSVC-CLIENT, "   SY-MANDT
lv__synchron  TYPE V_OIGSVC, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_tu_number  TYPE V_OIGSVC-TU_NUMBER, "   
lv_lddate  TYPE V_OIGSVC-LDDATE, "   
lv_ldtime  TYPE V_OIGSVC-LDTIME, "   
lv_shift  TYPE V_OIGSVC-SHIFT, "   
lv_trip  TYPE V_OIGSVC-TRIP, "   
lv_shnumber  TYPE V_OIGSVC-SHNUMBER, "   
lv_veh_nr  TYPE V_OIGSVC-VEH_NR. "   

  CALL FUNCTION 'DEQUEUE_E_OIGSVC'  "Release lock on object E_OIGSVC
    EXPORTING
         MODE_V_OIGSVC = lv_mode_v_oigsvc
         TPU_NR = lv_tpu_nr
         X_TU_NUMBER = lv_x_tu_number
         X_LDDATE = lv_x_lddate
         X_LDTIME = lv_x_ldtime
         X_SHIFT = lv_x_shift
         X_TRIP = lv_x_trip
         X_SHNUMBER = lv_x_shnumber
         X_VEH_NR = lv_x_veh_nr
         X_TPU_NR = lv_x_tpu_nr
         _SCOPE = lv__scope
         CLIENT = lv_client
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         TU_NUMBER = lv_tu_number
         LDDATE = lv_lddate
         LDTIME = lv_ldtime
         SHIFT = lv_shift
         TRIP = lv_trip
         SHNUMBER = lv_shnumber
         VEH_NR = lv_veh_nr
. " DEQUEUE_E_OIGSVC




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_E_OIGSVC

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.

DATA(ld_mode_v_oigsvc) = 'E'.
 
"SELECT single TPU_NR FROM V_OIGSVC INTO @DATA(ld_tpu_nr).
 
DATA(ld_x_tu_number) = ' '.
 
DATA(ld_x_lddate) = ' '.
 
DATA(ld_x_ldtime) = ' '.
 
DATA(ld_x_shift) = ' '.
 
DATA(ld_x_trip) = ' '.
 
DATA(ld_x_shnumber) = ' '.
 
DATA(ld_x_veh_nr) = ' '.
 
DATA(ld_x_tpu_nr) = ' '.
 
DATA(ld__scope) = '3'.
 
"SELECT single CLIENT FROM V_OIGSVC INTO @DATA(ld_client).
DATA(ld_client) = SY-MANDT.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single TU_NUMBER FROM V_OIGSVC INTO @DATA(ld_tu_number).
 
"SELECT single LDDATE FROM V_OIGSVC INTO @DATA(ld_lddate).
 
"SELECT single LDTIME FROM V_OIGSVC INTO @DATA(ld_ldtime).
 
"SELECT single SHIFT FROM V_OIGSVC INTO @DATA(ld_shift).
 
"SELECT single TRIP FROM V_OIGSVC INTO @DATA(ld_trip).
 
"SELECT single SHNUMBER FROM V_OIGSVC INTO @DATA(ld_shnumber).
 
"SELECT single VEH_NR FROM V_OIGSVC INTO @DATA(ld_veh_nr).
 


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!