UNLOCK Statement (unlock_statement) Locate the document in its SAP Library structure

The UNLOCK statement releases Structure linkrows on rows.

Syntax

<unlock_statement> ::= UNLOCK <row_spec>... IN SHARE MODE
| UNLOCK <row_spec>... IN EXCLUSIVE MODE
| UNLOCK <row_spec>... IN SHARE MODE <row_spec>... IN EXCLUSIVE MODE
| UNLOCK <row_spec>... OPTIMISTIC

row_spec

Explanation

Using the UNLOCK statement, locks of the following types can be released within a transaction for single table rows that have not yet been changed: Structure linkshare locks, Structure linkoptimistic locks, and Structure linkexclusive locks.

If a row has not been inserted, changed, or deleted, its exclusive lock cannot be released using the UNLOCK statement.

The unlock statement does not fail if the specified lock does not exist or cannot be released.

See also:

Structure linkLock Behavior