SAP Function Modules

DEQUEUE_EFMBUDTXT SAP Function module - Release lock on object EFMBUDTXT







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

Associated Function Group: DWBEN/SAPLFEN0005
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM DEQUEUE_EFMBUDTXT - DEQUEUE EFMBUDTXT





CALL FUNCTION 'DEQUEUE_EFMBUDTXT' "Release lock on object EFMBUDTXT
* EXPORTING
*   mode_fmku_s_budtxt = 'E'    " enqmode       Lock mode for table FMKU_S_BUDTXT
*   client = SY-MANDT           " fmku_s_budtxt-client  01th enqueue argument
*   applic =                    " fmku_s_budtxt-applic  02th enqueue argument
*   fm_area =                   " fmku_s_budtxt-fm_area  03th enqueue argument
*   budcat =                    " fmku_s_budtxt-budcat  04th enqueue argument
*   objnr =                     " fmku_s_budtxt-objnr  05th enqueue argument
*   grant_nbr =                 " fmku_s_budtxt-grant_nbr  06th enqueue argument
*   version =                   " fmku_s_budtxt-version  07th enqueue argument
*   fiscyear =                  " fmku_s_budtxt-fiscyear  08th enqueue argument
*   budtype =                   " fmku_s_budtxt-budtype  09th enqueue argument
*   x_applic = SPACE            " ddenqxpar     Fill argument 02 with initial value?
*   x_fm_area = SPACE           " ddenqxpar     Fill argument 03 with initial value?
*   x_budcat = SPACE            " ddenqxpar     Fill argument 04 with initial value?
*   x_objnr = SPACE             " ddenqxpar     Fill argument 05 with initial value?
*   x_grant_nbr = SPACE         " ddenqxpar     Fill argument 06 with initial value?
*   x_version = SPACE           " ddenqxpar     Fill argument 07 with initial value?
*   x_fiscyear = SPACE          " ddenqxpar     Fill argument 08 with initial value?
*   x_budtype = SPACE           " ddenqxpar     Fill argument 09 with initial value?
*   _scope = '3'                " ddenqscope
*   _synchron = SPACE           " ddenqsync     Synchonous unlock
*   _collect = ' '              " ddenqcoll     Initially only collect lock
    .  "  DEQUEUE_EFMBUDTXT

ABAP code example for Function Module DEQUEUE_EFMBUDTXT





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

DATA(ld_client) = Check type of data required

DATA(ld_applic) = some text here

DATA(ld_fm_area) = some text here

DATA(ld_budcat) = some text here

DATA(ld_objnr) = some text here

DATA(ld_grant_nbr) = some text here

DATA(ld_version) = some text here

DATA(ld_fiscyear) = some text here

DATA(ld_budtype) = some text here
DATA(ld_x_applic) = 'Check type of data required'.
DATA(ld_x_fm_area) = 'Check type of data required'.
DATA(ld_x_budcat) = 'Check type of data required'.
DATA(ld_x_objnr) = 'Check type of data required'.
DATA(ld_x_grant_nbr) = 'Check type of data required'.
DATA(ld_x_version) = 'Check type of data required'.
DATA(ld_x_fiscyear) = 'Check type of data required'.
DATA(ld_x_budtype) = '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_EFMBUDTXT' * EXPORTING * mode_fmku_s_budtxt = ld_mode_fmku_s_budtxt * client = ld_client * applic = ld_applic * fm_area = ld_fm_area * budcat = ld_budcat * objnr = ld_objnr * grant_nbr = ld_grant_nbr * version = ld_version * fiscyear = ld_fiscyear * budtype = ld_budtype * x_applic = ld_x_applic * x_fm_area = ld_x_fm_area * x_budcat = ld_x_budcat * x_objnr = ld_x_objnr * x_grant_nbr = ld_x_grant_nbr * x_version = ld_x_version * x_fiscyear = ld_x_fiscyear * x_budtype = ld_x_budtype * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_EFMBUDTXT
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_fmku_s_budtxt  TYPE ENQMODE ,
ld_client  TYPE FMKU_S_BUDTXT-CLIENT ,
ld_applic  TYPE FMKU_S_BUDTXT-APPLIC ,
ld_fm_area  TYPE FMKU_S_BUDTXT-FM_AREA ,
ld_budcat  TYPE FMKU_S_BUDTXT-BUDCAT ,
ld_objnr  TYPE FMKU_S_BUDTXT-OBJNR ,
ld_grant_nbr  TYPE FMKU_S_BUDTXT-GRANT_NBR ,
ld_version  TYPE FMKU_S_BUDTXT-VERSION ,
ld_fiscyear  TYPE FMKU_S_BUDTXT-FISCYEAR ,
ld_budtype  TYPE FMKU_S_BUDTXT-BUDTYPE ,
ld_x_applic  TYPE DDENQXPAR ,
ld_x_fm_area  TYPE DDENQXPAR ,
ld_x_budcat  TYPE DDENQXPAR ,
ld_x_objnr  TYPE DDENQXPAR ,
ld_x_grant_nbr  TYPE DDENQXPAR ,
ld_x_version  TYPE DDENQXPAR ,
ld_x_fiscyear  TYPE DDENQXPAR ,
ld_x_budtype  TYPE DDENQXPAR ,
ld__scope  TYPE DDENQSCOPE ,
ld__synchron  TYPE DDENQSYNC ,
ld__collect  TYPE DDENQCOLL .

ld_mode_fmku_s_budtxt = 'some text here'.

ld_client = Check type of data required

ld_applic = some text here

ld_fm_area = some text here

ld_budcat = some text here

ld_objnr = some text here

ld_grant_nbr = some text here

ld_version = some text here

ld_fiscyear = some text here

ld_budtype = some text here
ld_x_applic = 'some text here'.
ld_x_fm_area = 'some text here'.
ld_x_budcat = 'some text here'.
ld_x_objnr = 'some text here'.
ld_x_grant_nbr = 'some text here'.
ld_x_version = 'some text here'.
ld_x_fiscyear = 'some text here'.
ld_x_budtype = 'some text here'.
ld__scope = 'some text here'.
ld__synchron = 'some text here'.
ld__collect = 'some text here'.

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