SAP Function Modules

DEQUEUE_EGPSFLEXE SAP Function module - Release lock on object EGPSFLEXE







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

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


Pattern for FM DEQUEUE_EGPSFLEXE - DEQUEUE EGPSFLEXE





CALL FUNCTION 'DEQUEUE_EGPSFLEXE' "Release lock on object EGPSFLEXE
* EXPORTING
*   mode_psglflexkey = 'E'      " enqmode       Lock mode for table PSGLFLEXKEY
*   rclnt = SY-MANDT            " psglflexkey-rclnt  01th enqueue argument
*   ryear =                     " psglflexkey-ryear  02th enqueue argument
*   activ =                     " psglflexkey-activ  03th enqueue argument
*   rmvct =                     " psglflexkey-rmvct  04th enqueue argument
*   rtcur =                     " psglflexkey-rtcur  05th enqueue argument
*   runit =                     " psglflexkey-runit  06th enqueue argument
*   awtyp =                     " psglflexkey-awtyp  07th enqueue argument
*   rldnr =                     " psglflexkey-rldnr  08th enqueue argument
*   rrcty =                     " psglflexkey-rrcty  09th enqueue argument
*   rvers =                     " psglflexkey-rvers  10th enqueue argument
*   logsys =                    " psglflexkey-logsys  11th enqueue argument
*   racct =                     " psglflexkey-racct  12th enqueue argument
*   cost_elem =                 " psglflexkey-cost_elem  13th enqueue argument
*   re_bukrs =                  " psglflexkey-re_bukrs  14th enqueue argument
*   re_account =                " psglflexkey-re_account  15th enqueue argument
*   rbukrs =                    " psglflexkey-rbukrs  16th enqueue argument
*   rbusa =                     " psglflexkey-rbusa  17th enqueue argument
*   kokrs =                     " psglflexkey-kokrs  18th enqueue argument
*   fikrs =                     " psglflexkey-fikrs  19th enqueue argument
*   rfund =                     " psglflexkey-rfund  20th enqueue argument
*   rgrant_nbr =                " psglflexkey-rgrant_nbr  21th enqueue argument
*   rfarea =                    " psglflexkey-rfarea  22th enqueue argument
*   rbudget_pd =                " psglflexkey-rbudget_pd  23th enqueue argument
*   x_ryear = SPACE             "               Fill argument 02 with initial value?
*   x_activ = SPACE             "               Fill argument 03 with initial value?
*   x_rmvct = SPACE             "               Fill argument 04 with initial value?
*   x_rtcur = SPACE             "               Fill argument 05 with initial value?
*   x_runit = SPACE             "               Fill argument 06 with initial value?
*   x_awtyp = SPACE             "               Fill argument 07 with initial value?
*   x_rldnr = SPACE             "               Fill argument 08 with initial value?
*   x_rrcty = SPACE             "               Fill argument 09 with initial value?
*   x_rvers = SPACE             "               Fill argument 10 with initial value?
*   x_logsys = SPACE            "               Fill argument 11 with initial value?
*   x_racct = SPACE             "               Fill argument 12 with initial value?
*   x_cost_elem = SPACE         "               Fill argument 13 with initial value?
*   x_re_bukrs = SPACE          "               Fill argument 14 with initial value?
*   x_re_account = SPACE        "               Fill argument 15 with initial value?
*   x_rbukrs = SPACE            "               Fill argument 16 with initial value?
*   x_rbusa = SPACE             "               Fill argument 17 with initial value?
*   x_kokrs = SPACE             "               Fill argument 18 with initial value?
*   x_fikrs = SPACE             "               Fill argument 19 with initial value?
*   x_rfund = SPACE             "               Fill argument 20 with initial value?
*   x_rgrant_nbr = SPACE        "               Fill argument 21 with initial value?
*   x_rfarea = SPACE            "               Fill argument 22 with initial value?
*   x_rbudget_pd = SPACE        "               Fill argument 23 with initial value?
*   _scope = '3'                "
*   _synchron = SPACE           "               Synchonous unlock
*   _collect = ' '              " ddenqcoll     Initially only collect lock
    .  "  DEQUEUE_EGPSFLEXE

ABAP code example for Function Module DEQUEUE_EGPSFLEXE





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

DATA(ld_rclnt) = Check type of data required

DATA(ld_ryear) = Check type of data required

DATA(ld_activ) = some text here

DATA(ld_rmvct) = some text here

DATA(ld_rtcur) = Check type of data required

