DEQUEUE_E_SRT_IBCR 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_SRT_IBCR into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
DWBEN/SAPLSEN0021
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'DEQUEUE_E_SRT_IBCR' "Release lock on object E_SRT_IBCR
* EXPORTING
* mode_srt_ibcr = 'E' " enqmode Lock mode for table SRT_IBCR
* mode_srt_ibcr_assign = 'E' " enqmode Lock mode for table SRT_IBCR_ASSIGN
* mode_srt_ibcr_t = 'E' " enqmode Lock mode for table SRT_IBCR_T
* mode_srt_ibcr_usage = 'E' " enqmode Lock mode for table SRT_IBCR_USAGE
* client = SY-MANDT " srt_ibcr-client 01th enqueue argument
* id = " srt_ibcr-id 02th enqueue argument
* type = " srt_ibcr_assign-type 03th enqueue argument
* langu = " srt_ibcr_t-langu 04th enqueue argument
* class_name = " srt_ibcr_usage-class_name 05th enqueue argument
* x_id = SPACE " Fill argument 02 with initial value?
* x_type = SPACE " Fill argument 03 with initial value?
* x_langu = SPACE " Fill argument 04 with initial value?
* x_class_name = SPACE " Fill argument 05 with initial value?
* _scope = '3' "
* _synchron = SPACE " Synchonous unlock
* _collect = ' ' " ddenqcoll Initially only collect lock
. " DEQUEUE_E_SRT_IBCR
The ABAP code below is a full code listing to execute function module DEQUEUE_E_SRT_IBCR 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_srt_ibcr) = 'Check type of data required'.
DATA(ld_mode_srt_ibcr_assign) = 'Check type of data required'.
DATA(ld_mode_srt_ibcr_t) = 'Check type of data required'.
DATA(ld_mode_srt_ibcr_usage) = 'Check type of data required'.
SELECT single CLIENT
FROM SRT_IBCR
INTO @DATA(ld_client).
SELECT single ID
FROM SRT_IBCR
INTO @DATA(ld_id).
SELECT single TYPE
FROM SRT_IBCR_ASSIGN
INTO @DATA(ld_type).
SELECT single LANGU
FROM SRT_IBCR_T
INTO @DATA(ld_langu).
SELECT single CLASS_NAME
FROM SRT_IBCR_USAGE
INTO @DATA(ld_class_name).
DATA(ld_x_id) = 'some text here'.
DATA(ld_x_type) = 'some text here'.
DATA(ld_x_langu) = 'some text here'.
DATA(ld_x_class_name) = '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_SRT_IBCR' * EXPORTING * mode_srt_ibcr = ld_mode_srt_ibcr * mode_srt_ibcr_assign = ld_mode_srt_ibcr_assign * mode_srt_ibcr_t = ld_mode_srt_ibcr_t * mode_srt_ibcr_usage = ld_mode_srt_ibcr_usage * client = ld_client * id = ld_id * type = ld_type * langu = ld_langu * class_name = ld_class_name * x_id = ld_x_id * x_type = ld_x_type * x_langu = ld_x_langu * x_class_name = ld_x_class_name * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_E_SRT_IBCR
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_srt_ibcr | TYPE ENQMODE , |
| ld_mode_srt_ibcr_assign | TYPE ENQMODE , |
| ld_mode_srt_ibcr_t | TYPE ENQMODE , |
| ld_mode_srt_ibcr_usage | TYPE ENQMODE , |
| ld_client | TYPE SRT_IBCR-CLIENT , |
| ld_id | TYPE SRT_IBCR-ID , |
| ld_type | TYPE SRT_IBCR_ASSIGN-TYPE , |
| ld_langu | TYPE SRT_IBCR_T-LANGU , |
| ld_class_name | TYPE SRT_IBCR_USAGE-CLASS_NAME , |
| ld_x_id | TYPE STRING , |
| ld_x_type | TYPE STRING , |
| ld_x_langu | TYPE STRING , |
| ld_x_class_name | 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_E_SRT_IBCR or its description.
DEQUEUE_E_SRT_IBCR - Release lock on object E_SRT_IBCR DEQUEUE_E_SRT_IBC - Release lock on object E_SRT_IBC DEQUEUE_E_SRT_GRP_DOMSYS - Release lock on object E_SRT_GRP_DOMSYS DEQUEUE_E_SRT_FW_SETTING - Release lock on object E_SRT_FW_SETTING DEQUEUE_E_SRT_CONS_FACT - Release lock on object E_SRT_CONS_FACT DEQUEUE_E_SRT_CF_FB - Release lock on object E_SRT_CF_FB