SAP DEQUEUE_EFMBS_BO Function Module for Release lock on object EFMBS_BO









DEQUEUE_EFMBS_BO is a standard dequeue efmbs bo SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Release lock on object EFMBS_BO processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for dequeue efmbs bo FM, simply by entering the name DEQUEUE_EFMBS_BO into the relevant SAP transaction such as SE37 or SE38.

Function Group: /1BCDWBEN/FEN0005
Program Name: /1BCDWBEN/SAPLFEN0005
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function DEQUEUE_EFMBS_BO pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'DEQUEUE_EFMBS_BO'"Release lock on object EFMBS_BO
EXPORTING
* MODE_FMBS_S_BO_LOCK = 'E' "Lock mode for table FMBS_S_BO_LOCK
* FUNCAREA = "09th enqueue argument
* MEASURE = "10th enqueue argument
* USERDIM = "11th enqueue argument
* BUDGET_PD = "12th enqueue argument
* X_FM_AREA = ' ' "Fill argument 02 with initial value?
* X_BS = ' ' "Fill argument 03 with initial value?
* X_FISCYEAR = ' ' "Fill argument 04 with initial value?
* X_BUDCAT = ' ' "Fill argument 05 with initial value?
* X_FUND = ' ' "Fill argument 06 with initial value?
* X_FUNDSCTR = ' ' "Fill argument 07 with initial value?
* CLIENT = SY-MANDT "01th enqueue argument
* X_CMMTITEM = ' ' "Fill argument 08 with initial value?
* X_FUNCAREA = ' ' "Fill argument 09 with initial value?
* X_MEASURE = ' ' "Fill argument 10 with initial value?
* X_USERDIM = ' ' "Fill argument 11 with initial value?
* X_BUDGET_PD = ' ' "Fill argument 12 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* FM_AREA = "02th enqueue argument
* BS = "03th enqueue argument
* FISCYEAR = "04th enqueue argument
* BUDCAT = "05th enqueue argument
* FUND = "06th enqueue argument
* FUNDSCTR = "07th enqueue argument
* CMMTITEM = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_EFMBS_BO

MODE_FMBS_S_BO_LOCK - Lock mode for table FMBS_S_BO_LOCK

Data type: ENQMODE
Default: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)

FUNCAREA - 09th enqueue argument

Data type: FMBS_S_BO_LOCK-FUNCAREA
Optional: Yes
Call by Reference: No ( called with pass by value option)

MEASURE - 10th enqueue argument

Data type: FMBS_S_BO_LOCK-MEASURE
Optional: Yes
Call by Reference: No ( called with pass by value option)

USERDIM - 11th enqueue argument

Data type: FMBS_S_BO_LOCK-USERDIM
Optional: Yes
Call by Reference: No ( called with pass by value option)

BUDGET_PD - 12th enqueue argument

Data type: FMBS_S_BO_LOCK-BUDGET_PD
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_FM_AREA - Fill argument 02 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_BS - Fill argument 03 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_FISCYEAR - Fill argument 04 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_BUDCAT - Fill argument 05 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_FUND - Fill argument 06 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_FUNDSCTR - Fill argument 07 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CLIENT - 01th enqueue argument

Data type: FMBS_S_BO_LOCK-CLIENT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_CMMTITEM - Fill argument 08 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_FUNCAREA - Fill argument 09 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_MEASURE - Fill argument 10 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_USERDIM - Fill argument 11 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_BUDGET_PD - Fill argument 12 with initial value?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

_SCOPE -

Data type:
Default: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)

_SYNCHRON - Synchonous unlock

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

_COLLECT - Initially only collect lock

Data type: DDENQCOLL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

FM_AREA - 02th enqueue argument

Data type: FMBS_S_BO_LOCK-FM_AREA
Optional: Yes
Call by Reference: No ( called with pass by value option)

BS - 03th enqueue argument

Data type: FMBS_S_BO_LOCK-BS
Optional: Yes
Call by Reference: No ( called with pass by value option)

FISCYEAR - 04th enqueue argument

Data type: FMBS_S_BO_LOCK-FISCYEAR
Optional: Yes
Call by Reference: No ( called with pass by value option)

BUDCAT - 05th enqueue argument

Data type: FMBS_S_BO_LOCK-BUDCAT
Optional: Yes
Call by Reference: No ( called with pass by value option)

FUND - 06th enqueue argument

Data type: FMBS_S_BO_LOCK-FUND
Optional: Yes
Call by Reference: No ( called with pass by value option)

FUNDSCTR - 07th enqueue argument

Data type: FMBS_S_BO_LOCK-FUNDSCTR
Optional: Yes
Call by Reference: No ( called with pass by value option)

CMMTITEM - 08th enqueue argument

