DEQUEUE_ETRMINTE 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_ETRMINTE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
DWBEN/SAPLSEN0004
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'DEQUEUE_ETRMINTE' "Release lock on object ETRMINTE
* EXPORTING
* mode_trmint = 'E' " enqmode Lock mode for table TRMINT
* slanguage = " trmint-slanguage 01th enqueue argument
* tlanguage = " trmint-tlanguage 02th enqueue argument
* shash = " trmint-shash 03th enqueue argument
* stabid = " trmint-stabid 04th enqueue argument
* shashcnfl = " trmint-shashcnfl 05th enqueue argument
* applic = " trmint-applic 06th enqueue argument
* nr = " trmint-nr 07th enqueue argument
* x_slanguage = SPACE " Fill argument 01 with initial value?
* x_tlanguage = SPACE " Fill argument 02 with initial value?
* x_shash = SPACE " Fill argument 03 with initial value?
* x_stabid = SPACE " Fill argument 04 with initial value?
* x_shashcnfl = SPACE " Fill argument 05 with initial value?
* x_applic = SPACE " Fill argument 06 with initial value?
* x_nr = SPACE " Fill argument 07 with initial value?
* _scope = '3' "
* _synchron = SPACE " Synchonous unlock
* _collect = ' ' " ddenqcoll Initially only collect lock
. " DEQUEUE_ETRMINTE
The ABAP code below is a full code listing to execute function module DEQUEUE_ETRMINTE 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_trmint) = 'Check type of data required'.
SELECT single SLANGUAGE
FROM TRMINT
INTO @DATA(ld_slanguage).
SELECT single TLANGUAGE
FROM TRMINT
INTO @DATA(ld_tlanguage).
SELECT single SHASH
FROM TRMINT
INTO @DATA(ld_shash).
SELECT single STABID
FROM TRMINT
INTO @DATA(ld_stabid).
SELECT single SHASHCNFL
FROM TRMINT
INTO @DATA(ld_shashcnfl).
SELECT single APPLIC
FROM TRMINT
INTO @DATA(ld_applic).
SELECT single NR
FROM TRMINT
INTO @DATA(ld_nr).
DATA(ld_x_slanguage) = 'some text here'.
DATA(ld_x_tlanguage) = 'some text here'.
DATA(ld_x_shash) = 'some text here'.
DATA(ld_x_stabid) = 'some text here'.
DATA(ld_x_shashcnfl) = 'some text here'.
DATA(ld_x_applic) = 'some text here'.
DATA(ld_x_nr) = '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_ETRMINTE' * EXPORTING * mode_trmint = ld_mode_trmint * slanguage = ld_slanguage * tlanguage = ld_tlanguage * shash = ld_shash * stabid = ld_stabid * shashcnfl = ld_shashcnfl * applic = ld_applic * nr = ld_nr * x_slanguage = ld_x_slanguage * x_tlanguage = ld_x_tlanguage * x_shash = ld_x_shash * x_stabid = ld_x_stabid * x_shashcnfl = ld_x_shashcnfl * x_applic = ld_x_applic * x_nr = ld_x_nr * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_ETRMINTE
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_trmint | TYPE ENQMODE , |
| ld_slanguage | TYPE TRMINT-SLANGUAGE , |
| ld_tlanguage | TYPE TRMINT-TLANGUAGE , |
| ld_shash | TYPE TRMINT-SHASH , |
| ld_stabid | TYPE TRMINT-STABID , |
| ld_shashcnfl | TYPE TRMINT-SHASHCNFL , |
| ld_applic | TYPE TRMINT-APPLIC , |
| ld_nr | TYPE TRMINT-NR , |
| ld_x_slanguage | TYPE STRING , |
| ld_x_tlanguage | TYPE STRING , |
| ld_x_shash | TYPE STRING , |
| ld_x_stabid | TYPE STRING , |
| ld_x_shashcnfl | TYPE STRING , |
| ld_x_applic | TYPE STRING , |
| ld_x_nr | TYPE STRING , |
| ld__scope | TYPE STRING , |
| ld__synchron | TYPE STRING , |
| 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_ETRMINTE or its description.
DEQUEUE_ETRMINTE - Release lock on object ETRMINTE DEQUEUE_ETREXPE - Release lock on object ETREXPE DEQUEUE_ETPTGSSCR - Release lock on object ETPTGSSCR DEQUEUE_ETPTGCSCR - Release lock on object ETPTGCSCR DEQUEUE_ETPROCESSES - Release lock on object ETPROCESSES DEQUEUE_ETPRI_PAR2 - Release lock on object ETPRI_PAR2