SAP DEQUEUE_/PRA/E_PN_SET Function Module for Release lock on object /PRA/E_PN_SET









DEQUEUE_/PRA/E_PN_SET is a standard dequeue /pra/e pn set 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 /PRA/E_PN_SET 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 /pra/e pn set FM, simply by entering the name DEQUEUE_/PRA/E_PN_SET into the relevant SAP transaction such as SE37 or SE38.

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



Function DEQUEUE_/PRA/E_PN_SET 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_/PRA/E_PN_SET'"Release lock on object /PRA/E_PN_SET
EXPORTING
* MODE_/PRA/S_PN_SET_BKEY = 'E' "Lock mode for table /PRA/S_PN_SET_BKEY
* CT_NO = "09th enqueue argument
* WL_NO = "10th enqueue argument
* WC_NO = "11th enqueue argument
* MP_NO = "12th enqueue argument
* X_SET_AREA = ' ' "Fill argument 01 with initial value?
* X_DN_NO = ' ' "Fill argument 02 with initial value?
* X_PRCS_DT = ' ' "Fill argument 03 with initial value?
* X_FREQ_CD = ' ' "Fill argument 04 with initial value?
* X_MAJPD_CD = ' ' "Fill argument 05 with initial value?
* X_BUKRS = ' ' "Fill argument 06 with initial value?
* SET_AREA = "01th enqueue argument
* X_VNAME = ' ' "Fill argument 07 with initial value?
* X_DOI_NO = ' ' "Fill argument 08 with initial value?
* X_CT_NO = ' ' "Fill argument 09 with initial value?
* X_WL_NO = ' ' "Fill argument 10 with initial value?
* X_WC_NO = ' ' "Fill argument 11 with initial value?
* X_MP_NO = ' ' "Fill argument 12 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* DN_NO = "02th enqueue argument
* PRCS_DT = "03th enqueue argument
* FREQ_CD = "04th enqueue argument
* MAJPD_CD = "05th enqueue argument
* BUKRS = "06th enqueue argument
* VNAME = "07th enqueue argument
* DOI_NO = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_/PRA/E_PN_SET

MODE_/PRA/S_PN_SET_BKEY - Lock mode for table /PRA/S_PN_SET_BKEY

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

CT_NO - 09th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-CT_NO
Optional: Yes
Call by Reference: No ( called with pass by value option)

WL_NO - 10th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-WL_NO
Optional: Yes
Call by Reference: No ( called with pass by value option)

WC_NO - 11th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-WC_NO
Optional: Yes
Call by Reference: No ( called with pass by value option)

MP_NO - 12th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-MP_NO
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_SET_AREA - Fill argument 01 with initial value?

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

X_DN_NO - Fill argument 02 with initial value?

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

X_PRCS_DT - Fill argument 03 with initial value?

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

X_FREQ_CD - Fill argument 04 with initial value?

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

X_MAJPD_CD - Fill argument 05 with initial value?

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

X_BUKRS - Fill argument 06 with initial value?

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

SET_AREA - 01th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-SET_AREA
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_VNAME - Fill argument 07 with initial value?

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

X_DOI_NO - Fill argument 08 with initial value?

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

X_CT_NO - Fill argument 09 with initial value?

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

X_WL_NO - Fill argument 10 with initial value?

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

X_WC_NO - Fill argument 11 with initial value?

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

X_MP_NO - Fill argument 12 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)

DN_NO - 02th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-DN_NO
Optional: Yes
Call by Reference: No ( called with pass by value option)

PRCS_DT - 03th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-PRCS_DT
Optional: Yes
Call by Reference: No ( called with pass by value option)

FREQ_CD - 04th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-FREQ_CD
Optional: Yes
Call by Reference: No ( called with pass by value option)

MAJPD_CD - 05th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-MAJPD_CD
Optional: Yes
Call by Reference: No ( called with pass by value option)

BUKRS - 06th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-BUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

VNAME - 07th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-VNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

DOI_NO - 08th enqueue argument

