Ansicht
Dokumentation
PAK_LOCK_WB_OBJECT - Locks an IF_PAK_WB_OBJECT_INTERNAL instance
PERFORM Short Reference CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
Generic locking of IF_PAK_WB_OBJECT_INTERNAL instances. The function module contains most of what is needed as an adapter between RS_ACCESS_PERMISSION and concrete IF_PAK_WB_OBJECT_INTERNAL instances. The only information required from specific adapters is the factory method to create specific IF_PAK_WB_OBJECT_INTERNAL instances (parameter IM_WB_OBJECT_PROVIDER).
Please note that, through IM_WB_OBJECT_PROVIDER, a static dependency is introduced to the class structure of the specific IF_PAK_WB_OBJECT_INTERNAL implementation. This means that PAK_LOCK_WB_OBJECT should not be called directly from the RS_ACCESS_PERMISSION subroutines.
The function module will make sure that, if an object is already locked, a CX_PAK_INVALID_STATE (corresponds to FOREIGN_LOCK) exception will be raised, no matter if the lock request came from the workbench's activation popup or from clients of an IF_PAK_WB_OBJECT instance, even if the object was locked from within the same session.
Example
Notes
Further information
Parameters
IM_LOCK_MODEIM_NAME
IM_TYPE
IM_WB_OBJECT_PROVIDER
Exceptions
FOREIGN_LOCKILLEGAL_PARAMETER_VALUES
PERMISSION_FAILURE
SYSTEM_FAILURE
Function Group
PAK_WB_FOUNDATION_LINKGeneral Data in Customer Master CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 1578 Date: 20240523 Time: 141236 sap01-206 ( 33 ms )