Data type: FMBS_S_BO_LOCK-CMMTITEM
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for DEQUEUE_EFMBS_BO Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_mode_fmbs_s_bo_lock  TYPE ENQMODE, "   'E'
lv_funcarea  TYPE FMBS_S_BO_LOCK-FUNCAREA, "   
lv_measure  TYPE FMBS_S_BO_LOCK-MEASURE, "   
lv_userdim  TYPE FMBS_S_BO_LOCK-USERDIM, "   
lv_budget_pd  TYPE FMBS_S_BO_LOCK-BUDGET_PD, "   
lv_x_fm_area  TYPE FMBS_S_BO_LOCK, "   SPACE
lv_x_bs  TYPE FMBS_S_BO_LOCK, "   SPACE
lv_x_fiscyear  TYPE FMBS_S_BO_LOCK, "   SPACE
lv_x_budcat  TYPE FMBS_S_BO_LOCK, "   SPACE
lv_x_fund  TYPE FMBS_S_BO_LOCK, "   SPACE
lv_x_fundsctr  TYPE FMBS_S_BO_LOCK, "   SPACE
lv_client  TYPE FMBS_S_BO_LOCK-CLIENT, "   SY-MANDT
lv_x_cmmtitem  TYPE FMBS_S_BO_LOCK, "   SPACE
lv_x_funcarea  TYPE FMBS_S_BO_LOCK, "   SPACE
lv_x_measure  TYPE FMBS_S_BO_LOCK, "   SPACE
lv_x_userdim  TYPE FMBS_S_BO_LOCK, "   SPACE
lv_x_budget_pd  TYPE FMBS_S_BO_LOCK, "   SPACE
lv__scope  TYPE FMBS_S_BO_LOCK, "   '3'
lv__synchron  TYPE FMBS_S_BO_LOCK, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_fm_area  TYPE FMBS_S_BO_LOCK-FM_AREA, "   
lv_bs  TYPE FMBS_S_BO_LOCK-BS, "   
lv_fiscyear  TYPE FMBS_S_BO_LOCK-FISCYEAR, "   
lv_budcat  TYPE FMBS_S_BO_LOCK-BUDCAT, "   
lv_fund  TYPE FMBS_S_BO_LOCK-FUND, "   
lv_fundsctr  TYPE FMBS_S_BO_LOCK-FUNDSCTR, "   
lv_cmmtitem  TYPE FMBS_S_BO_LOCK-CMMTITEM. "   

  CALL FUNCTION 'DEQUEUE_EFMBS_BO'  "Release lock on object EFMBS_BO
    EXPORTING
         MODE_FMBS_S_BO_LOCK = lv_mode_fmbs_s_bo_lock
         FUNCAREA = lv_funcarea
         MEASURE = lv_measure
         USERDIM = lv_userdim
         BUDGET_PD = lv_budget_pd
         X_FM_AREA = lv_x_fm_area
         X_BS = lv_x_bs
         X_FISCYEAR = lv_x_fiscyear
         X_BUDCAT = lv_x_budcat
         X_FUND = lv_x_fund
         X_FUNDSCTR = lv_x_fundsctr
         CLIENT = lv_client
         X_CMMTITEM = lv_x_cmmtitem
         X_FUNCAREA = lv_x_funcarea
         X_MEASURE = lv_x_measure
         X_USERDIM = lv_x_userdim
         X_BUDGET_PD = lv_x_budget_pd
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         FM_AREA = lv_fm_area
         BS = lv_bs
         FISCYEAR = lv_fiscyear
         BUDCAT = lv_budcat
         FUND = lv_fund
         FUNDSCTR = lv_fundsctr
         CMMTITEM = lv_cmmtitem
. " DEQUEUE_EFMBS_BO




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EFMBS_BO

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

DATA(ld_mode_fmbs_s_bo_lock) = 'E'.
 
"SELECT single FUNCAREA FROM FMBS_S_BO_LOCK INTO @DATA(ld_funcarea).
 
"SELECT single MEASURE FROM FMBS_S_BO_LOCK INTO @DATA(ld_measure).
 
"SELECT single USERDIM FROM FMBS_S_BO_LOCK INTO @DATA(ld_userdim).
 
"SELECT single BUDGET_PD FROM FMBS_S_BO_LOCK INTO @DATA(ld_budget_pd).
 
DATA(ld_x_fm_area) = ' '.
 
DATA(ld_x_bs) = ' '.
 
DATA(ld_x_fiscyear) = ' '.
 
DATA(ld_x_budcat) = ' '.
 
DATA(ld_x_fund) = ' '.
 
DATA(ld_x_fundsctr) = ' '.
 
"SELECT single CLIENT FROM FMBS_S_BO_LOCK INTO @DATA(ld_client).
DATA(ld_client) = SY-MANDT.
 
DATA(ld_x_cmmtitem) = ' '.
 
DATA(ld_x_funcarea) = ' '.
 
DATA(ld_x_measure) = ' '.
 
DATA(ld_x_userdim) = ' '.
 
DATA(ld_x_budget_pd) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single FM_AREA FROM FMBS_S_BO_LOCK INTO @DATA(ld_fm_area).
 
"SELECT single BS FROM FMBS_S_BO_LOCK INTO @DATA(ld_bs).
 
"SELECT single FISCYEAR FROM FMBS_S_BO_LOCK INTO @DATA(ld_fiscyear).
 
"SELECT single BUDCAT FROM FMBS_S_BO_LOCK INTO @DATA(ld_budcat).
 
"SELECT single FUND FROM FMBS_S_BO_LOCK INTO @DATA(ld_fund).
 
"SELECT single FUNDSCTR FROM FMBS_S_BO_LOCK INTO @DATA(ld_fundsctr).
 
"SELECT single CMMTITEM FROM FMBS_S_BO_LOCK INTO @DATA(ld_cmmtitem).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!