SAP Function Modules

DEQUEUE_EGFMBDE SAP Function module - Release lock on object EGFMBDE







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

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


Pattern for FM DEQUEUE_EGFMBDE - DEQUEUE EGFMBDE





CALL FUNCTION 'DEQUEUE_EGFMBDE' "Release lock on object EGFMBDE
* EXPORTING
*   mode_fmbd_s_totals_lock = 'E'  " enqmode    Lock mode for table FMBD_S_TOTALS_LOCK
*   rclnt = SY-MANDT            " fmbd_s_totals_lock-rclnt  01th enqueue argument
*   rfikrs =                    " fmbd_s_totals_lock-rfikrs  02th enqueue argument
*   ryear =                     " fmbd_s_totals_lock-ryear  03th enqueue argument
*   rvers =                     " fmbd_s_totals_lock-rvers  04th enqueue argument
*   rldnr =                     " fmbd_s_totals_lock-rldnr  05th enqueue argument
*   rfund =                     " fmbd_s_totals_lock-rfund  06th enqueue argument
*   budget_pd_9 =               " fmbd_s_totals_lock-budget_pd_9  07th enqueue argument
*   rfundsctr =                 " fmbd_s_totals_lock-rfundsctr  08th enqueue argument
*   rcmmtitem =                 " fmbd_s_totals_lock-rcmmtitem  09th enqueue argument
*   rfuncarea =                 " fmbd_s_totals_lock-rfuncarea  10th enqueue argument
*   rgrant_nbr =                " fmbd_s_totals_lock-rgrant_nbr  11th enqueue argument
*   rmeasure =                  " fmbd_s_totals_lock-rmeasure  12th enqueue argument
*   ruserdim =                  " fmbd_s_totals_lock-ruserdim  13th enqueue argument
*   x_rfikrs = SPACE            "               Fill argument 02 with initial value?
*   x_ryear = SPACE             "               Fill argument 03 with initial value?
*   x_rvers = SPACE             "               Fill argument 04 with initial value?
*   x_rldnr = SPACE             "               Fill argument 05 with initial value?
*   x_rfund = SPACE             "               Fill argument 06 with initial value?
*   x_budget_pd_9 = SPACE       "               Fill argument 07 with initial value?
*   x_rfundsctr = SPACE         "               Fill argument 08 with initial value?
*   x_rcmmtitem = SPACE         "               Fill argument 09 with initial value?
*   x_rfuncarea = SPACE         "               Fill argument 10 with initial value?
*   x_rgrant_nbr = SPACE        "               Fill argument 11 with initial value?
*   x_rmeasure = SPACE          "               Fill argument 12 with initial value?
*   x_ruserdim = SPACE          "               Fill argument 13 with initial value?
*   _scope = '3'                "
*   _synchron = SPACE           "               Synchonous unlock
*   _collect = ' '              " ddenqcoll     Initially only collect lock
    .  "  DEQUEUE_EGFMBDE

ABAP code example for Function Module DEQUEUE_EGFMBDE





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

DATA(ld_rclnt) = Check type of data required

DATA(ld_rfikrs) = some text here

DATA(ld_ryear) = Check type of data required

DATA(ld_rvers) = some text here

DATA(ld_rldnr) = some text here

DATA(ld_rfund) = some text here

DATA(ld_budget_pd_9) = some text here

DATA(ld_rfundsctr) = some text here

DATA(ld_rcmmtitem) = some text here

DATA(ld_rfuncarea) = some text here

DATA(ld_rgrant_nbr) = some text here

DATA(ld_rmeasure) = some text here

