SAP ABAP Class CL_AST_ENQUEUE_TOOL (Enqueue for Unit Tests)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_SELFTEST_COMMON (Package) *NO* REUSE - Utitlities for RFC, Runtime and Workbench alike
⤷
⤷
Properties
| Class | CL_AST_ENQUEUE_TOOL | |
| Short Description | Enqueue for Unit Tests | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 5 | |
| Package | SABP_SELFTEST_COMMON | *NO* REUSE - Utitlities for RFC, Runtime and Workbench alike |
| Created | 20071023 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_AST_ENQUEUE_TOOL has no interface implemented.
Friends
Class CL_AST_ENQUEUE_TOOL has no friend class.
Attributes
Class CL_AST_ENQUEUE_TOOL has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Request Lock of TADIR Key and Abort if Unavailable | 20071023 | |
| 2 | Static method | Public | Method | Release Lock of TADIR Key | 20071023 | |
| 3 | Static method | Public | Method | Request Lock of TADIR Key | 20071023 |
Events
Class CL_AST_ENQUEUE_TOOL has no event.
Types
Class CL_AST_ENQUEUE_TOOL has no local type.
Method Signatures
Method LOCK_TADIR_KEY_OR_ABORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ENQUEUE_MODE | Call by reference | Type reference (TYPE) | ENQMODE | 'X' | Lock mode X = exclusive | 20071023 | ||
| 2 | I_MAX_WAIT | Call by reference | Type reference (TYPE) | INT1 | 0 | Wait up to n seconds, whereas n < 120 | 20071023 | ||
| 3 | I_OBJECT_NAME | Call by reference | Type reference (TYPE) | TADIR-OBJ_NAME | Key Component | 20071023 | |||
| 4 | I_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TADIR-OBJECT | Key Component | 20071023 | |||
| 5 | I_PGMID | Call by reference | Type reference (TYPE) | TADIR-PGMID | 'R3TR' | Key Component | 20071023 | ||
| 6 | I_QUIT | Value transfer | Type reference (TYPE) | AUNIT_FLOWCTRL | CL_AUNIT_ASSERT=>CLASS | The Unit of Test to Abort When Lock is Unavailable | 20071023 |
Method LOCK_TADIR_KEY_OR_ABORT on class CL_AST_ENQUEUE_TOOL has no exception.
Method RELEASE_LOCK_OF_TADIR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OBJECT_NAME | Call by reference | Type reference (TYPE) | TADIR-OBJ_NAME | Object Name in Object Directory | 20071023 | |||
| 2 | I_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TADIR-OBJECT | Object Type | 20071023 | |||
| 3 | I_PGMID | Call by reference | Type reference (TYPE) | TADIR-PGMID | 'R3TR' | Program ID in Requests and Tasks | 20071023 |
Method RELEASE_LOCK_OF_TADIR_KEY on class CL_AST_ENQUEUE_TOOL has no exception.
Method REQUEST_LOCK_OF_TADIR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ENQUEUE_MODE | Call by reference | Type reference (TYPE) | ENQMODE | 'X' | Lock mode X = exclusive | 20071023 | ||
| 2 | I_MAX_WAIT | Call by reference | Type reference (TYPE) | INT1 | 0 | Wait up to n seconds, whereas n < 120 | 20071023 | ||
| 3 | I_OBJECT_NAME | Call by reference | Type reference (TYPE) | TADIR-OBJ_NAME | Key Component | 20071023 | |||
| 4 | I_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TADIR-OBJECT | Key Component | 20071023 | |||
| 5 | I_PGMID | Call by reference | Type reference (TYPE) | TADIR-PGMID | 'R3TR' | Key Component | 20071023 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions with Dynamic Check Only of the RAISING Clause | 20071023 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 711 |