SAP DEQUEUE_ETPMVERSION Function Module for Release lock on object ETPMVERSION









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

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



Function DEQUEUE_ETPMVERSION 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_ETPMVERSION'"Release lock on object ETPMVERSION
EXPORTING
* MODE_TPM_VERSION = 'E' "Lock mode for table TPM_VERSION
* X_VERSION = ' ' "Fill argument 01 with initial value?
* X_TARGETLANG = ' ' "Fill argument 02 with initial value?
* X_TRANSLATOR = ' ' "Fill argument 03 with initial value?
* X_COLLNAME = ' ' "Fill argument 04 with initial value?
* X_COLLTYPE = ' ' "Fill argument 05 with initial value?
* X_OBJTYPE = ' ' "Fill argument 06 with initial value?
* X_SOURCELANG = ' ' "Fill argument 07 with initial value?
* X_OBJCOUNTER = ' ' "Fill argument 08 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* VERSION = "01th enqueue argument
* _COLLECT = ' ' "Initially only collect lock
* TARGETLANG = "02th enqueue argument
* TRANSLATOR = "03th enqueue argument
* COLLNAME = "04th enqueue argument
* COLLTYPE = "05th enqueue argument
* OBJTYPE = "06th enqueue argument
* SOURCELANG = "07th enqueue argument
* OBJCOUNTER = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_ETPMVERSION

MODE_TPM_VERSION - Lock mode for table TPM_VERSION

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

X_VERSION - Fill argument 01 with initial value?

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

X_TARGETLANG - Fill argument 02 with initial value?

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

X_TRANSLATOR - Fill argument 03 with initial value?

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

X_COLLNAME - Fill argument 04 with initial value?

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

X_COLLTYPE - Fill argument 05 with initial value?

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

X_OBJTYPE - Fill argument 06 with initial value?

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

X_SOURCELANG - Fill argument 07 with initial value?

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

X_OBJCOUNTER - Fill argument 08 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)

VERSION - 01th enqueue argument

Data type: TPM_VERSION-VERSION
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)

TARGETLANG - 02th enqueue argument

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

TRANSLATOR - 03th enqueue argument

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

COLLNAME - 04th enqueue argument

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

COLLTYPE - 05th enqueue argument

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

OBJTYPE - 06th enqueue argument

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

SOURCELANG - 07th enqueue argument

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

OBJCOUNTER - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_ETPMVERSION 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_tpm_version  TYPE ENQMODE, "   'E'
lv_x_version  TYPE ENQMODE, "   SPACE
lv_x_targetlang  TYPE ENQMODE, "   SPACE
lv_x_translator  TYPE ENQMODE, "   SPACE
lv_x_collname  TYPE ENQMODE, "   SPACE
lv_x_colltype  TYPE ENQMODE, "   SPACE
lv_x_objtype  TYPE ENQMODE, "   SPACE
lv_x_sourcelang  TYPE ENQMODE, "   SPACE
lv_x_objcounter  TYPE ENQMODE, "   SPACE
lv__scope  TYPE ENQMODE, "   '3'
lv__synchron  TYPE ENQMODE, "   SPACE
lv_version  TYPE TPM_VERSION-VERSION, "   
lv__collect  TYPE DDENQCOLL, "   ' '
lv_targetlang  TYPE TPM_VERSION-TARGETLANG, "   
lv_translator  TYPE TPM_VERSION-TRANSLATOR, "   
lv_collname  TYPE TPM_VERSION-COLLNAME, "   
lv_colltype  TYPE TPM_VERSION-COLLTYPE, "   
lv_objtype  TYPE TPM_VERSION-OBJTYPE, "   
lv_sourcelang  TYPE TPM_VERSION-SOURCELANG, "   
lv_objcounter  TYPE TPM_VERSION-OBJCOUNTER. "   

  CALL FUNCTION 'DEQUEUE_ETPMVERSION'  "Release lock on object ETPMVERSION
    EXPORTING
         MODE_TPM_VERSION = lv_mode_tpm_version
         X_VERSION = lv_x_version
         X_TARGETLANG = lv_x_targetlang
         X_TRANSLATOR = lv_x_translator
         X_COLLNAME = lv_x_collname
         X_COLLTYPE = lv_x_colltype
         X_OBJTYPE = lv_x_objtype
         X_SOURCELANG = lv_x_sourcelang
         X_OBJCOUNTER = lv_x_objcounter
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         VERSION = lv_version
         _COLLECT = lv__collect
         TARGETLANG = lv_targetlang
         TRANSLATOR = lv_translator
         COLLNAME = lv_collname
         COLLTYPE = lv_colltype
         OBJTYPE = lv_objtype
         SOURCELANG = lv_sourcelang
         OBJCOUNTER = lv_objcounter
. " DEQUEUE_ETPMVERSION




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_ETPMVERSION

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_tpm_version) = 'E'.
 
DATA(ld_x_version) = ' '.
 
DATA(ld_x_targetlang) = ' '.
 
DATA(ld_x_translator) = ' '.
 
DATA(ld_x_collname) = ' '.
 
DATA(ld_x_colltype) = ' '.
 
DATA(ld_x_objtype) = ' '.
 
DATA(ld_x_sourcelang) = ' '.
 
DATA(ld_x_objcounter) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
"SELECT single VERSION FROM TPM_VERSION INTO @DATA(ld_version).
 
DATA(ld__collect) = ' '.
 
"SELECT single TARGETLANG FROM TPM_VERSION INTO @DATA(ld_targetlang).
 
"SELECT single TRANSLATOR FROM TPM_VERSION INTO @DATA(ld_translator).
 
"SELECT single COLLNAME FROM TPM_VERSION INTO @DATA(ld_collname).
 
"SELECT single COLLTYPE FROM TPM_VERSION INTO @DATA(ld_colltype).
 
"SELECT single OBJTYPE FROM TPM_VERSION INTO @DATA(ld_objtype).
 
"SELECT single SOURCELANG FROM TPM_VERSION INTO @DATA(ld_sourcelang).
 
"SELECT single OBJCOUNTER FROM TPM_VERSION INTO @DATA(ld_objcounter).
 


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!