SAP ABAP Class CL_INM_NUMBERING_SERVICES (Development Projects: Services for Number Assignment)
Hierarchy
☛
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
⤷
PPM-CF (Application Component) Common Functions
⤷
INM_SHARED (Package) PPM Cross Application UI Objects
⤷
⤷
Properties
| Class | CL_INM_NUMBERING_SERVICES | |
| Short Description | Development Projects: Services for Number Assignment | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | DPR_SHARED | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | INM_SHARED | PPM Cross Application UI Objects |
| Created | 20120829 | SAP |
| Last change | 20141109 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_INM_NUMBERING_SERVICES has no interface implemented.
Friends
Class CL_INM_NUMBERING_SERVICES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | NROBJ | 'RPM_EXTID' | Number Range Object - RPM external ID | 20120910 | ||
| 2 | Constant | Private | Type reference (TYPE) | NROBJ | 'BU' | Number Range Object - RPM external ID | 20120910 | ||
| 3 | Constant | Private | Type reference (TYPE) | NROBJ | 'CO' | Name of number range object | 20120910 | ||
| 4 | Constant | Private | Type reference (TYPE) | NRNR | 'IN' | Number Range Number - Initiative | 20120910 | ||
| 5 | Constant | Private | Type reference (TYPE) | NROBJ | 'PT' | Name of number range object | 20120910 | ||
| 6 | Constant | Private | Type reference (TYPE) | NRNR | 'PV' | Number Range Number - Initiaitve Version | 20120910 | ||
| 7 | Constant | Private | Type reference (TYPE) | NRNR | 'PH' | Number Range Number - Initiative Version Header | 20120910 | ||
| 8 | Constant | Private | Type reference (TYPE) | NRNR | 'IT' | Number Range Number - Item | 20120910 | ||
| 9 | Constant | Private | Type reference (TYPE) | NROBJ | 'RT' | Name of number range object | 20120910 | ||
| 10 | Constant | Private | Type reference (TYPE) | NRNR | 'IV' | Number Range Number - Item version | 20120910 | ||
| 11 | Constant | Private | Type reference (TYPE) | NRNR | 'IH' | Number Range Number - Item Version Header | 20120910 | ||
| 12 | Constant | Private | Type reference (TYPE) | NROBJ | 'RE' | Name of number range object | 20120910 | ||
| 13 | Constant | Private | Type reference (TYPE) | NROBJ | 'WH' | Name of number range object | 20120910 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check number range activation switch | 20120829 | |
| 2 | Static method | Private | Method | Get number range object and object number for object type | 20120910 | |
| 3 | Static method | Private | Method | Generate a Number Range Interval | 20120910 | |
| 4 | Static method | Public | Method | Get next number for a given object type | 20120910 | |
| 5 | Static method | Private | Method | Call Next Number | 20120910 | |
| 6 | Static method | Public | Method | Get next number for portfolio object external id | 20120829 |
Events
Class CL_INM_NUMBERING_SERVICES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_NUMBER_RANGE | Protected | See coding | Number Range Number and Object | 20120910 | BEGIN OF ty_number_range,
number TYPE nrnr,
object TYPE nrobj,
END OF ty_number_range
|
Method Signatures
Method CHECK_NUMBER_RANGE_SWITCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VERSION | Call by reference | Type reference (TYPE) | RPM_FLAG | /RPM/CL_CO=>SC_FALSE | Flag | 20120829 | ||
| 2 | RV_OBJECT_NUMBER | Value transfer | Type reference (TYPE) | RPM_TV_VALUE | Settings Value | 20120829 |
Method CHECK_NUMBER_RANGE_SWITCH on class CL_INM_NUMBERING_SERVICES has no exception.
Method DERIVE_NUMBER_RANGE_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Category | 20120910 | |||
| 2 | IV_OBJ_NUM_RANGE | Call by reference | Type reference (TYPE) | NROBJ | Name of number range object | 20120910 | |||
| 3 | RS_NUMBER_RANGE | Value transfer | Type reference (TYPE) | TY_NUMBER_RANGE | Number Range Number and Object | 20120910 |
Method DERIVE_NUMBER_RANGE_NUMBER on class CL_INM_NUMBERING_SERVICES has no exception.
Method GENERATE_NUMBER_RANGE_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NUMBER_RANGE | Call by reference | Type reference (TYPE) | TY_NUMBER_RANGE | Number Range Number to Be Inserted | 20120910 | |||
| 2 | RV_RC | Value transfer | Type reference (TYPE) | I | Return Code | 20120910 |
Method GENERATE_NUMBER_RANGE_NUMBER on class CL_INM_NUMBERING_SERVICES has no exception.
Method GET_NEXT_EXTID_BY_OBJECT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NR_NUMBER | Call by reference | Type reference (TYPE) | NRNR | Number range number | 20120910 | |||
| 2 | IV_NR_OBJECT | Call by reference | Type reference (TYPE) | NROBJ | Name of number range object | 20120910 | |||
| 3 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Category | 20120910 | |||
| 4 | RV_EXTID | Value transfer | Type reference (TYPE) | CGPL_EXTID | External Identification | 20120910 |
Method GET_NEXT_EXTID_BY_OBJECT_TYPE on class CL_INM_NUMBERING_SERVICES has no exception.
Method GET_NEXT_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NUMBER | Value transfer | Type reference (TYPE) | DPR_TV_EXTID | External Identification | 20120910 | |||
| 2 | EV_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value | 20120910 | |||
| 3 | IV_NUMBER_RANGE | Call by reference | Type reference (TYPE) | TY_NUMBER_RANGE | Number Range Number to Be Inserted | 20120910 |
Method GET_NEXT_NUMBER on class CL_INM_NUMBERING_SERVICES has no exception.
Method GET_NEXT_PFM_EXTID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_OBJECT | Call by reference | Object reference (TYPE REF TO) | OBJECT | 20120829 | ||||
| 2 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Type in Project Planning | 20120829 | |||
| 3 | IV_TYPE | Call by reference | Type reference (TYPE) | /RPM/TV_ITEM_ID | Type | 20120829 | |||
| 4 | RV_EXTID | Value transfer | Type reference (TYPE) | CGPL_EXTID | Project Planning: External Indentifier of an Element | 20120829 |
Method GET_NEXT_PFM_EXTID on class CL_INM_NUMBERING_SERVICES has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in |