SAP DEQUEUE_EFARR_INB_ITEM Function Module for Release lock on object EFARR_INB_ITEM









DEQUEUE_EFARR_INB_ITEM is a standard dequeue efarr inb item 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 EFARR_INB_ITEM 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 efarr inb item FM, simply by entering the name DEQUEUE_EFARR_INB_ITEM into the relevant SAP transaction such as SE37 or SE38.

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



Function DEQUEUE_EFARR_INB_ITEM 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_EFARR_INB_ITEM'"Release lock on object EFARR_INB_ITEM
EXPORTING
* MODE_FARR_S_INB_ITEM_ENQUEUE = 'E' "Lock mode for table FARR_S_INB_ITEM_ENQUEUE
* X_SRCDOC_COMP = ' ' "Fill argument 03 with initial value?
* X_SRCDOC_LOGSYS = ' ' "Fill argument 04 with initial value?
* X_SRCDOC_TYPE = ' ' "Fill argument 05 with initial value?
* X_SRCDOC_ID = ' ' "Fill argument 06 with initial value?
* X_TIMESTAMP_UTC = ' ' "Fill argument 07 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MANDT = SY-MANDT "Enqueue argument 01
* RAI_TYPE = "Enqueue argument 02
* SRCDOC_COMP = "Enqueue argument 03
* SRCDOC_LOGSYS = "Enqueue argument 04
* SRCDOC_TYPE = "Enqueue argument 05
* SRCDOC_ID = "Enqueue argument 06
* TIMESTAMP_UTC = "Enqueue argument 07
* X_RAI_TYPE = ' ' "Fill argument 02 with initial value?
.



IMPORTING Parameters details for DEQUEUE_EFARR_INB_ITEM

MODE_FARR_S_INB_ITEM_ENQUEUE - Lock mode for table FARR_S_INB_ITEM_ENQUEUE

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

X_SRCDOC_COMP - Fill argument 03 with initial value?

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

X_SRCDOC_LOGSYS - Fill argument 04 with initial value?

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

X_SRCDOC_TYPE - Fill argument 05 with initial value?

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

X_SRCDOC_ID - Fill argument 06 with initial value?

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

X_TIMESTAMP_UTC - Fill argument 07 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)

_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)

MANDT - Enqueue argument 01

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

RAI_TYPE - Enqueue argument 02

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

SRCDOC_COMP - Enqueue argument 03

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

SRCDOC_LOGSYS - Enqueue argument 04

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

SRCDOC_TYPE - Enqueue argument 05

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

SRCDOC_ID - Enqueue argument 06

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

TIMESTAMP_UTC - Enqueue argument 07

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

X_RAI_TYPE - Fill argument 02 with initial value?

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

Copy and paste ABAP code example for DEQUEUE_EFARR_INB_ITEM 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_farr_s_inb_item_enqueue  TYPE ENQMODE, "   'E'
lv_x_srcdoc_comp  TYPE ENQMODE, "   SPACE
lv_x_srcdoc_logsys  TYPE ENQMODE, "   SPACE
lv_x_srcdoc_type  TYPE ENQMODE, "   SPACE
lv_x_srcdoc_id  TYPE ENQMODE, "   SPACE
lv_x_timestamp_utc  TYPE ENQMODE, "   SPACE
lv__scope  TYPE ENQMODE, "   '3'
lv__synchron  TYPE ENQMODE, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_mandt  TYPE FARR_S_INB_ITEM_ENQUEUE-MANDT, "   SY-MANDT
lv_rai_type  TYPE FARR_S_INB_ITEM_ENQUEUE-RAI_TYPE, "   
lv_srcdoc_comp  TYPE FARR_S_INB_ITEM_ENQUEUE-SRCDOC_COMP, "   
lv_srcdoc_logsys  TYPE FARR_S_INB_ITEM_ENQUEUE-SRCDOC_LOGSYS, "   
lv_srcdoc_type  TYPE FARR_S_INB_ITEM_ENQUEUE-SRCDOC_TYPE, "   
lv_srcdoc_id  TYPE FARR_S_INB_ITEM_ENQUEUE-SRCDOC_ID, "   
lv_timestamp_utc  TYPE FARR_S_INB_ITEM_ENQUEUE-TIMESTAMP_UTC, "   
lv_x_rai_type  TYPE FARR_S_INB_ITEM_ENQUEUE. "   SPACE

  CALL FUNCTION 'DEQUEUE_EFARR_INB_ITEM'  "Release lock on object EFARR_INB_ITEM
    EXPORTING
         MODE_FARR_S_INB_ITEM_ENQUEUE = lv_mode_farr_s_inb_item_enqueue
         X_SRCDOC_COMP = lv_x_srcdoc_comp
         X_SRCDOC_LOGSYS = lv_x_srcdoc_logsys
         X_SRCDOC_TYPE = lv_x_srcdoc_type
         X_SRCDOC_ID = lv_x_srcdoc_id
         X_TIMESTAMP_UTC = lv_x_timestamp_utc
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         MANDT = lv_mandt
         RAI_TYPE = lv_rai_type
         SRCDOC_COMP = lv_srcdoc_comp
         SRCDOC_LOGSYS = lv_srcdoc_logsys
         SRCDOC_TYPE = lv_srcdoc_type
         SRCDOC_ID = lv_srcdoc_id
         TIMESTAMP_UTC = lv_timestamp_utc
         X_RAI_TYPE = lv_x_rai_type
. " DEQUEUE_EFARR_INB_ITEM




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EFARR_INB_ITEM

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_farr_s_inb_item_enqueue) = 'E'.
 
DATA(ld_x_srcdoc_comp) = ' '.
 
DATA(ld_x_srcdoc_logsys) = ' '.
 
DATA(ld_x_srcdoc_type) = ' '.
 
DATA(ld_x_srcdoc_id) = ' '.
 
DATA(ld_x_timestamp_utc) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single MANDT FROM FARR_S_INB_ITEM_ENQUEUE INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
"SELECT single RAI_TYPE FROM FARR_S_INB_ITEM_ENQUEUE INTO @DATA(ld_rai_type).
 
"SELECT single SRCDOC_COMP FROM FARR_S_INB_ITEM_ENQUEUE INTO @DATA(ld_srcdoc_comp).
 
"SELECT single SRCDOC_LOGSYS FROM FARR_S_INB_ITEM_ENQUEUE INTO @DATA(ld_srcdoc_logsys).
 
"SELECT single SRCDOC_TYPE FROM FARR_S_INB_ITEM_ENQUEUE INTO @DATA(ld_srcdoc_type).
 
"SELECT single SRCDOC_ID FROM FARR_S_INB_ITEM_ENQUEUE INTO @DATA(ld_srcdoc_id).
 
"SELECT single TIMESTAMP_UTC FROM FARR_S_INB_ITEM_ENQUEUE INTO @DATA(ld_timestamp_utc).
 
DATA(ld_x_rai_type) = ' '.
 


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!