SAP ABAP Class CL_PS_API_UTIL (Utility Class for API)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
PS-ST (Application Component) Structures
⤷
PSB_API (Package) PS API Package
⤷
⤷
Properties
| Class | CL_PS_API_UTIL | |
| Short Description | Utility Class for API | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PSB_API | PS API Package |
| Created | 20090908 | SAP |
| Last change | 20110908 | SAP |
| 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) |
Interfaces
Class CL_PS_API_UTIL has no interface implemented.
Friends
Class CL_PS_API_UTIL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | PSB_USRFLD_KEY | User Fields keys | 20100823 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Convert Milestone Key to objnr | 20100629 | |
| 2 | Static method | Public | Method | Get Object Type From Objnr. | 20100820 | |
| 3 | Static method | Public | Method | Get Object number from aufpl and aplzl keys (for Activity) | 20101006 | |
| 4 | Static method | Public | Method | Get the relations by id | 20100104 | |
| 5 | Static method | Public | Method | Get Projects by WBS | 20090925 | |
| 6 | Static method | Public | Method | get WBS Userfield key | 20100823 | |
| 7 | Static method | Public | Method | 20090908 | ||
| 8 | Static method | Public | Method | Get Object Type From Objnr. | 20100929 | |
| 9 | Static method | Public | Method | Convert objnr to Milestone Key | 20100820 |
Events
Class CL_PS_API_UTIL has no event.
Types
Class CL_PS_API_UTIL has no local type.
Method Signatures
Method BUILD_MLST_OBJNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20100630 | |||
| 2 | IV_ACTY_FLG | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20100630 | |||
| 3 | IV_MLST_ZAEHL | Call by reference | Type reference (TYPE) | MLST_ZAEHL | Milestone number | 20100630 | |||
| 4 | IV_ZAEHL | Call by reference | Type reference (TYPE) | CIM_COUNT | Internal counter | 20100630 |
Method BUILD_MLST_OBJNR on class CL_PS_API_UTIL has no exception.
Method GET_OBJECT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_OBJECT_TYPE | Value transfer | Type reference (TYPE) | J_OBART | Object Type | 20100820 | |||
| 2 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20100820 |
Method GET_OBJECT_TYPE on class CL_PS_API_UTIL has no exception.
Method GET_OBJNR_BY_AUFPL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20101006 | |||
| 2 | IV_APLZL | Call by reference | Type reference (TYPE) | CIM_COUNT | Internal counter | 20101006 | |||
| 3 | IV_AUFPL | Call by reference | Type reference (TYPE) | CO_AUFPL | Routing number of operations in the order | 20101006 |
Method GET_OBJNR_BY_AUFPL on class CL_PS_API_UTIL has no exception.
Method GET_PRHI_BY_PSPNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PRHI | Call by reference | Type reference (TYPE) | TT_PRHI | table type for prhi | 20100104 | |||
| 2 | I_PSPNR | Call by reference | Type reference (TYPE) | PS_INTNR | Project definition (internal) | 20100104 |
Method GET_PRHI_BY_PSPNR on class CL_PS_API_UTIL has no exception.
Method GET_PRJ_BY_WBS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PROJ | Call by reference | Type reference (TYPE) | PSB_PRJ_KEY_TT | Table of Project Keys | 20090925 | |||
| 2 | IT_WBS_ID | Call by reference | Type reference (TYPE) | PSB_POSNR_TT | Table of PSPNR | 20090925 |
Method GET_PRJ_BY_WBS on class CL_PS_API_UTIL has no exception.
Method GET_USER_FIELDKEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_USERFIELD_KEY | Call by reference | Type reference (TYPE) | PSB_USRFLD_KEY | User Fields keys | 20100823 |
Method GET_USER_FIELDKEY on class CL_PS_API_UTIL has no exception.
Method GET_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PRIORITY | Call by reference | Type reference (TYPE) | PSB_TCN7T | Priority | 20090908 | |||
| 2 | ET_PROJ_TYPE | Call by reference | Type reference (TYPE) | TCJ1T_TT | All Fixed Values of an Attribute with Texts | 20090908 | |||
| 3 | IT_FIELD_NAMES | Call by reference | Type reference (TYPE) | DATA | 20090908 |
Method GET_VALUES on class CL_PS_API_UTIL has no exception.
Method IS_TEMP_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TEMP_OBJECT | Value transfer | Type reference (TYPE) | BOOLE_D | 20100929 | ||||
| 2 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20100929 |
Method IS_TEMP_OBJECT on class CL_PS_API_UTIL has no exception.
Method MLST_OBJNR_TO_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MLST_ZAEHL | Call by reference | Type reference (TYPE) | MLST_ZAEHL | Milestone number | 20100820 | |||
| 2 | EV_ZAEHL | Call by reference | Type reference (TYPE) | CIM_COUNT | Internal counter | 20100820 | |||
| 3 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20100820 |
Method MLST_OBJNR_TO_KEY on class CL_PS_API_UTIL has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 605 |