DEQUEUE_ELOGTRM_RDPHDR_E 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_ELOGTRM_RDPHDR_E into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
DWBEN/SAPLLEN0001
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'DEQUEUE_ELOGTRM_RDPHDR_E' "Release lock on object ELOGTRM_RDPHDR_E
* EXPORTING
* mode_logtrm_rdp_hdr = 'E' " enqmode Lock mode for table LOGTRM_RDP_HDR
* mode_logtrm_rdp_itm = 'E' " enqmode Lock mode for table LOGTRM_RDP_ITM
* mandt = SY-MANDT " logtrm_rdp_hdr-mandt 01th enqueue argument
* busobj = " logtrm_rdp_hdr-busobj 02th enqueue argument
* doc_id = " logtrm_rdp_hdr-doc_id 03th enqueue argument
* doc_item_id = " logtrm_rdp_hdr-doc_item_id 04th enqueue argument
* active = " logtrm_rdp_hdr-active 05th enqueue argument
* x_busobj = SPACE " Fill argument 02 with initial value?
* x_doc_id = SPACE " Fill argument 03 with initial value?
* x_doc_item_id = SPACE " Fill argument 04 with initial value?
* x_active = SPACE " Fill argument 05 with initial value?
* _scope = '3' "
* _synchron = SPACE " Synchonous unlock
* _collect = ' ' " ddenqcoll Initially only collect lock
. " DEQUEUE_ELOGTRM_RDPHDR_E
The ABAP code below is a full code listing to execute function module DEQUEUE_ELOGTRM_RDPHDR_E 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_logtrm_rdp_hdr) = 'Check type of data required'.
DATA(ld_mode_logtrm_rdp_itm) = 'Check type of data required'.
SELECT single MANDT
FROM LOGTRM_RDP_HDR
INTO @DATA(ld_mandt).
SELECT single BUSOBJ
FROM LOGTRM_RDP_HDR
INTO @DATA(ld_busobj).
SELECT single DOC_ID
FROM LOGTRM_RDP_HDR
INTO @DATA(ld_doc_id).
SELECT single DOC_ITEM_ID
FROM LOGTRM_RDP_HDR
INTO @DATA(ld_doc_item_id).
SELECT single ACTIVE
FROM LOGTRM_RDP_HDR
INTO @DATA(ld_active).
DATA(ld_x_busobj) = 'some text here'.
DATA(ld_x_doc_id) = 'some text here'.
DATA(ld_x_doc_item_id) = 'some text here'.
DATA(ld_x_active) = '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_ELOGTRM_RDPHDR_E' * EXPORTING * mode_logtrm_rdp_hdr = ld_mode_logtrm_rdp_hdr * mode_logtrm_rdp_itm = ld_mode_logtrm_rdp_itm * mandt = ld_mandt * busobj = ld_busobj * doc_id = ld_doc_id * doc_item_id = ld_doc_item_id * active = ld_active * x_busobj = ld_x_busobj * x_doc_id = ld_x_doc_id * x_doc_item_id = ld_x_doc_item_id * x_active = ld_x_active * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_ELOGTRM_RDPHDR_E
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_logtrm_rdp_hdr | TYPE ENQMODE , |
| ld_mode_logtrm_rdp_itm | TYPE ENQMODE , |
| ld_mandt | TYPE LOGTRM_RDP_HDR-MANDT , |
| ld_busobj | TYPE LOGTRM_RDP_HDR-BUSOBJ , |
| ld_doc_id | TYPE LOGTRM_RDP_HDR-DOC_ID , |
| ld_doc_item_id | TYPE LOGTRM_RDP_HDR-DOC_ITEM_ID , |
| ld_active | TYPE LOGTRM_RDP_HDR-ACTIVE , |
| ld_x_busobj | TYPE STRING , |
| ld_x_doc_id | TYPE STRING , |
| ld_x_doc_item_id | TYPE STRING , |
| ld_x_active | 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_ELOGTRM_RDPHDR_E or its description.