!--a11y-->

For more information, see the function module documentation in the system.
CSL Basis Modules
|
Name |
Use |
|
CSLEO_ENQUEUE |
Requests a CSL lock or a certain token. If the token is not available locally, the module performs a synchronous RFC to move the token. The synchronous RFC can trigger a database commit. |
|
CSLEO_DEQUEUE |
Releases the standard lock of a token. Even if this module is not called, the runtime environment releases the standard locks at the end of the dialog or the update (depending on how long the lock was set for in CSLEO_ENQUEUE by PSCOPE). |
|
CSLEO_ADDREF |
Adds a token reference. The reference can be used with CSLEO_USEREF. |
|
CSLEO_USEREF |
Uses a token reference that was transferred from another subprocess. After the call, lock requests to the same token are successful. |

For information about using the
CSLEO_ENQEUE and CSLEO_DEQUEUE modules, see also: Cross-System Locks and Process Flow for Cross-System Locks. For information about using the CSLEO_ADDREF and CSLEO_USEREF modules, see also: Cross-Transaction Locks and Process Flow for Cross-Transaction Locks.Modules for Mass Processing
Each of the four basis modules of the CSL has a counterpart that you can use to request, release, or use more than one lock or reference. The names of the modules consist of the abbreviation
ARR (for array) and the module name of the call: CSLEO_ARR_ENQUEUE, CSLEO_ARR_DEQUEUE, CSLEO_ARR_ADDREF, CSLEO_ARR_USEREF. They are also called array modules.The array modules have exactly one parameter – the
PPARAMTABLE table parameter – and the exceptions of the corresponding basis module. Depending on the basis function, the table has a different row type but the structure is the same:
These function modules have to be used for mass locks. The application therefore profits directly from the performance optimization of the CSL.
Miscellaneous
|
Name |
Use |
|
CSLEO_FLUSH_ENQUEUE |
Sends accumulated lock requests. You accumulate lock requests by setting the PCOLLECT import parameter of the CSLEO_ENQUEUE function module. This is similar to the collect mechanism of standard locks. |
|
CSLEO_CHECK_EFFECTIVENESS |
Checks the effectiveness of the CSL for a given lock object type. |