DATA(ld_runit) = Check type of data required

DATA(ld_awtyp) = some text here

DATA(ld_rldnr) = some text here

DATA(ld_rrcty) = some text here

DATA(ld_rvers) = some text here

DATA(ld_logsys) = some text here

DATA(ld_racct) = some text here

DATA(ld_cost_elem) = some text here

DATA(ld_re_bukrs) = some text here

DATA(ld_re_account) = some text here

DATA(ld_rbukrs) = some text here

DATA(ld_rbusa) = some text here

DATA(ld_kokrs) = some text here

DATA(ld_fikrs) = some text here

DATA(ld_rfund) = some text here

DATA(ld_rgrant_nbr) = some text here

DATA(ld_rfarea) = some text here

DATA(ld_rbudget_pd) = some text here
DATA(ld_x_ryear) = 'some text here'.
DATA(ld_x_activ) = 'some text here'.
DATA(ld_x_rmvct) = 'some text here'.
DATA(ld_x_rtcur) = 'some text here'.
DATA(ld_x_runit) = 'some text here'.
DATA(ld_x_awtyp) = 'some text here'.
DATA(ld_x_rldnr) = 'some text here'.
DATA(ld_x_rrcty) = 'some text here'.
DATA(ld_x_rvers) = 'some text here'.
DATA(ld_x_logsys) = 'some text here'.
DATA(ld_x_racct) = 'some text here'.
DATA(ld_x_cost_elem) = 'some text here'.
DATA(ld_x_re_bukrs) = 'some text here'.
DATA(ld_x_re_account) = 'some text here'.
DATA(ld_x_rbukrs) = 'some text here'.
DATA(ld_x_rbusa) = 'some text here'.
DATA(ld_x_kokrs) = 'some text here'.
DATA(ld_x_fikrs) = 'some text here'.
DATA(ld_x_rfund) = 'some text here'.
DATA(ld_x_rgrant_nbr) = 'some text here'.
DATA(ld_x_rfarea) = 'some text here'.
DATA(ld_x_rbudget_pd) = '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_EGPSFLEXE' * EXPORTING * mode_psglflexkey = ld_mode_psglflexkey * rclnt = ld_rclnt * ryear = ld_ryear * activ = ld_activ * rmvct = ld_rmvct * rtcur = ld_rtcur * runit = ld_runit * awtyp = ld_awtyp * rldnr = ld_rldnr * rrcty = ld_rrcty * rvers = ld_rvers * logsys = ld_logsys * racct = ld_racct * cost_elem = ld_cost_elem * re_bukrs = ld_re_bukrs * re_account = ld_re_account * rbukrs = ld_rbukrs * rbusa = ld_rbusa * kokrs = ld_kokrs * fikrs = ld_fikrs * rfund = ld_rfund * rgrant_nbr = ld_rgrant_nbr * rfarea = ld_rfarea * rbudget_pd = ld_rbudget_pd * x_ryear = ld_x_ryear * x_activ = ld_x_activ * x_rmvct = ld_x_rmvct * x_rtcur = ld_x_rtcur * x_runit = ld_x_runit * x_awtyp = ld_x_awtyp * x_rldnr = ld_x_rldnr * x_rrcty = ld_x_rrcty * x_rvers = ld_x_rvers * x_logsys = ld_x_logsys * x_racct = ld_x_racct * x_cost_elem = ld_x_cost_elem * x_re_bukrs = ld_x_re_bukrs * x_re_account = ld_x_re_account * x_rbukrs = ld_x_rbukrs * x_rbusa = ld_x_rbusa * x_kokrs = ld_x_kokrs * x_fikrs = ld_x_fikrs * x_rfund = ld_x_rfund * x_rgrant_nbr = ld_x_rgrant_nbr * x_rfarea = ld_x_rfarea * x_rbudget_pd = ld_x_rbudget_pd * _scope = ld__scope * _synchron = ld__synchron * _collect = ld__collect . " DEQUEUE_EGPSFLEXE
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_psglflexkey  TYPE ENQMODE ,
ld_rclnt  TYPE PSGLFLEXKEY-RCLNT ,
ld_ryear  TYPE PSGLFLEXKEY-RYEAR ,
ld_activ  TYPE PSGLFLEXKEY-ACTIV ,
ld_rmvct  TYPE PSGLFLEXKEY-RMVCT ,
ld_rtcur  TYPE PSGLFLEXKEY-RTCUR ,
ld_runit  TYPE PSGLFLEXKEY-RUNIT ,
ld_awtyp  TYPE PSGLFLEXKEY-AWTYP ,
ld_rldnr  TYPE PSGLFLEXKEY-RLDNR ,
ld_rrcty  TYPE PSGLFLEXKEY-RRCTY ,
ld_rvers  TYPE PSGLFLEXKEY-RVERS ,
ld_logsys  TYPE PSGLFLEXKEY-LOGSYS ,
ld_racct  TYPE PSGLFLEXKEY-RACCT ,
ld_cost_elem  TYPE PSGLFLEXKEY-COST_ELEM ,
ld_re_bukrs  TYPE PSGLFLEXKEY-RE_BUKRS ,
ld_re_account  TYPE PSGLFLEXKEY-RE_ACCOUNT ,
ld_rbukrs  TYPE PSGLFLEXKEY-RBUKRS ,
ld_rbusa  TYPE PSGLFLEXKEY-RBUSA ,
ld_kokrs  TYPE PSGLFLEXKEY-KOKRS ,
ld_fikrs  TYPE PSGLFLEXKEY-FIKRS ,
ld_rfund  TYPE PSGLFLEXKEY-RFUND ,
ld_rgrant_nbr  TYPE PSGLFLEXKEY-RGRANT_NBR ,
ld_rfarea  TYPE PSGLFLEXKEY-RFAREA ,
ld_rbudget_pd  TYPE PSGLFLEXKEY-RBUDGET_PD ,
ld_x_ryear  TYPE STRING ,
ld_x_activ  TYPE STRING ,
ld_x_rmvct  TYPE STRING ,
ld_x_rtcur  TYPE STRING ,
ld_x_runit  TYPE STRING ,
ld_x_awtyp  TYPE STRING ,
ld_x_rldnr  TYPE STRING ,
ld_x_rrcty  TYPE STRING ,
ld_x_rvers  TYPE STRING ,
ld_x_logsys  TYPE STRING ,
ld_x_racct  TYPE STRING ,
ld_x_cost_elem  TYPE STRING ,
ld_x_re_bukrs  TYPE STRING ,
ld_x_re_account  TYPE STRING ,
ld_x_rbukrs  TYPE STRING ,
ld_x_rbusa  TYPE STRING ,
ld_x_kokrs  TYPE STRING ,
ld_x_fikrs  TYPE STRING ,
ld_x_rfund  TYPE STRING ,
ld_x_rgrant_nbr  TYPE STRING ,
ld_x_rfarea  TYPE STRING ,
ld_x_rbudget_pd  TYPE STRING ,
ld__scope  TYPE STRING ,
ld__synchron  TYPE STRING ,
ld__collect  TYPE DDENQCOLL .

