SAP ABAP Class CL_PS_PROJECT_MAINTAIN (Create Project from Standard)
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_PROJECT_MAINTAIN | |
| Short Description | Create Project from Standard | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PSB_API | PS API Package |
| Created | 20090807 | SAP |
| Last change | 20110908 | 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 CL_PS_PROJECT_MAINTAIN has no interface implemented.
Friends
Class CL_PS_PROJECT_MAINTAIN has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_PS_PROJECT_MAINTAIN | Create Project from Standard | 20090826 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | SY-UZEIT | Current Time of Application Server | 20100128 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Checks if several WBS elements are allowed at level 1 | 20091113 | |
| 2 | Instance method | Public | Method | Create Project from Template | 20091201 | |
| 3 | Instance method | Private | Method | Determine new ids for WBS and Project objects | 20091201 | |
| 4 | Static method | Public | Method | Generates Singleton Instance | 20090807 | |
| 5 | Instance method | Private | Method | Initialize Project and WBS Buffers | 20091218 | |
| 6 | Instance method | Private | Method | Modify Hierararchy | 20100130 | |
| 7 | Instance method | Public | Method | Create/Change Project | 20091126 | |
| 8 | Instance method | Public | Method | Precommit Project | 20090902 | |
| 9 | Instance method | Public | Method | Create/Change WBS Element(s) | 20091126 |
Events
Class CL_PS_PROJECT_MAINTAIN has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GTY_PSTAB_ST | Private | See coding | 20091128 | BEGIN OF gty_pstab_st.
INCLUDE TYPE prps.
INCLUDE TYPE pstabd.
TYPES: END OF gty_pstab_st
|
||
| 2 | GTY_PSTAB_TT | Private | See coding | 20091128 | gty_pstab_tt TYPE STANDARD TABLE OF gty_pstab_st
|
Method Signatures
Method CHECK_SEVERAL_WBS_ALLOWED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ALLOWED | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091113 | |||
| 2 | IV_NO_OF_NEW_WBS_SUBTREES | Call by reference | Type reference (TYPE) | I | 20091118 | ||||
| 3 | IV_PROFILE | Call by reference | Type reference (TYPE) | PROJ-PROFL | Project Profile | 20091113 | |||
| 4 | IV_PSPNR | Call by reference | Type reference (TYPE) | PROJ-PSPNR | Project definition (internal) | 20091113 |
Method CHECK_SEVERAL_WBS_ALLOWED on class CL_PS_PROJECT_MAINTAIN has no exception.
Method CREATE_PROJECT_FROM_TEMPLATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_NEW_PROJ | Call by reference | Type reference (TYPE) | PROJ | Project definition | 20091201 | |||
| 2 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20091201 | |||
| 3 | ET_WBS_ELEMENTS | Call by reference | Type reference (TYPE) | PSB_BO_WBS_TT | WBS - Table type | 20091201 | |||
| 4 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091201 | |||
| 5 | IV_ID_PART1 | Call by reference | Type reference (TYPE) | CHAR40 | For new Project ID determination | 20091201 | |||
| 6 | IV_ID_PART2 | Call by reference | Type reference (TYPE) | CHAR6 | For new WBS ID determination | 20091201 | |||
| 7 | IV_STD_PROJ_ID | Call by reference | Type reference (TYPE) | PROJS-PSPID | Project definition for standard project | 20091201 |
Method CREATE_PROJECT_FROM_TEMPLATE on class CL_PS_PROJECT_MAINTAIN has no exception.
Method DETERMINE_OBJECT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_OPER_OBJ_ID | Call by reference | Type reference (TYPE) | PRPS-POSID | ID of Operative Object | 20091201 | |||
| 2 | IV_ID_PART1 | Call by reference | Type reference (TYPE) | CHAR40 | First Part of the ID | 20091201 | |||
| 3 | IV_ID_PART2 | Call by reference | Type reference (TYPE) | CHAR6 | Second Part of the ID | 20091201 | |||
| 4 | IV_OPER_PROJ_ID | Call by reference | Type reference (TYPE) | PROJ-PSPID | Project Definition | 20091201 | |||
| 5 | IV_STD_OBJ_ID | Call by reference | Type reference (TYPE) | PRPSS-POSID | ID of Standard Object | 20091201 | |||
| 6 | IV_WBS_FLAG | Call by reference | Type reference (TYPE) | FLAG | ' ' | 'X' for WBS Object | 20091201 |
Method DETERMINE_OBJECT_ID on class CL_PS_PROJECT_MAINTAIN has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_PS_PROJECT_MAINTAIN | Create Project from Standard | 20090807 |
Method GET_INSTANCE on class CL_PS_PROJECT_MAINTAIN has no exception.
Method INITIALIZE_BUFFERS Signature
Method INITIALIZE_BUFFERS on class CL_PS_PROJECT_MAINTAIN has no parameter.
Method INITIALIZE_BUFFERS on class CL_PS_PROJECT_MAINTAIN has no exception.
Method MAINTAIN_HIERARCHY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100130 | |||
| 2 | CT_WBS_ELEMENTS | Call by reference | Type reference (TYPE) | PSB_BO_WBS_TT | WBS - Table type | 20100130 | |||
| 3 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100130 |
Method MAINTAIN_HIERARCHY on class CL_PS_PROJECT_MAINTAIN has no exception.
Method PROJECT_MAINTAIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_PROJECT | Call by reference | Type reference (TYPE) | PROJ | Project definition | 20091126 | |||
| 2 | CT_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20091126 | |||
| 3 | CT_WBS_ELEMENTS | Call by reference | Type reference (TYPE) | PSB_BO_WBS_TT | WBS - Table type | 20091126 | |||
| 4 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091128 | |||
| 5 | IV_PROJECT_ID | Call by reference | Type reference (TYPE) | PS_PSPID | Project Definition | 20091126 |
Method PROJECT_MAINTAIN on class CL_PS_PROJECT_MAINTAIN has no exception.
Method PROJECT_PRECOMMIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20090904 | |||
| 2 | ET_OBJNR | Call by reference | Type reference (TYPE) | IONRC_TAB | Temporary <> Final Object Number Table Type | 20090902 | |||
| 3 | ET_PSPHI | Call by reference | Type reference (TYPE) | RCJDW_NEWN_TAB | Temporary Table Type <> Final WBS Number | 20090902 | |||
| 4 | ET_PSPNR | Call by reference | Type reference (TYPE) | RCJDW_NEWN_TAB | Temporary Table Type <> Final WBS Number | 20090902 | |||
| 5 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090902 |
Method PROJECT_PRECOMMIT on class CL_PS_PROJECT_MAINTAIN has no exception.
Method WBS_MAINTAIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20091126 | |||
| 2 | CT_WBS_ELEMENTS | Call by reference | Type reference (TYPE) | PSB_BO_WBS_TT | WBS - Table type | 20091128 | |||
| 3 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091128 | |||
| 4 | IV_PROJECT | Call by reference | Type reference (TYPE) | PROJ-PSPID | Project definition | 20091127 |
Method WBS_MAINTAIN on class CL_PS_PROJECT_MAINTAIN has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 605 |