Data type: /PRA/S_PN_SET_BKEY-DOI_NO
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for DEQUEUE_/PRA/E_PN_SET 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_/pra/s_pn_set_bkey  TYPE ENQMODE, "   'E'
lv_ct_no  TYPE /PRA/S_PN_SET_BKEY-CT_NO, "   
lv_wl_no  TYPE /PRA/S_PN_SET_BKEY-WL_NO, "   
lv_wc_no  TYPE /PRA/S_PN_SET_BKEY-WC_NO, "   
lv_mp_no  TYPE /PRA/S_PN_SET_BKEY-MP_NO, "   
lv_x_set_area  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv_x_dn_no  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv_x_prcs_dt  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv_x_freq_cd  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv_x_majpd_cd  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv_x_bukrs  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv_set_area  TYPE /PRA/S_PN_SET_BKEY-SET_AREA, "   
lv_x_vname  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv_x_doi_no  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv_x_ct_no  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv_x_wl_no  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv_x_wc_no  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv_x_mp_no  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv__scope  TYPE /PRA/S_PN_SET_BKEY, "   '3'
lv__synchron  TYPE /PRA/S_PN_SET_BKEY, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_dn_no  TYPE /PRA/S_PN_SET_BKEY-DN_NO, "   
lv_prcs_dt  TYPE /PRA/S_PN_SET_BKEY-PRCS_DT, "   
lv_freq_cd  TYPE /PRA/S_PN_SET_BKEY-FREQ_CD, "   
lv_majpd_cd  TYPE /PRA/S_PN_SET_BKEY-MAJPD_CD, "   
lv_bukrs  TYPE /PRA/S_PN_SET_BKEY-BUKRS, "   
lv_vname  TYPE /PRA/S_PN_SET_BKEY-VNAME, "   
lv_doi_no  TYPE /PRA/S_PN_SET_BKEY-DOI_NO. "   

  CALL FUNCTION 'DEQUEUE_/PRA/E_PN_SET'  "Release lock on object /PRA/E_PN_SET
    EXPORTING
         MODE_/PRA/S_PN_SET_BKEY = lv_mode_/pra/s_pn_set_bkey
         CT_NO = lv_ct_no
         WL_NO = lv_wl_no
         WC_NO = lv_wc_no
         MP_NO = lv_mp_no
         X_SET_AREA = lv_x_set_area
         X_DN_NO = lv_x_dn_no
         X_PRCS_DT = lv_x_prcs_dt
         X_FREQ_CD = lv_x_freq_cd
         X_MAJPD_CD = lv_x_majpd_cd
         X_BUKRS = lv_x_bukrs
         SET_AREA = lv_set_area
         X_VNAME = lv_x_vname
         X_DOI_NO = lv_x_doi_no
         X_CT_NO = lv_x_ct_no
         X_WL_NO = lv_x_wl_no
         X_WC_NO = lv_x_wc_no
         X_MP_NO = lv_x_mp_no
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         DN_NO = lv_dn_no
         PRCS_DT = lv_prcs_dt
         FREQ_CD = lv_freq_cd
         MAJPD_CD = lv_majpd_cd
         BUKRS = lv_bukrs
         VNAME = lv_vname
         DOI_NO = lv_doi_no
. " DEQUEUE_/PRA/E_PN_SET




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_/PRA/E_PN_SET

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_/pra/s_pn_set_bkey) = 'E'.
 
"SELECT single CT_NO FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_ct_no).
 
"SELECT single WL_NO FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_wl_no).
 
"SELECT single WC_NO FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_wc_no).
 
"SELECT single MP_NO FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_mp_no).
 
DATA(ld_x_set_area) = ' '.
 
DATA(ld_x_dn_no) = ' '.
 
DATA(ld_x_prcs_dt) = ' '.
 
DATA(ld_x_freq_cd) = ' '.
 
DATA(ld_x_majpd_cd) = ' '.
 
DATA(ld_x_bukrs) = ' '.
 
"SELECT single SET_AREA FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_set_area).
 
DATA(ld_x_vname) = ' '.
 
DATA(ld_x_doi_no) = ' '.
 
DATA(ld_x_ct_no) = ' '.
 
DATA(ld_x_wl_no) = ' '.
 
DATA(ld_x_wc_no) = ' '.
 
DATA(ld_x_mp_no) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single DN_NO FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_dn_no).
 
"SELECT single PRCS_DT FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_prcs_dt).
 
"SELECT single FREQ_CD FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_freq_cd).
 
"SELECT single MAJPD_CD FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_majpd_cd).
 
"SELECT single BUKRS FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_bukrs).
 
"SELECT single VNAME FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_vname).
 
"SELECT single DOI_NO FROM /PRA/S_PN_SET_BKEY INTO @DATA(ld_doi_no).
 


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!