SAP ENQUEUE_EFKKBRINSEQ Function Module for Request lock for object EFKKBRINSEQ









ENQUEUE_EFKKBRINSEQ is a standard enqueue efkkbrinseq SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Request lock for object EFKKBRINSEQ 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 enqueue efkkbrinseq FM, simply by entering the name ENQUEUE_EFKKBRINSEQ into the relevant SAP transaction such as SE37 or SE38.

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



Function ENQUEUE_EFKKBRINSEQ 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 'ENQUEUE_EFKKBRINSEQ'"Request lock for object EFKKBRINSEQ
EXPORTING
* MODE_FKKBRINSEQ = 'E' "Lock mode for table FKKBRINSEQ
* X_BANKL = ' ' "Fill argument 03 with initial value?
* X_BANKN = ' ' "Fill argument 04 with initial value?
* X_ZLSCH = ' ' "Fill argument 05 with initial value?
* X_GEN_DATE = ' ' "Fill argument 06 with initial value?
* X_SEQ_NUM = ' ' "Fill argument 07 with initial value?
* _SCOPE = '2' "
* _WAIT = ' ' "
* _COLLECT = ' ' "Initially only collect lock
* MANDT = SY-MANDT "01th enqueue argument
* BANKS = "02th enqueue argument
* BANKL = "03th enqueue argument
* BANKN = "04th enqueue argument
* ZLSCH = "05th enqueue argument
* GEN_DATE = "06th enqueue argument
* SEQ_NUM = "07th enqueue argument
* X_BANKS = ' ' "Fill argument 02 with initial value?

EXCEPTIONS
FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2
.



IMPORTING Parameters details for ENQUEUE_EFKKBRINSEQ

MODE_FKKBRINSEQ - Lock mode for table FKKBRINSEQ

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

X_BANKL - Fill argument 03 with initial value?

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

X_BANKN - Fill argument 04 with initial value?

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

X_ZLSCH - Fill argument 05 with initial value?

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

X_GEN_DATE - Fill argument 06 with initial value?

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

X_SEQ_NUM - Fill argument 07 with initial value?

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

_SCOPE -

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

_WAIT -

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)

MANDT - 01th enqueue argument

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

BANKS - 02th enqueue argument

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

BANKL - 03th enqueue argument

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

BANKN - 04th enqueue argument

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

ZLSCH - 05th enqueue argument

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

GEN_DATE - 06th enqueue argument

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

SEQ_NUM - 07th enqueue argument

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

X_BANKS - Fill argument 02 with initial value?

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

EXCEPTIONS details

FOREIGN_LOCK - Object already locked

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

SYSTEM_FAILURE - Internal error from enqueue server

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

Copy and paste ABAP code example for ENQUEUE_EFKKBRINSEQ 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_foreign_lock  TYPE STRING, "   
lv_mode_fkkbrinseq  TYPE ENQMODE, "   'E'
lv_x_bankl  TYPE ENQMODE, "   SPACE
lv_x_bankn  TYPE ENQMODE, "   SPACE
lv_x_zlsch  TYPE ENQMODE, "   SPACE
lv_x_gen_date  TYPE ENQMODE, "   SPACE
lv_x_seq_num  TYPE ENQMODE, "   SPACE
lv__scope  TYPE ENQMODE, "   '2'
lv__wait  TYPE ENQMODE, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_mandt  TYPE FKKBRINSEQ-MANDT, "   SY-MANDT
lv_system_failure  TYPE FKKBRINSEQ, "   
lv_banks  TYPE FKKBRINSEQ-BANKS, "   
lv_bankl  TYPE FKKBRINSEQ-BANKL, "   
lv_bankn  TYPE FKKBRINSEQ-BANKN, "   
lv_zlsch  TYPE FKKBRINSEQ-ZLSCH, "   
lv_gen_date  TYPE FKKBRINSEQ-GEN_DATE, "   
lv_seq_num  TYPE FKKBRINSEQ-SEQ_NUM, "   
lv_x_banks  TYPE FKKBRINSEQ. "   SPACE

  CALL FUNCTION 'ENQUEUE_EFKKBRINSEQ'  "Request lock for object EFKKBRINSEQ
    EXPORTING
         MODE_FKKBRINSEQ = lv_mode_fkkbrinseq
         X_BANKL = lv_x_bankl
         X_BANKN = lv_x_bankn
         X_ZLSCH = lv_x_zlsch
         X_GEN_DATE = lv_x_gen_date
         X_SEQ_NUM = lv_x_seq_num
         _SCOPE = lv__scope
         _WAIT = lv__wait
         _COLLECT = lv__collect
         MANDT = lv_mandt
         BANKS = lv_banks
         BANKL = lv_bankl
         BANKN = lv_bankn
         ZLSCH = lv_zlsch
         GEN_DATE = lv_gen_date
         SEQ_NUM = lv_seq_num
         X_BANKS = lv_x_banks
    EXCEPTIONS
        FOREIGN_LOCK = 1
        SYSTEM_FAILURE = 2
. " ENQUEUE_EFKKBRINSEQ




ABAP code using 7.40 inline data declarations to call FM ENQUEUE_EFKKBRINSEQ

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_fkkbrinseq) = 'E'.
 
DATA(ld_x_bankl) = ' '.
 
DATA(ld_x_bankn) = ' '.
 
DATA(ld_x_zlsch) = ' '.
 
DATA(ld_x_gen_date) = ' '.
 
DATA(ld_x_seq_num) = ' '.
 
DATA(ld__scope) = '2'.
 
DATA(ld__wait) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single MANDT FROM FKKBRINSEQ INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
 
"SELECT single BANKS FROM FKKBRINSEQ INTO @DATA(ld_banks).
 
"SELECT single BANKL FROM FKKBRINSEQ INTO @DATA(ld_bankl).
 
"SELECT single BANKN FROM FKKBRINSEQ INTO @DATA(ld_bankn).
 
"SELECT single ZLSCH FROM FKKBRINSEQ INTO @DATA(ld_zlsch).
 
"SELECT single GEN_DATE FROM FKKBRINSEQ INTO @DATA(ld_gen_date).
 
"SELECT single SEQ_NUM FROM FKKBRINSEQ INTO @DATA(ld_seq_num).
 
DATA(ld_x_banks) = ' '.
 


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!