SAP Function Modules

DEQUEUE_E_IACHTMLL SAP Function module - Release lock on object E_IACHTMLL







DEQUEUE_E_IACHTMLL 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_E_IACHTMLL into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: DWBEN/SAPLSEN0000
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM DEQUEUE_E_IACHTMLL - DEQUEUE E IACHTMLL





CALL FUNCTION 'DEQUEUE_E_IACHTMLL' "Release lock on object E_IACHTMLL
* EXPORTING
*   mode_iachtmll = 'X'         " enqmode       Lock mode for table IACHTMLL
*   relid =                     " iachtmll-relid  01th enqueue argument
*   service =                   " iachtmll-service  02th enqueue argument
*   theme =                     " iachtmll-theme  03th enqueue argument
*   dynpro =                    " iachtmll-dynpro  04th enqueue argument
*   modulpool =                 " iachtmll-modulpool  05th enqueue argument
*   langu =                     " iachtmll-langu  06th enqueue argument
*   srtf2 =                     " iachtmll-srtf2  07th enqueue argument
*   x_relid = SPACE             "               Fill argument 01 with initial value?
*   x_service = SPACE           "               Fill argument 02 with initial value?
*   x_theme = SPACE             "               Fill argument 03 with initial value?
*   x_dynpro = SPACE            "               Fill argument 04 with initial value?
*   x_modulpool = SPACE         "               Fill argument 05 with initial value?
*   x_langu = SPACE             "               Fill argument 06 with initial value?
*   x_srtf2 = SPACE             "               Fill argument 07 with initial value?
*   _scope = '3'                "
*   _synchron = SPACE           "               Synchonous unlock
*   _collect = ' '              " ddenqcoll     Initially only collect lock
    .  "  DEQUEUE_E_IACHTMLL

ABAP code example for Function Module DEQUEUE_E_IACHTMLL





The ABAP code below is a full code listing to execute function module DEQUEUE_E_IACHTMLL 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_iachtmll) = 'Check type of data required'.

SELECT single RELID
FROM IACHTMLL
INTO @DATA(ld_relid).


SELECT single SERVICE
FROM IACHTMLL
INTO @DATA(ld_service).


SELECT single THEME
FROM IACHTMLL
INTO @DATA(ld_theme).


SELECT single DYNPRO
FROM IACHTMLL
INTO @DATA(ld_dynpro).


SELECT single MODULPOOL
FROM IACHTMLL
INTO @DATA(ld_modulpool).


SELECT single LANGU
FROM IACHTMLL
INTO @DATA(ld_langu).


SELECT single SRTF2
FROM IACHTMLL
INTO @DATA(ld_srtf2).

DATA(ld_x_relid) = 'some text here'.
DATA(ld_x_service) = 'some text here'.
DATA(ld_x_theme) = 'some text here'.
DATA(ld_x_dynpro) = 'some text here'.
DATA(ld_x_modulpool) = 'some text here'.
DATA(ld_x_langu) = 'some text here'.
DATA(ld_x_srtf2) = 'some text here'.
DATA(ld__scope) = 'some text here'.
DATA(ld__synchron) = 'some text here'.
DATA(ld__collect) = 'Check type of data required'. . CALL FUNCTION 'DEQUEUE_E_IACHTMLL' * EXPORTING * mode_iachtmll = ld_mode_iachtmll * relid = ld_relid * service = ld_service * theme = ld_theme * dynpro = ld_dynpro * modulpool = ld_modulpool * langu = ld_langu * srtf2 = ld_srtf2 * x_relid = ld_x_relid * x_service = ld_x_service * x_theme = ld_x_theme * x_dynpro = ld_x_dynpro * x_modulpool = ld_x_modulpool * x_langu = ld_x_langu * x_srtf2 = ld_x_srtf2 * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_E_IACHTMLL
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_iachtmll  TYPE ENQMODE ,
ld_relid  TYPE IACHTMLL-RELID ,
ld_service  TYPE IACHTMLL-SERVICE ,
ld_theme  TYPE IACHTMLL-THEME ,
ld_dynpro  TYPE IACHTMLL-DYNPRO ,
ld_modulpool  TYPE IACHTMLL-MODULPOOL ,
ld_langu  TYPE IACHTMLL-LANGU ,
ld_srtf2  TYPE IACHTMLL-SRTF2 ,
ld_x_relid  TYPE STRING ,
ld_x_service  TYPE STRING ,
ld_x_theme  TYPE STRING ,
ld_x_dynpro  TYPE STRING ,
ld_x_modulpool  TYPE STRING ,
ld_x_langu  TYPE STRING ,
ld_x_srtf2  TYPE STRING ,
ld__scope  TYPE STRING ,
ld__synchron  TYPE STRING ,
ld__collect  TYPE DDENQCOLL .

ld_mode_iachtmll = 'Check type of data required'.

SELECT single RELID
FROM IACHTMLL
INTO ld_relid.


SELECT single SERVICE
FROM IACHTMLL
INTO ld_service.


SELECT single THEME
FROM IACHTMLL
INTO ld_theme.


SELECT single DYNPRO
FROM IACHTMLL
INTO ld_dynpro.


SELECT single MODULPOOL
FROM IACHTMLL
INTO ld_modulpool.


SELECT single LANGU
FROM IACHTMLL
INTO ld_langu.


SELECT single SRTF2
FROM IACHTMLL
INTO ld_srtf2.

ld_x_relid = 'some text here'.
ld_x_service = 'some text here'.
ld_x_theme = 'some text here'.
ld_x_dynpro = 'some text here'.
ld_x_modulpool = 'some text here'.
ld_x_langu = 'some text here'.
ld_x_srtf2 = 'some text here'.
ld__scope = 'some text here'.
ld__synchron = 'some text here'.
ld__collect = 'Check type of data required'.

Contribute (Add Comments)

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_E_IACHTMLL or its description.