ld_mode_psglflexkey = 'Check type of data required'.

ld_rclnt = Check type of data required

ld_ryear = Check type of data required

ld_activ = some text here

ld_rmvct = some text here

ld_rtcur = Check type of data required

ld_runit = Check type of data required

ld_awtyp = some text here

ld_rldnr = some text here

ld_rrcty = some text here

ld_rvers = some text here

ld_logsys = some text here

ld_racct = some text here

ld_cost_elem = some text here

ld_re_bukrs = some text here

ld_re_account = some text here

ld_rbukrs = some text here

ld_rbusa = some text here

ld_kokrs = some text here

ld_fikrs = some text here

ld_rfund = some text here

ld_rgrant_nbr = some text here

ld_rfarea = some text here

ld_rbudget_pd = some text here
ld_x_ryear = 'some text here'.
ld_x_activ = 'some text here'.
ld_x_rmvct = 'some text here'.
ld_x_rtcur = 'some text here'.
ld_x_runit = 'some text here'.
ld_x_awtyp = 'some text here'.
ld_x_rldnr = 'some text here'.
ld_x_rrcty = 'some text here'.
ld_x_rvers = 'some text here'.
ld_x_logsys = 'some text here'.
ld_x_racct = 'some text here'.
ld_x_cost_elem = 'some text here'.
ld_x_re_bukrs = 'some text here'.
ld_x_re_account = 'some text here'.
ld_x_rbukrs = 'some text here'.
ld_x_rbusa = 'some text here'.
ld_x_kokrs = 'some text here'.
ld_x_fikrs = 'some text here'.
ld_x_rfund = 'some text here'.
ld_x_rgrant_nbr = 'some text here'.
ld_x_rfarea = 'some text here'.
ld_x_rbudget_pd = '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_EGPSFLEXE or its description.