SAP Reports / Programs | Application Platform | Integrated Product and Process Engineering(AP-PPE) SAP AP

PPELIENG_LOCK_IMP SAP ABAP INCLUDE - Implementation of Local Class for Lock Management in iPPE Engine







PPELIENG_LOCK_IMP is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter PPELIENG_LOCK_IMP into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT PPELIENG_LOCK_IMP. "Basic submit
SUBMIT PPELIENG_LOCK_IMP AND RETURN. "Return to original report after report execution complete
SUBMIT PPELIENG_LOCK_IMP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Implementation of Local Class for Lock Management in iPPE Engine


INCLUDES used within this REPORT PPELIENG_LOCK_IMP

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

ENQUEUE_EPNODE call function 'ENQUEUE_EPNODE' exporting mode_pnodid_li = im_lock_mode mandt = sy-mandt applobj_type = ls_pnodid-applobj_type pname = ls_pnodid-pname nameid = ls_pnodid-nameid clint = ls_pnodid-clint x_clint = ppet_true _wait = lv_wait _scope = cl_ppelieng_cntl=>settings-lock_scope exceptions foreign_lock = 1 system_failure = 2 others = 3.

DEQUEUE_EPNODE call function 'DEQUEUE_EPNODE' exporting mode_pnodid_li = im_lock_mode mandt = sy-mandt applobj_type = ls_pnodid-applobj_type pname = ls_pnodid-pname nameid = ls_pnodid-nameid clint = ls_pnodid-clint x_clint = ppet_true exceptions others = 1.

ENQUEUE_EVAR call function 'ENQUEUE_EVAR' exporting mode_posvid_li = im_lock_mode mandt = sy-mandt pvname = ls_posvid-pvname nameid = ls_posvid-nameid _wait = lv_wait _scope = cl_ppelieng_cntl=>settings-lock_scope exceptions others = 1.

ENQUEUE_EPRELID call function 'ENQUEUE_EPRELID' exporting mode_prelid_li = im_lock_mode mandt = sy-mandt guid1 = ls_prelid-guid1 guid2 = ls_prelid-guid2 _wait = lv_wait _scope = cl_ppelieng_cntl=>settings-lock_scope exceptions foreign_lock = 1 system_failure = 2 others = 3.

DEQUEUE_EPRELID call function 'DEQUEUE_EPRELID' exporting mode_prelid_li = im_lock_mode mandt = sy-mandt guid1 = im_prelid-guid1 guid2 = im_prelid-guid2 exceptions others = 1.

DEQUEUE_EPNODE call function 'DEQUEUE_EPNODE' exporting mode_pnodid_li = ppet_lock_mode-exclusive mandt = sy-mandt applobj_type = ls_pnodid-applobj_type pname = ls_pnodid-pname nameid = ls_pnodid-nameid clint = ls_pnodid-clint x_clint = ppet_true exceptions others = 1.

ENQUEUE_EPNODE call function 'ENQUEUE_EPNODE' exporting mode_pnodid_li = ppet_lock_mode-shared mandt = sy-mandt applobj_type = ls_pnodid-applobj_type pname = ls_pnodid-pname nameid = ls_pnodid-nameid clint = ls_pnodid-clint x_clint = ppet_true _wait = lv_wait _scope = cl_ppelieng_cntl=>settings-lock_scope exceptions others = 1.

DEQUEUE_EPNODE call function 'DEQUEUE_EPNODE' exporting mode_pnodid_li = ls_locked-mode mandt = sy-mandt applobj_type = ls_pnodid-applobj_type pname = ls_pnodid-pname nameid = ls_pnodid-nameid clint = ls_pnodid-clint x_clint = ppet_true exceptions others = 1.

ENQUEUE_EPVAR

ENQUEUE_EVAR * CALL FUNCTION 'ENQUEUE_EPVAR' "DEL925934 call function 'ENQUEUE_EVAR' "INS925934 exporting * mode_pnodid_li = ppet_lock_mode-shared "DEL927267 mode_posvid_li = ppet_lock_mode-shared "INS927267 mandt = sy-mandt pvname = ls_posvid-pvname nameid = ls_posvid-nameid _wait = lv_wait _scope = cl_ppelieng_cntl=>settings-lock_scope exceptions others = 1.

DEQUEUE_EVAR call function 'DEQUEUE_EVAR' exporting mode_posvid_li = ppet_lock_mode-exclusive mandt = sy-mandt pvname = ls_posvid-pvname nameid = ls_posvid-nameid.

DEQUEUE_EVAR call function 'DEQUEUE_EVAR' exporting mode_posvid_li = ls_locked-mode mandt = sy-mandt pvname = ls_posvid-pvname nameid = ls_posvid-nameid.

DEQUEUE_EPRELID call function 'DEQUEUE_EPRELID' exporting mode_prelid_li = ls_locked-mode mandt = sy-mandt guid1 = ls_prelid-guid1 guid2 = ls_prelid-guid2 exceptions others = 1.

DEQUEUE_ALL call function 'DEQUEUE_ALL' exporting _synchron = ppet_true.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name PPELIENG_LOCK_IMP or its description.