SAP ABAP Class /SAPPSPRO/CL_NUMBERS (Basic Handling of Long Purchasing Document Numbers)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
MM (Application Component) Materials Management
⤷
/SAPPSPRO/PUR_BASIS (Package) tables, structures, general infrastructure
⤷
⤷
Properties
| Class | /SAPPSPRO/CL_NUMBERS | |
| Short Description | Basic Handling of Long Purchasing Document Numbers | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SAPPSPRO/PUR_BASIS | tables, structures, general infrastructure |
| Created | 20030312 | 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) |
Interfaces
Class /SAPPSPRO/CL_NUMBERS has no interface implemented.
Friends
Class /SAPPSPRO/CL_NUMBERS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | BOOLEAN | SPACE | boolean variable (X=true, -=false, space=unknown) | 20030312 | ||
| 2 | Static Attribute | Protected | Object reference (TYPE REF TO) | /SAPPSPRO/CL_NUMBERS | Basic Handling of Long Purchasing Document Numbers | 20030312 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/EADD_DATA | Purchasing Document Header: Data Part Additional Information | 20030516 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | GTY_T_NUMBERS_BY_EBELN | Hash table sorted by ebeln | 20030312 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | GTY_T_NUMBERS_BY_LONGNUM | Hash table sorted by longnum | 20030312 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | BOOLEAN | TRUE | Active? | 20030414 | ||
| 7 | Constant | Public | Type reference (TYPE) | BOOLEAN | 'X' | boolean variable (X=true, -=false, space=unknown) | 20030312 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20030312 | |
| 2 | Static method | Public | Method | Get External number | 20030516 | |
| 3 | Static method | Public | Method | Long number handling active? | 20030312 | |
| 4 | Static method | Public | Method | Long number by purchasing document number | 20030312 | |
| 5 | Static method | Public | Method | Document Number by long number | 20030312 | |
| 6 | Instance method | Protected | Method | Lookup number | 20030312 | |
| 7 | Static method | Public | Method | Mass Lookup | 20030317 | |
| 8 | Static method | Public | Method | Refresh | 20030312 | |
| 9 | Instance method | Protected | Method | Mass access | 20030317 | |
| 10 | Instance method | Protected | Method | Read one single record from database | 20030312 | |
| 11 | Static method | Public | Method | Set External Number | 20030516 |
Events
Class /SAPPSPRO/CL_NUMBERS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GTY_S_HASH_ENTRY | Protected | See coding | Structure of a hash table entry | 20030312 | |
|
| 2 | GTY_S_TODO | Protected | See coding | Mass select entry | 20030317 | |
|
| 3 | GTY_T_NUMBERS_BY_EBELN | Protected | See coding | Hash table sorted by ebeln | 20030312 | |
|
| 4 | GTY_T_NUMBERS_BY_LONGNUM | Protected | See coding | Hash table sorted by longnum | 20030312 | |
|
| 5 | GTY_T_TODO_EBELN | Protected | See coding | 20030317 | |
||
| 6 | GTY_T_TODO_LONGNUM | Protected | See coding | 20030317 | |
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /SAPPSPRO/CL_NUMBERS has no parameter.
Method CLASS_CONSTRUCTOR on class /SAPPSPRO/CL_NUMBERS has no exception.
Method GET_EXTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_NUMBER | Value transfer | Type reference (TYPE) | /SAPPSPRO/EADD_DATA | Purchasing Document Header: Data Part Additional Information | 20030516 |
Method GET_EXTERNAL on class /SAPPSPRO/CL_NUMBERS has no exception.
Method IS_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ACTIVE | Value transfer | Type reference (TYPE) | BOOLEAN | boolean variable (X=true, -=false, space=unknown) | 20030312 |
Method IS_ACTIVE on class /SAPPSPRO/CL_NUMBERS has no exception.
Method LOOKUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20030312 | |||
| 2 | RV_LONGNUM | Value transfer | Type reference (TYPE) | /SAPPSPRO/LONGNUM | Long Purchasing Document Number | 20030312 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Lookup of a number failed | 20030312 |
Method LOOKUP_BY_LONGNUM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LONGNUM | Call by reference | Type reference (TYPE) | /SAPPSPRO/LONGNUM | Long Purchasing Document Number | 20030312 | |||
| 2 | RV_EBELN | Value transfer | Type reference (TYPE) | EBELN | Purchasing Document Number | 20030312 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Lookup of a number failed | 20030312 |
Method LOOKUP_GENERAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_RESULT | Call by reference | Type reference (TYPE) | /SAPPSPRO/S_EBELN_LONGNUM | Mapping Document Number vs. Long Document Number | 20030312 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Lookup of a number failed | 20030312 |
Method LOOKUP_MANY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20030317 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Conversion table has wrong structure | 20030317 |
Method REFRESH Signature
Method REFRESH on class /SAPPSPRO/CL_NUMBERS has no parameter.
Method REFRESH on class /SAPPSPRO/CL_NUMBERS has no exception.
Method SELECT_MANY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TABLE_EBELN | Call by reference | Type reference (TYPE) | GTY_T_TODO_EBELN | 20030317 | ||||
| 2 | CT_TABLE_LONGNUM | Call by reference | Type reference (TYPE) | GTY_T_TODO_LONGNUM | 20030317 |
Method SELECT_MANY on class /SAPPSPRO/CL_NUMBERS has no exception.
Method SELECT_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_RESULT | Call by reference | Type reference (TYPE) | /SAPPSPRO/S_EBELN_LONGNUM | Mapping Document Number vs. Long Document Number | 20030312 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Lookup of a number failed | 20030312 |
Method SET_EXTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_NUMBER | Call by reference | Type reference (TYPE) | /SAPPSPRO/EADD_DATA | Purchasing Document Header: Data Part Additional Information | 20030516 |
Method SET_EXTERNAL on class /SAPPSPRO/CL_NUMBERS has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 10A |