SAP DEQUEUE_EJLHDEXTINTERF Function Module for Release lock on object EJLHDEXTINTERF









DEQUEUE_EJLHDEXTINTERF is a standard dequeue ejlhdextinterf 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 EJLHDEXTINTERF 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 ejlhdextinterf FM, simply by entering the name DEQUEUE_EJLHDEXTINTERF into the relevant SAP transaction such as SE37 or SE38.

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



Function DEQUEUE_EJLHDEXTINTERF 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_EJLHDEXTINTERF'"Release lock on object EJLHDEXTINTERF
EXPORTING
* MODE_JLHDEXTINTERFACEKEY = 'E' "Lock mode for table JLHDEXTINTERFACEKEY
* DISTR_CHAN = "09th enqueue argument
* DIVISION = "10th enqueue argument
* X_EIF_NUMBER = ' ' "Fill argument 02 with initial value?
* X_SHIPPING_DATE = ' ' "Fill argument 03 with initial value?
* X_CARRIER_ROUTE = ' ' "Fill argument 04 with initial value?
* X_DELIVERY_ROUND = ' ' "Fill argument 05 with initial value?
* X_DELIVERY_TYPE = ' ' "Fill argument 06 with initial value?
* X_MATERIAL = ' ' "Fill argument 07 with initial value?
* X_SALESORG = ' ' "Fill argument 08 with initial value?
* X_DISTR_CHAN = ' ' "Fill argument 09 with initial value?
* MANDT = SY-MANDT "01th enqueue argument
* X_DIVISION = ' ' "Fill argument 10 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* EIF_NUMBER = "02th enqueue argument
* SHIPPING_DATE = "03th enqueue argument
* CARRIER_ROUTE = "04th enqueue argument
* DELIVERY_ROUND = "05th enqueue argument
* DELIVERY_TYPE = "06th enqueue argument
* MATERIAL = "07th enqueue argument
* SALESORG = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_EJLHDEXTINTERF

MODE_JLHDEXTINTERFACEKEY - Lock mode for table JLHDEXTINTERFACEKEY

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

DISTR_CHAN - 09th enqueue argument

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

DIVISION - 10th enqueue argument

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

X_EIF_NUMBER - Fill argument 02 with initial value?

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

X_SHIPPING_DATE - Fill argument 03 with initial value?

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

X_CARRIER_ROUTE - Fill argument 04 with initial value?

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

X_DELIVERY_ROUND - Fill argument 05 with initial value?

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

X_DELIVERY_TYPE - Fill argument 06 with initial value?

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

X_MATERIAL - Fill argument 07 with initial value?

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

X_SALESORG - Fill argument 08 with initial value?

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

X_DISTR_CHAN - Fill argument 09 with initial value?

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

MANDT - 01th enqueue argument

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

X_DIVISION - Fill argument 10 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)

EIF_NUMBER - 02th enqueue argument

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

SHIPPING_DATE - 03th enqueue argument

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

CARRIER_ROUTE - 04th enqueue argument

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

DELIVERY_ROUND - 05th enqueue argument

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

DELIVERY_TYPE - 06th enqueue argument

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

MATERIAL - 07th enqueue argument

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

