Ansicht
Dokumentation

PAK_GET_LOCKED_WB_OBJECT - Returns the currently locked instance for a workbench object

PAK_GET_LOCKED_WB_OBJECT - Returns the currently locked instance for a workbench object

CL_GUI_FRONTEND_SERVICES - Frontend Services   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Returns the IF_PAK_WB_OBJECT instance of the current mode that holds an enqueue lock for the specified Workbench object.

You do not need this function module normally, but it can be useful in "special" cases, such as when integrating with code that relies on global state for handling locked objects etc. However, please note that this can hide one routine X's "re-using" (and then activating, unlocking etc.) an IF_PAK_WB_OBJECT instance that was originally locked by another, unrelated routine A, thus invalidating A's assumptions about the IF_PAK_WB_OBJECT instance, which can cause hard-to-analyze errors to occur in A. Therefore, use this technique only when there are no other options but never by default.

Example

Notes

Further information





Parameters

EX_LOCKED_WB_OBJECT
IM_NAME
IM_TYPE

Exceptions

Function Group

PAK_WB_FOUNDATION_LINK

Vendor Master (General Section)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1085 Date: 20240523 Time: 150636     sap01-206 ( 37 ms )