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)
⤷ 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 | GET_NEXT_NUMBER | Static method | Public | Method | Returns the next number for a given ID | 20130131 |
2 | INIT | 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 | Importing | IV_ID | Call by reference | Type reference (TYPE) | CHAR10 | ID for number range | 20130131 | ||
2 | Returning | RV_NUMBER | Value transfer | Type reference (TYPE) | INT4 | Next number in range | 20130131 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SY_ARITHMETIC_OVERFLOW | System Exception for Arithmetic Overflow | 20130131 | |
2 | CX_UPG | Unknown ID | 20130131 |
Method INIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_ID | Call by reference | Type reference (TYPE) | CHAR10 | ID for number counting | 20130131 | ||
2 | Importing | 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 |