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
⤷ 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 | MMPUR | 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 | FALSE | Constant | Public | Type reference (TYPE) | BOOLEAN | SPACE | boolean variable (X=true, -=false, space=unknown) | 20030312 | |
2 | GO_INSTANCE | Static Attribute | Protected | Object reference (TYPE REF TO) | /SAPPSPRO/CL_NUMBERS | Basic Handling of Long Purchasing Document Numbers | 20030312 | ||
3 | GS_EXTERNAL_NUMBER | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/EADD_DATA | Purchasing Document Header: Data Part Additional Information | 20030516 | ||
4 | MT_NUMBERS_BY_EBELN | Instance attribute | Protected | Type reference (TYPE) | GTY_T_NUMBERS_BY_EBELN | Hash table sorted by ebeln | 20030312 | ||
5 | MT_NUMBERS_BY_LONGNUM | Instance attribute | Protected | Type reference (TYPE) | GTY_T_NUMBERS_BY_LONGNUM | Hash table sorted by longnum | 20030312 | ||
6 | MV_ACTIVE | Instance attribute | Protected | Type reference (TYPE) | BOOLEAN | TRUE | Active? | 20030414 | |
7 | TRUE | 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 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20030312 |
2 | GET_EXTERNAL | Static method | Public | Method | Get External number | 20030516 |
3 | IS_ACTIVE | Static method | Public | Method | Long number handling active? | 20030312 |
4 | LOOKUP | Static method | Public | Method | Long number by purchasing document number | 20030312 |
5 | LOOKUP_BY_LONGNUM | Static method | Public | Method | Document Number by long number | 20030312 |
6 | LOOKUP_GENERAL | Instance method | Protected | Method | Lookup number | 20030312 |
7 | LOOKUP_MANY | Static method | Public | Method | Mass Lookup | 20030317 |
8 | REFRESH | Static method | Public | Method | Refresh | 20030312 |
9 | SELECT_MANY | Instance method | Protected | Method | Mass access | 20030317 |
10 | SELECT_SINGLE | Instance method | Protected | Method | Read one single record from database | 20030312 |
11 | SET_EXTERNAL | 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 | Returning | 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 | Returning | 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 | Importing | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20030312 | ||
2 | Returning | RV_LONGNUM | Value transfer | Type reference (TYPE) | /SAPPSPRO/LONGNUM | Long Purchasing Document Number | 20030312 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPPSPRO/CX_NUMBER_NOT_FOUND | 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 | Importing | IV_LONGNUM | Call by reference | Type reference (TYPE) | /SAPPSPRO/LONGNUM | Long Purchasing Document Number | 20030312 | ||
2 | Returning | RV_EBELN | Value transfer | Type reference (TYPE) | EBELN | Purchasing Document Number | 20030312 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPPSPRO/CX_NUMBER_NOT_FOUND | 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 | Changing | 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 | /SAPPSPRO/CX_NUMBER_NOT_FOUND | 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 | Changing | CT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20030317 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPPSPRO/CX_NUMBER_WRONG_STRC | 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 | Changing | CT_TABLE_EBELN | Call by reference | Type reference (TYPE) | GTY_T_TODO_EBELN | 20030317 | |||
2 | Changing | 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 | Changing | 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 | /SAPPSPRO/CX_NUMBER_NOT_FOUND | 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 | Importing | 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 |