DATA(ld_ruserdim) = some text here
DATA(ld_x_rfikrs) = 'some text here'.
DATA(ld_x_ryear) = 'some text here'.
DATA(ld_x_rvers) = 'some text here'.
DATA(ld_x_rldnr) = 'some text here'.
DATA(ld_x_rfund) = 'some text here'.
DATA(ld_x_budget_pd_9) = 'some text here'.
DATA(ld_x_rfundsctr) = 'some text here'.
DATA(ld_x_rcmmtitem) = 'some text here'.
DATA(ld_x_rfuncarea) = 'some text here'.
DATA(ld_x_rgrant_nbr) = 'some text here'.
DATA(ld_x_rmeasure) = 'some text here'.
DATA(ld_x_ruserdim) = '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_EGFMBDE' * EXPORTING * mode_fmbd_s_totals_lock = ld_mode_fmbd_s_totals_lock * rclnt = ld_rclnt * rfikrs = ld_rfikrs * ryear = ld_ryear * rvers = ld_rvers * rldnr = ld_rldnr * rfund = ld_rfund * budget_pd_9 = ld_budget_pd_9 * rfundsctr = ld_rfundsctr * rcmmtitem = ld_rcmmtitem * rfuncarea = ld_rfuncarea * rgrant_nbr = ld_rgrant_nbr * rmeasure = ld_rmeasure * ruserdim = ld_ruserdim * x_rfikrs = ld_x_rfikrs * x_ryear = ld_x_ryear * x_rvers = ld_x_rvers * x_rldnr = ld_x_rldnr * x_rfund = ld_x_rfund * x_budget_pd_9 = ld_x_budget_pd_9 * x_rfundsctr = ld_x_rfundsctr * x_rcmmtitem = ld_x_rcmmtitem * x_rfuncarea = ld_x_rfuncarea * x_rgrant_nbr = ld_x_rgrant_nbr * x_rmeasure = ld_x_rmeasure * x_ruserdim = ld_x_ruserdim * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_EGFMBDE
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_fmbd_s_totals_lock  TYPE ENQMODE ,
ld_rclnt  TYPE FMBD_S_TOTALS_LOCK-RCLNT ,
ld_rfikrs  TYPE FMBD_S_TOTALS_LOCK-RFIKRS ,
ld_ryear  TYPE FMBD_S_TOTALS_LOCK-RYEAR ,
ld_rvers  TYPE FMBD_S_TOTALS_LOCK-RVERS ,
ld_rldnr  TYPE FMBD_S_TOTALS_LOCK-RLDNR ,
ld_rfund  TYPE FMBD_S_TOTALS_LOCK-RFUND ,
ld_budget_pd_9  TYPE FMBD_S_TOTALS_LOCK-BUDGET_PD_9 ,
ld_rfundsctr  TYPE FMBD_S_TOTALS_LOCK-RFUNDSCTR ,
ld_rcmmtitem  TYPE FMBD_S_TOTALS_LOCK-RCMMTITEM ,
ld_rfuncarea  TYPE FMBD_S_TOTALS_LOCK-RFUNCAREA ,
ld_rgrant_nbr  TYPE FMBD_S_TOTALS_LOCK-RGRANT_NBR ,
ld_rmeasure  TYPE FMBD_S_TOTALS_LOCK-RMEASURE ,
ld_ruserdim  TYPE FMBD_S_TOTALS_LOCK-RUSERDIM ,
ld_x_rfikrs  TYPE STRING ,
ld_x_ryear  TYPE STRING ,
ld_x_rvers  TYPE STRING ,
ld_x_rldnr  TYPE STRING ,
ld_x_rfund  TYPE STRING ,
ld_x_budget_pd_9  TYPE STRING ,
ld_x_rfundsctr  TYPE STRING ,
ld_x_rcmmtitem  TYPE STRING ,
ld_x_rfuncarea  TYPE STRING ,
ld_x_rgrant_nbr  TYPE STRING ,
ld_x_rmeasure  TYPE STRING ,
ld_x_ruserdim  TYPE STRING ,
ld__scope  TYPE STRING ,
ld__synchron  TYPE STRING ,
ld__collect  TYPE DDENQCOLL .

ld_mode_fmbd_s_totals_lock = 'Check type of data required'.

ld_rclnt = Check type of data required

ld_rfikrs = some text here

ld_ryear = Check type of data required

ld_rvers = some text here

ld_rldnr = some text here

ld_rfund = some text here

ld_budget_pd_9 = some text here

ld_rfundsctr = some text here

ld_rcmmtitem = some text here

ld_rfuncarea = some text here

ld_rgrant_nbr = some text here

ld_rmeasure = some text here

ld_ruserdim = some text here
ld_x_rfikrs = 'some text here'.
ld_x_ryear = 'some text here'.
ld_x_rvers = 'some text here'.
ld_x_rldnr = 'some text here'.
ld_x_rfund = 'some text here'.
ld_x_budget_pd_9 = 'some text here'.
ld_x_rfundsctr = 'some text here'.
ld_x_rcmmtitem = 'some text here'.
ld_x_rfuncarea = 'some text here'.
ld_x_rgrant_nbr = 'some text here'.
ld_x_rmeasure = 'some text here'.
ld_x_ruserdim = '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_EGFMBDE or its description.