/BOFU/CL_A_PPFOC_ROOT_LOCK - PPF Output History: Container Lock

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Functionality

Generic lock class to lock on node level by the instance key (global unified unique identifier).

The lock class supports all kinds of lock modes like optimistic lock, propagation of optimistic lock,shared lock and exclusive lock. In addition the class supports locking on node level and a generic lock (complete subtree).

Relationships

The class supports a depth of 3 of lockable nodes, i.e. with the construction of the lock argument genericlocks of the subtree are supported by this class. If this class is used for the very unlikely case ofa higher depth of lockable nodes these nodes are also locked, but the generic lock is not supportedany more, i.e. it could happen that a node of depth 3 is deleted and concurrently a node of depth 4is created with the deleted node instance as parent what would lead to inconsistencies on the database. If such scenarios could happen an own lock implementation needs to be provided.

Example

Notes

The business object name and thebusiness object node name (only for 2-level locking depth) are shown in transactionSM12 to identify the lock entries.

The lock argument is built in the following way:

  • 1-level locking depth (only root node lockable)
  • Business object name

  • Key of root node

  • 2-level locking depth
  • Business object name

  • Key of root node

  • Node name (of locked node)

  • Key of locked node

  • 3-level and higher locking depth
  • Business object name

  • Key of root node

  • Key of 2nd-level lockable node

  • Key of locked node

Further information



RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.


Length: 2466 Date: 20120526 Time: 052903     triton ( 89 ms )