ENQUEUE_EEV03VE 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 ENQUEUE_EEV03VE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
DWBEN/SAPLVEN0000
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ENQUEUE_EEV03VE' "Request lock for object EEV03VE
* EXPORTING
* mode_ev03v = 'E' " enqmode Lock mode for table EV03V
* mandt = SY-MANDT " ev03v-mandt 01th enqueue argument
* matnr = " ev03v-matnr 02th enqueue argument
* werks = " ev03v-werks 03th enqueue argument
* delkz = " ev03v-delkz 04th enqueue argument
* mbdat = " ev03v-mbdat 05th enqueue argument
* vbeln = " ev03v-vbeln 06th enqueue argument
* posnr = " ev03v-posnr 07th enqueue argument
* etenr = " ev03v-etenr 08th enqueue argument
* lgort = " ev03v-lgort 09th enqueue argument
* charg = " ev03v-charg 10th enqueue argument
* vbtyp = " ev03v-vbtyp 11th enqueue argument
* bdart = " ev03v-bdart 12th enqueue argument
* plart = " ev03v-plart 13th enqueue argument
* vpmat = " ev03v-vpmat 14th enqueue argument
* vpwrk = " ev03v-vpwrk 15th enqueue argument
* sumbd = " ev03v-sumbd 16th enqueue argument
* vmeng = " ev03v-vmeng 17th enqueue argument
* x_matnr = SPACE " Fill argument 02 with initial value?
* x_werks = SPACE " Fill argument 03 with initial value?
* x_delkz = SPACE " Fill argument 04 with initial value?
* x_mbdat = SPACE " Fill argument 05 with initial value?
* x_vbeln = SPACE " Fill argument 06 with initial value?
* x_posnr = SPACE " Fill argument 07 with initial value?
* x_etenr = SPACE " Fill argument 08 with initial value?
* x_lgort = SPACE " Fill argument 09 with initial value?
* x_charg = SPACE " Fill argument 10 with initial value?
* x_vbtyp = SPACE " Fill argument 11 with initial value?
* x_bdart = SPACE " Fill argument 12 with initial value?
* x_plart = SPACE " Fill argument 13 with initial value?
* x_vpmat = SPACE " Fill argument 14 with initial value?
* x_vpwrk = SPACE " Fill argument 15 with initial value?
* x_sumbd = SPACE " Fill argument 16 with initial value?
* x_vmeng = SPACE " Fill argument 17 with initial value?
* _scope = '2' "
* _wait = SPACE "
* _collect = ' ' " ddenqcoll Initially only collect lock
EXCEPTIONS
FOREIGN_LOCK = 1 " Object already locked
SYSTEM_FAILURE = 2 " Internal error from enqueue server
. " ENQUEUE_EEV03VE
The ABAP code below is a full code listing to execute function module ENQUEUE_EEV03VE 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_ev03v) = 'Check type of data required'.
DATA(ld_mandt) = Check type of data required
DATA(ld_matnr) = some text here
DATA(ld_werks) = some text here
DATA(ld_delkz) = some text here
DATA(ld_mbdat) = 20210129
DATA(ld_vbeln) = some text here
DATA(ld_posnr) = Check type of data required
DATA(ld_etenr) = Check type of data required
DATA(ld_lgort) = some text here
DATA(ld_charg) = some text here
DATA(ld_vbtyp) = some text here
DATA(ld_bdart) = some text here
DATA(ld_plart) = some text here
DATA(ld_vpmat) = some text here
DATA(ld_vpwrk) = some text here
DATA(ld_sumbd) = some text here
DATA(ld_vmeng) = Check type of data required
DATA(ld_x_matnr) = 'some text here'.
DATA(ld_x_werks) = 'some text here'.
DATA(ld_x_delkz) = 'some text here'.
DATA(ld_x_mbdat) = 'some text here'.
DATA(ld_x_vbeln) = 'some text here'.
DATA(ld_x_posnr) = 'some text here'.
DATA(ld_x_etenr) = 'some text here'.
DATA(ld_x_lgort) = 'some text here'.
DATA(ld_x_charg) = 'some text here'.
DATA(ld_x_vbtyp) = 'some text here'.
DATA(ld_x_bdart) = 'some text here'.
DATA(ld_x_plart) = 'some text here'.
DATA(ld_x_vpmat) = 'some text here'.
DATA(ld_x_vpwrk) = 'some text here'.
DATA(ld_x_sumbd) = 'some text here'.
DATA(ld_x_vmeng) = 'some text here'.
DATA(ld__scope) = 'some text here'.
DATA(ld__wait) = 'some text here'.
DATA(ld__collect) = 'Check type of data required'. . CALL FUNCTION 'ENQUEUE_EEV03VE' * EXPORTING * mode_ev03v = ld_mode_ev03v * mandt = ld_mandt * matnr = ld_matnr * werks = ld_werks * delkz = ld_delkz * mbdat = ld_mbdat * vbeln = ld_vbeln * posnr = ld_posnr * etenr = ld_etenr * lgort = ld_lgort * charg = ld_charg * vbtyp = ld_vbtyp * bdart = ld_bdart * plart = ld_plart * vpmat = ld_vpmat * vpwrk = ld_vpwrk * sumbd = ld_sumbd * vmeng = ld_vmeng * x_matnr = ld_x_matnr * x_werks = ld_x_werks * x_delkz = ld_x_delkz * x_mbdat = ld_x_mbdat * x_vbeln = ld_x_vbeln * x_posnr = ld_x_posnr * x_etenr = ld_x_etenr * x_lgort = ld_x_lgort * x_charg = ld_x_charg * x_vbtyp = ld_x_vbtyp * x_bdart = ld_x_bdart * x_plart = ld_x_plart * x_vpmat = ld_x_vpmat * x_vpwrk = ld_x_vpwrk * x_sumbd = ld_x_sumbd * x_vmeng = ld_x_vmeng * _scope = ld__scope * _wait = ld__wait * _collect = ld__collect EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 . " ENQUEUE_EEV03VE
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ENDIF.
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_ev03v | TYPE ENQMODE , |
| ld_mandt | TYPE EV03V-MANDT , |
| ld_matnr | TYPE EV03V-MATNR , |
| ld_werks | TYPE EV03V-WERKS , |
| ld_delkz | TYPE EV03V-DELKZ , |
| ld_mbdat | TYPE EV03V-MBDAT , |
| ld_vbeln | TYPE EV03V-VBELN , |
| ld_posnr | TYPE EV03V-POSNR , |
| ld_etenr | TYPE EV03V-ETENR , |
| ld_lgort | TYPE EV03V-LGORT , |
| ld_charg | TYPE EV03V-CHARG , |
| ld_vbtyp | TYPE EV03V-VBTYP , |
| ld_bdart | TYPE EV03V-BDART , |
| ld_plart | TYPE EV03V-PLART , |
| ld_vpmat | TYPE EV03V-VPMAT , |
| ld_vpwrk | TYPE EV03V-VPWRK , |
| ld_sumbd | TYPE EV03V-SUMBD , |
| ld_vmeng | TYPE EV03V-VMENG , |
| ld_x_matnr | TYPE STRING , |
| ld_x_werks | TYPE STRING , |
| ld_x_delkz | TYPE STRING , |
| ld_x_mbdat | TYPE STRING , |
| ld_x_vbeln | TYPE STRING , |
| ld_x_posnr | TYPE STRING , |
| ld_x_etenr | TYPE STRING , |
| ld_x_lgort | TYPE STRING , |
| ld_x_charg | TYPE STRING , |
| ld_x_vbtyp | TYPE STRING , |
| ld_x_bdart | TYPE STRING , |
| ld_x_plart | TYPE STRING , |
| ld_x_vpmat | TYPE STRING , |
| ld_x_vpwrk | TYPE STRING , |
| ld_x_sumbd | TYPE STRING , |
| ld_x_vmeng | TYPE STRING , |
| ld__scope | TYPE STRING , |
| ld__wait | TYPE STRING , |
| ld__collect | TYPE DDENQCOLL . |
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 ENQUEUE_EEV03VE or its description.
ENQUEUE_EEV03VE - Request lock for object EEV03VE ENQUEUE_EEUDB - Request lock for object EEUDB ENQUEUE_EESH_LOGSYS - Request lock for object EESH_LOGSYS ENQUEUE_EERKOPO - Request lock for object EERKOPO ENQUEUE_EEQUIPKPI - Request lock for object EEQUIPKPI ENQUEUE_EEPIC_CBC - Request lock for object EEPIC_CBC