SALESORG - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_EJLHDEXTINTERF 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_jlhdextinterfacekey  TYPE ENQMODE, "   'E'
lv_distr_chan  TYPE JLHDEXTINTERFACEKEY-DISTR_CHAN, "   
lv_division  TYPE JLHDEXTINTERFACEKEY-DIVISION, "   
lv_x_eif_number  TYPE JLHDEXTINTERFACEKEY, "   SPACE
lv_x_shipping_date  TYPE JLHDEXTINTERFACEKEY, "   SPACE
lv_x_carrier_route  TYPE JLHDEXTINTERFACEKEY, "   SPACE
lv_x_delivery_round  TYPE JLHDEXTINTERFACEKEY, "   SPACE
lv_x_delivery_type  TYPE JLHDEXTINTERFACEKEY, "   SPACE
lv_x_material  TYPE JLHDEXTINTERFACEKEY, "   SPACE
lv_x_salesorg  TYPE JLHDEXTINTERFACEKEY, "   SPACE
lv_x_distr_chan  TYPE JLHDEXTINTERFACEKEY, "   SPACE
lv_mandt  TYPE JLHDEXTINTERFACEKEY-MANDT, "   SY-MANDT
lv_x_division  TYPE JLHDEXTINTERFACEKEY, "   SPACE
lv__scope  TYPE JLHDEXTINTERFACEKEY, "   '3'
lv__synchron  TYPE JLHDEXTINTERFACEKEY, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_eif_number  TYPE JLHDEXTINTERFACEKEY-EIF_NUMBER, "   
lv_shipping_date  TYPE JLHDEXTINTERFACEKEY-SHIPPING_DATE, "   
lv_carrier_route  TYPE JLHDEXTINTERFACEKEY-CARRIER_ROUTE, "   
lv_delivery_round  TYPE JLHDEXTINTERFACEKEY-DELIVERY_ROUND, "   
lv_delivery_type  TYPE JLHDEXTINTERFACEKEY-DELIVERY_TYPE, "   
lv_material  TYPE JLHDEXTINTERFACEKEY-MATERIAL, "   
lv_salesorg  TYPE JLHDEXTINTERFACEKEY-SALESORG. "   

  CALL FUNCTION 'DEQUEUE_EJLHDEXTINTERF'  "Release lock on object EJLHDEXTINTERF
    EXPORTING
         MODE_JLHDEXTINTERFACEKEY = lv_mode_jlhdextinterfacekey
         DISTR_CHAN = lv_distr_chan
         DIVISION = lv_division
         X_EIF_NUMBER = lv_x_eif_number
         X_SHIPPING_DATE = lv_x_shipping_date
         X_CARRIER_ROUTE = lv_x_carrier_route
         X_DELIVERY_ROUND = lv_x_delivery_round
         X_DELIVERY_TYPE = lv_x_delivery_type
         X_MATERIAL = lv_x_material
         X_SALESORG = lv_x_salesorg
         X_DISTR_CHAN = lv_x_distr_chan
         MANDT = lv_mandt
         X_DIVISION = lv_x_division
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         EIF_NUMBER = lv_eif_number
         SHIPPING_DATE = lv_shipping_date
         CARRIER_ROUTE = lv_carrier_route
         DELIVERY_ROUND = lv_delivery_round
         DELIVERY_TYPE = lv_delivery_type
         MATERIAL = lv_material
         SALESORG = lv_salesorg
. " DEQUEUE_EJLHDEXTINTERF




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EJLHDEXTINTERF

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_jlhdextinterfacekey) = 'E'.
 
"SELECT single DISTR_CHAN FROM JLHDEXTINTERFACEKEY INTO @DATA(ld_distr_chan).
 
"SELECT single DIVISION FROM JLHDEXTINTERFACEKEY INTO @DATA(ld_division).
 
DATA(ld_x_eif_number) = ' '.
 
DATA(ld_x_shipping_date) = ' '.
 
DATA(ld_x_carrier_route) = ' '.
 
DATA(ld_x_delivery_round) = ' '.
 
DATA(ld_x_delivery_type) = ' '.
 
DATA(ld_x_material) = ' '.
 
DATA(ld_x_salesorg) = ' '.
 
DATA(ld_x_distr_chan) = ' '.
 
"SELECT single MANDT FROM JLHDEXTINTERFACEKEY INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
DATA(ld_x_division) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single EIF_NUMBER FROM JLHDEXTINTERFACEKEY INTO @DATA(ld_eif_number).
 
"SELECT single SHIPPING_DATE FROM JLHDEXTINTERFACEKEY INTO @DATA(ld_shipping_date).
 
"SELECT single CARRIER_ROUTE FROM JLHDEXTINTERFACEKEY INTO @DATA(ld_carrier_route).
 
"SELECT single DELIVERY_ROUND FROM JLHDEXTINTERFACEKEY INTO @DATA(ld_delivery_round).
 
"SELECT single DELIVERY_TYPE FROM JLHDEXTINTERFACEKEY INTO @DATA(ld_delivery_type).
 
"SELECT single MATERIAL FROM JLHDEXTINTERFACEKEY INTO @DATA(ld_material).
 
"SELECT single SALESORG FROM JLHDEXTINTERFACEKEY INTO @DATA(ld_salesorg).
 


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!