Hierarchy
⤷
⤷
Properties
| Class | CL_PS_OBJ_BO | |
| Short Description | BO class for PS objects | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PSB_MD_BO | PS Project/WBS Master data BO |
| Created | 20090728 | 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 CL_PS_OBJ_BO has no interface implemented.
Friends
Class CL_PS_OBJ_BO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CHAR2 | 'BO' | Version Number Component | 20091023 | ||
| 2 | Static Attribute | Public | Type reference (TYPE) | BOOLE_D | ABAP_TRUE | DELETE THIS | 20100104 | ||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_PS_HIERARCHY | Handling project hierachy information | 20090907 | |||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_PS_OBJ_BO | BO class for PS objects | 20090902 | |||
| 5 | Static Attribute | Public | Type reference (TYPE) | GTY_DDIC_INFO_TT | Classic table DDIC info | 20100129 | |||
| 6 | Static Attribute | Public | Type reference (TYPE) | GTY_DDIC_INFO_TT | BO table DDIC info | 20100129 | |||
| 7 | Static Attribute | Public | Type reference (TYPE) | PSB_BO_SDI_ATTR_TT | Table type for Linked SD Objects | 20091119 | |||
| 8 | Static Attribute | Public | Type reference (TYPE) | VBELN_VA | Loaded Sales Doc Context | 20091119 | |||
| 9 | Static Attribute | Public | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20091119 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | PSB_BO_HIER_ATTR_TT | Table of Hierarchy attribute structure | 20090824 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | PSB_BO_HIER_KEY_TT | Table of Hierarchy Key structure | 20090824 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | GTY_PRHI_TT | table type for prhi | 20100107 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | PSB_BO_WBS_ATTR_TT | WBS Element Attribute BO Structure | 20090824 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | I | 20090824 | ||||
| 15 | Instance attribute | Private | Type reference (TYPE) | PROJ-OBJNR | Object number | 20090730 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | PROJ-PSPID | Project Definition | 20090729 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check Before Save | 20090902 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20090729 | |
| 3 | Instance method | Private | Method | Convert PS Hierarchy table to BO Hierarchy table | 20090902 | |
| 4 | Static method | Public | Method | Get Text fields for the WBS Attributes | 20091113 | |
| 5 | Static method | Public | Method | Get the Authorization for a specific project | 20100125 | |
| 6 | Instance method | Public | Method | Get the Current Hierarchy | 20090824 | |
| 7 | Static method | Public | Method | Get an instance | 20090729 | |
| 8 | Static method | Public | Method | Get PS Objects and SD Item relations | 20091119 | |
| 9 | Instance method | Public | Method | Get POSID for the OBJNR | 20091106 | |
| 10 | Static method | Public | Method | Get PS Attribute Properties | 20090826 | |
| 11 | Instance method | Private | Method | Get temporary BO OBJNR | 20090824 | |
| 12 | Instance method | Public | Method | Read HIERARCHY details | 20090902 | |
| 13 | Instance method | Public | Method | Hierarchy Initialisation | 20090911 | |
| 14 | Static method | Public | Method | Is the OBJNR a BO temp Number | 20090825 | |
| 15 | Instance method | Private | Method | Load Global Buffer | 20090824 | |
| 16 | Static method | Public | Method | Load a new Project | 20090902 | |
| 17 | Static method | Public | Method | Load the SD links for the SD or WBS | 20091118 | |
| 18 | Instance method | Public | Method | Lock the Root PS Object | 20090903 | |
| 19 | Instance method | Public | Method | Read Project details | 20090902 | |
| 20 | Static method | Public | Method | Clear the Buffer | 20090824 | |
| 21 | Static method | Public | Method | Sales Order Description | 20100202 | |
| 22 | Static method | Public | Method | Unlock the Root PS object | 20091009 | |
| 23 | Instance method | Public | Method | Read WBS details | 20090902 | |
| 24 | Instance method | Public | Method | Create an empty WBS element with Init Values | 20090902 | |
| 25 | Instance method | Public | Method | Maintain WBS element | 20090902 |
Events
Class CL_PS_OBJ_BO has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GTY_DDIC_INFO_TT | Public | See coding | 20100129 | gty_ddic_info_tt TYPE TABLE OF dd03p
WITH NON-UNIQUE SORTED KEY fld COMPONENTS fieldname
|
||
| 2 | GTY_PRHI_TT | Public | See coding | 20100111 | gty_prhi_tt TYPE STANDARD TABLE OF prhi
WITH NON-UNIQUE KEY primary_key
COMPONENTS psphi up left
WITH UNIQUE SORTED KEY posnr_key
COMPONENTS posnr
WITH NON-UNIQUE SORTED KEY up_key
COMPONENTS up
WITH NON-UNIQUE SORTED KEY left_key
COMPONENTS left
|
||
| 3 | GTY_PS_OBJ_ST | Public | See coding | 20090729 | BEGIN OF gty_ps_obj_st,
pspid TYPE proj-pspid,
obj_inst TYPE REF TO cl_ps_obj_bo,
END OF gty_ps_obj_st
|
||
| 4 | GTY_PS_OBJ_TT | Public | See coding | 20090729 | gty_ps_obj_tt TYPE SORTED TABLE OF gty_ps_obj_st
WITH UNIQUE KEY pspid
|
Method Signatures
Method CHECK_BEFORE_SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20090918 | |||
| 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 CHECK_BEFORE_SAVE on class CL_PS_OBJ_BO has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJNR | Call by reference | Type reference (TYPE) | PROJ-OBJNR | Object number | 20090730 | |||
| 2 | IV_PSPID | Call by reference | Type reference (TYPE) | PROJ-PSPID | Project Definition | 20090729 |
Method CONSTRUCTOR on class CL_PS_OBJ_BO has no exception.
Method CONV_PSHIER2BOHIER Signature
Method CONV_PSHIER2BOHIER on class CL_PS_OBJ_BO has no parameter.
Method CONV_PSHIER2BOHIER on class CL_PS_OBJ_BO has no exception.
Method FILL_WBS_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_WBS_ATTR | Call by reference | Type reference (TYPE) | PSB_BO_WBS_ATTR_ST | WBS Element Attribute BO Structure | 20091113 |
Method FILL_WBS_TEXT on class CL_PS_OBJ_BO has no exception.
Method GET_AUTHORIZATION_PROJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100125 | |||
| 2 | EX_ACTIVE | Call by reference | Type reference (TYPE) | RCJ_MARKL-MARK | Selection Indicator | 20100125 | |||
| 3 | EX_DISPLAY | Call by reference | Type reference (TYPE) | RCJ_MARKL-MARK | Selection Indicator | 20100125 | |||
| 4 | IS_PROJ | Call by reference | Type reference (TYPE) | PROJ | Project definition | 20100125 |
Method GET_AUTHORIZATION_PROJECT on class CL_PS_OBJ_BO has no exception.
Method GET_CURRENT_HIERARCHY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_HIERARCHY | Call by reference | Type reference (TYPE) | PSB_BO_HIER_KEY_TT | Table of Hierarchy Key structure | 20090824 |
Method GET_CURRENT_HIERARCHY on class CL_PS_OBJ_BO has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_PS_OBJ_INST | Call by reference | Object reference (TYPE REF TO) | CL_PS_OBJ_BO | BO class for PS objects | 20090729 | |||
| 2 | IV_OBJNR | Call by reference | Type reference (TYPE) | PROJ-OBJNR | Object number | 20090730 | |||
| 3 | IV_PSPID | Call by reference | Type reference (TYPE) | PROJ-PSPID | Project Definition | 20090729 |
Method GET_INSTANCE on class CL_PS_OBJ_BO has no exception.
Method GET_LINKED_SDI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20091119 | |||
| 2 | ET_PROJECT | Call by reference | Type reference (TYPE) | PSB_BO_PRJ_KEY_TT | Table type of project Keys | 20091119 | |||
| 3 | ET_SDI | Call by reference | Type reference (TYPE) | PSB_BO_SDI_ATTR_TT | Table type for Linked SD Objects | 20091119 | |||
| 4 | IV_FILTER_BY_WBS | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20091119 |
Method GET_LINKED_SDI on class CL_PS_OBJ_BO has no exception.
Method GET_POSID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_POSID | Call by reference | Type reference (TYPE) | PS_POSID | Work Breakdown Structure Element (WBS Element) | 20091106 | |||
| 2 | IV_OBJNR | Call by reference | Type reference (TYPE) | PROJ-OBJNR | Object number | 20091106 |
Method GET_POSID on class CL_PS_OBJ_BO has no exception.
Method GET_PS_ATTR_PROPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ATTR_PROPS | Call by reference | Type reference (TYPE) | PSB_BO_FLD_ATTR_TT | Table of Field Attributes | 20090826 | |||
| 2 | IS_ATTRIBUTES | Call by reference | Type reference (TYPE) | ANY | BO structure containing the data | 20090826 | |||
| 3 | IS_REF_ATTR_STR | Call by reference | Type reference (TYPE) | ANY | Get the Attr Props with reference to this structure | 20100129 | |||
| 4 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | the component for which the field attributes are retrieved | 20100204 | |||
| 5 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20090826 | |||
| 6 | IV_OBJTYPE | Call by reference | Type reference (TYPE) | J_OBART | Object Type | 20090901 | |||
| 7 | IV_SUPPRESS_STRNAME | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20090901 |
Method GET_PS_ATTR_PROPS on class CL_PS_OBJ_BO has no exception.
Method GET_TMP_BO_OBJNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_TMP_OBJNR | Value transfer | Type reference (TYPE) | J_OBJNR | Object number | 20090824 |
Method GET_TMP_BO_OBJNR on class CL_PS_OBJ_BO has no exception.
Method HIER_DETAILS_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_HIERARCHY | Call by reference | Type reference (TYPE) | PSB_BO_HIER_ATTR_TT | Table of Hierarchy attribute structure | 20090902 | |||
| 2 | IS_HIERARCHY | Call by reference | Type reference (TYPE) | PSB_BO_HIER_KEY_ST | BO Hierarchy Key structure | 20090902 |
Method HIER_DETAILS_READ on class CL_PS_OBJ_BO has no exception.
Method HIER_INIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_HIER_KEY | Call by reference | Type reference (TYPE) | PSB_BO_HIER_KEY_ST | Key need not be fully qualified | 20090911 | |||
| 2 | ES_HIER_ATTR | Call by reference | Type reference (TYPE) | PSB_BO_HIER_ATTR_ST | Attribute Structure for HIERACHY Node in BO | 20090911 |
Method HIER_INIT on class CL_PS_OBJ_BO has no exception.
Method IS_TMP_BO_OBJNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20090825 | |||
| 2 | RV_FLAG | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090825 |
Method IS_TMP_BO_OBJNR on class CL_PS_OBJ_BO has no exception.
Method LOAD_GLOBAL_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_VBELN_DESC | Call by reference | Type reference (TYPE) | STRING | 20100202 | ||||
| 2 | IV_VBELN | Call by reference | Type reference (TYPE) | VBELN | Sales and Distribution Document Number | 20100202 |
Method LOAD_GLOBAL_BUFFER on class CL_PS_OBJ_BO has no exception.
Method LOAD_PROJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090903 | |||
| 2 | IV_OBJNR | Call by reference | Type reference (TYPE) | PROJ-OBJNR | Object number | 20090902 | |||
| 3 | IV_PSPID | Call by reference | Type reference (TYPE) | PROJ-PSPID | Project Definition | 20090902 |
Method LOAD_PROJECT on class CL_PS_OBJ_BO has no exception.
Method LOAD_SD_LINKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20091118 | |||
| 2 | IV_PROJ_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20091119 | |||
| 3 | IV_SALES_DOC | Call by reference | Type reference (TYPE) | VBELN_VA | Sales Document | 20091118 |
Method LOAD_SD_LINKS on class CL_PS_OBJ_BO has no exception.
Method LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Structure for message details along with attributes | 20090908 | |||
| 2 | EV_SEVERITY | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20090908 |
Method LOCK on class CL_PS_OBJ_BO has no exception.
Method PROJECT_DETAILS_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PRJ_ATTR | Call by reference | Type reference (TYPE) | PSB_BO_PRJ_ATTR_ST | Project definition | 20090925 |
Method PROJECT_DETAILS_READ on class CL_PS_OBJ_BO has no exception.
Method REFRESH_BUFFER Signature
Method REFRESH_BUFFER on class CL_PS_OBJ_BO has no parameter.
Method REFRESH_BUFFER on class CL_PS_OBJ_BO has no exception.
Method SD_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_VBELN_DESC | Call by reference | Type reference (TYPE) | CHAR80 | Char 80 | 20100202 | |||
| 2 | IV_VBELN | Call by reference | Type reference (TYPE) | VBELN | Sales and Distribution Document Number | 20100202 |
Method SD_DESCRIPTION on class CL_PS_OBJ_BO has no exception.
Method UNLOCK_ALL Signature
Method UNLOCK_ALL on class CL_PS_OBJ_BO has no parameter.
Method UNLOCK_ALL on class CL_PS_OBJ_BO has no exception.
Method WBS_DETAILS_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_WBS_ATTR | Call by reference | Type reference (TYPE) | PSB_BO_WBS_ATTR_ST | WBS attributes | 20090902 | |||
| 2 | IV_OBJNR | Call by reference | Type reference (TYPE) | PROJ-OBJNR | Object number | 20090902 |
Method WBS_DETAILS_READ on class CL_PS_OBJ_BO has no exception.
Method WBS_INIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_WBS_ATTR | Call by reference | Type reference (TYPE) | PSB_BO_WBS_ATTR_ST | WBS Element Attribute BO Structure | 20090902 | |||
| 2 | IV_RELATIVE_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20090902 |
Method WBS_INIT on class CL_PS_OBJ_BO has no exception.
Method WBS_MAINTAIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_NEW_WBS_KEY | Call by reference | Type reference (TYPE) | PSB_BO_WBS_KEY_ST | Key Structure for WBS Node in the BO Model | 20090902 | |||
| 2 | ES_WBS_ATTR | Call by reference | Type reference (TYPE) | PSB_BO_WBS_ATTR_ST | Updated WBS structure | 20091027 | |||
| 3 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Table type for message details | 20090902 | |||
| 4 | EV_MSG_SEVERITY | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20090923 | |||
| 5 | IS_HIER_KEY | Call by reference | Type reference (TYPE) | PSB_BO_HIER_KEY_ST | BO Hierarchy Key structure | 20090902 | |||
| 6 | IS_WBS_ATTR | Call by reference | Type reference (TYPE) | PSB_BO_WBS_ATTR_ST | WBS Element Attribute BO Structure | 20090902 | |||
| 7 | IT_WBS_CHG_ATTR | Call by reference | Type reference (TYPE) | PSB_BO_ATTR_CHG_TT | Table of attributes that got changed | 20090902 |
Method WBS_MAINTAIN on class CL_PS_OBJ_BO has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 605 |