SAP ABAP Class CL_UPG_COUNTER (Thread-safe number counter)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-UPG-TLS-TLA (Application Component) Upgrade Tools for ABAP
⤷
SAUS (Package) Transport Control (Repository Switch)
⤷
⤷
Properties
| Class | CL_UPG_COUNTER | |
| Short Description | Thread-safe number counter | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SAUS | Transport Control (Repository Switch) |
| Created | 20130131 | SAP |
| Last change | 20140120 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_UPG_COUNTER has no forward declaration.
Interfaces
Class CL_UPG_COUNTER has no interface implemented.
Friends
Class CL_UPG_COUNTER has no friend class.
Attributes
Class CL_UPG_COUNTER has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Returns the next number for a given ID | 20130131 | |
| 2 | Static method | Public | Method | Initialize number range for a given ID | 20130131 |
Events
Class CL_UPG_COUNTER has no event.
Types
Class CL_UPG_COUNTER has no local type.
Method Signatures
Method GET_NEXT_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | CHAR10 | ID for number range | 20130131 | |||
| 2 | RV_NUMBER | Value transfer | Type reference (TYPE) | INT4 | Next number in range | 20130131 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System Exception for Arithmetic Overflow | 20130131 | ||
| 2 | Unknown ID | 20130131 |
Method INIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | CHAR10 | ID for number counting | 20130131 | |||
| 2 | IV_START | Call by reference | Type reference (TYPE) | INT4 | 0 | Starting number | 20130131 |
Method INIT on class CL_UPG_COUNTER has no exception.
History
| Last changed by/on | SAP | 20140120 |
| SAP Release Created in | 740 |