DEQUEUE_ESREVISION is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name DEQUEUE_ESREVISION into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
DWBEN/SAPLIEN0000
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'DEQUEUE_ESREVISION' "Release lock on object ESREVISION
* EXPORTING
* mode_t352r = 'E' " enqmode Lock mode for table T352R
* mandt = SY-MANDT " t352r-mandt 01th enqueue argument
* iwerk = " t352r-iwerk 02th enqueue argument
* revnr = " t352r-revnr 03th enqueue argument
* x_iwerk = SPACE " ddenqxpar Fill argument 02 with initial value?
* x_revnr = SPACE " ddenqxpar Fill argument 03 with initial value?
* _scope = '3' " ddenqscope
* _synchron = SPACE " ddenqsync Synchonous unlock
* _collect = ' ' " ddenqcoll Initially only collect lock
. " DEQUEUE_ESREVISION
The ABAP code below is a full code listing to execute function module DEQUEUE_ESREVISION including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
DATA(ld_mode_t352r) = 'Check type of data required'.
SELECT single MANDT
FROM T352R
INTO @DATA(ld_mandt).
SELECT single IWERK
FROM T352R
INTO @DATA(ld_iwerk).
SELECT single REVNR
FROM T352R
INTO @DATA(ld_revnr).
DATA(ld_x_iwerk) = 'Check type of data required'.
DATA(ld_x_revnr) = 'Check type of data required'.
DATA(ld__scope) = 'Check type of data required'.
DATA(ld__synchron) = 'some text here'.
DATA(ld__collect) = 'some text here'. . CALL FUNCTION 'DEQUEUE_ESREVISION' * EXPORTING * mode_t352r = ld_mode_t352r * mandt = ld_mandt * iwerk = ld_iwerk * revnr = ld_revnr * x_iwerk = ld_x_iwerk * x_revnr = ld_x_revnr * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_ESREVISION
IF SY-SUBRC EQ 0. "All OK ENDIF.
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_mode_t352r | TYPE ENQMODE , |
| ld_mandt | TYPE T352R-MANDT , |
| ld_iwerk | TYPE T352R-IWERK , |
| ld_revnr | TYPE T352R-REVNR , |
| ld_x_iwerk | TYPE DDENQXPAR , |
| ld_x_revnr | TYPE DDENQXPAR , |
| ld__scope | TYPE DDENQSCOPE , |
| ld__synchron | TYPE DDENQSYNC , |
| ld__collect | TYPE DDENQCOLL . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name DEQUEUE_ESREVISION or its description.
DEQUEUE_ESREVISION - Release lock on object ESREVISION DEQUEUE_ESRETCLCRWL - Release lock on object ESRETCLCRWL DEQUEUE_ESRETCLASS - Release lock on object ESRETCLASS DEQUEUE_ESRDIRX_KW - Release lock on object ESRDIRX_KW DEQUEUE_ESRDIRX_DOCU - Release lock on object ESRDIRX_DOCU DEQUEUE_ESRDIRX - Release lock on object ESRDIRX