SAP ABAP Class CL_PS_OBJ_BO (BO class for PS objects)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PS-ST (Application Component) Structures
     PSB_MD_BO (Package) PS Project/WBS Master data BO
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 ABAP 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 GC_BO_TEMP_PRE Constant Public Type reference (TYPE) CHAR2 'BO' Version Number Component 20091023
2 GC_SWITCH Static Attribute Public Type reference (TYPE) BOOLE_D ABAP_TRUE DELETE THIS 20100104
3 GO_PS_HIER Static Attribute Private Object reference (TYPE REF TO) CL_PS_HIERARCHY Handling project hierachy information 20090907
4 GO_PS_OBJ Static Attribute Private Object reference (TYPE REF TO) CL_PS_OBJ_BO BO class for PS objects 20090902
5 GT_DDIC_INFO_CLS Static Attribute Public Type reference (TYPE) GTY_DDIC_INFO_TT Classic table DDIC info 20100129
6 GT_DDIC_INFO_REF Static Attribute Public Type reference (TYPE) GTY_DDIC_INFO_TT BO table DDIC info 20100129
7 GT_SDI_WBS Static Attribute Public Type reference (TYPE) PSB_BO_SDI_ATTR_TT Table type for Linked SD Objects 20091119
8 GV_SALES_DOC Static Attribute Public Type reference (TYPE) VBELN_VA Loaded Sales Doc Context 20091119
9 GV_SHOW_ALL_SD_ITEM Static Attribute Public Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20091119
10 MT_ATTR_HIERARCHY Instance attribute Private Type reference (TYPE) PSB_BO_HIER_ATTR_TT Table of Hierarchy attribute structure 20090824
11 MT_KEY_HIERARCHY Instance attribute Private Type reference (TYPE) PSB_BO_HIER_KEY_TT Table of Hierarchy Key structure 20090824
12 MT_PRHI Instance attribute Private Type reference (TYPE) GTY_PRHI_TT table type for prhi 20100107
13 MT_TEMP_WBS_ATTR Instance attribute Private Type reference (TYPE) PSB_BO_WBS_ATTR_TT WBS Element Attribute BO Structure 20090824
14 MV_BO_TMP_COUNT Instance attribute Private Type reference (TYPE) I 20090824
15 MV_OBJNR Instance attribute Private Type reference (TYPE) PROJ-OBJNR Object number 20090730
16 MV_PSPID Instance attribute Private Type reference (TYPE) PROJ-PSPID Project Definition 20090729
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_BEFORE_SAVE Instance method Public Method Check Before Save 20090902
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090729
3 CONV_PSHIER2BOHIER Instance method Private Method Convert PS Hierarchy table to BO Hierarchy table 20090902
4 FILL_WBS_TEXT Static method Public Method Get Text fields for the WBS Attributes 20091113
5 GET_AUTHORIZATION_PROJECT Static method Public Method Get the Authorization for a specific project 20100125
6 GET_CURRENT_HIERARCHY Instance method Public Method Get the Current Hierarchy 20090824
7 GET_INSTANCE Static method Public Method Get an instance 20090729
8 GET_LINKED_SDI Static method Public Method Get PS Objects and SD Item relations 20091119
9 GET_POSID Instance method Public Method Get POSID for the OBJNR 20091106
10 GET_PS_ATTR_PROPS Static method Public Method Get PS Attribute Properties 20090826
11 GET_TMP_BO_OBJNR Instance method Private Method Get temporary BO OBJNR 20090824
12 HIER_DETAILS_READ Instance method Public Method Read HIERARCHY details 20090902
13 HIER_INIT Instance method Public Method Hierarchy Initialisation 20090911
14 IS_TMP_BO_OBJNR Static method Public Method Is the OBJNR a BO temp Number 20090825
15 LOAD_GLOBAL_BUFFER Instance method Private Method Load Global Buffer 20090824
16 LOAD_PROJECT Static method Public Method Load a new Project 20090902
17 LOAD_SD_LINKS Static method Public Method Load the SD links for the SD or WBS 20091118
18 LOCK Instance method Public Method Lock the Root PS Object 20090903
19 PROJECT_DETAILS_READ Instance method Public Method Read Project details 20090902
20 REFRESH_BUFFER Static method Public Method Clear the Buffer 20090824
21 SD_DESCRIPTION Static method Public Method Sales Order Description 20100202
22 UNLOCK_ALL Static method Public Method Unlock the Root PS object 20091009
23 WBS_DETAILS_READ Instance method Public Method Read WBS details 20090902
24 WBS_INIT Instance method Public Method Create an empty WBS element with Init Values 20090902
25 WBS_MAINTAIN 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 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20090918
2 Exporting ET_OBJNR Call by reference Type reference (TYPE) IONRC_TAB Temporary <> Final Object Number Table Type 20090902
3 Exporting ET_PSPHI Call by reference Type reference (TYPE) RCJDW_NEWN_TAB Temporary Table Type <> Final WBS Number 20090902
4 Exporting ET_PSPNR Call by reference Type reference (TYPE) RCJDW_NEWN_TAB Temporary Table Type <> Final WBS Number 20090902
5 Exporting 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 Importing IV_OBJNR Call by reference Type reference (TYPE) PROJ-OBJNR Object number 20090730
2 Importing 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 Changing 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 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100125
2 Exporting EX_ACTIVE Call by reference Type reference (TYPE) RCJ_MARKL-MARK Selection Indicator 20100125
3 Exporting EX_DISPLAY Call by reference Type reference (TYPE) RCJ_MARKL-MARK Selection Indicator 20100125
4 Importing 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 Exporting 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 Exporting EO_PS_OBJ_INST Call by reference Object reference (TYPE REF TO) CL_PS_OBJ_BO BO class for PS objects 20090729
2 Importing IV_OBJNR Call by reference Type reference (TYPE) PROJ-OBJNR Object number 20090730
3 Importing 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 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20091119
2 Exporting ET_PROJECT Call by reference Type reference (TYPE) PSB_BO_PRJ_KEY_TT Table type of project Keys 20091119
3 Exporting ET_SDI Call by reference Type reference (TYPE) PSB_BO_SDI_ATTR_TT Table type for Linked SD Objects 20091119
4 Importing 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 Exporting EV_POSID Call by reference Type reference (TYPE) PS_POSID Work Breakdown Structure Element (WBS Element) 20091106
2 Importing 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 Exporting ET_ATTR_PROPS Call by reference Type reference (TYPE) PSB_BO_FLD_ATTR_TT Table of Field Attributes 20090826
2 Importing IS_ATTRIBUTES Call by reference Type reference (TYPE) ANY BO structure containing the data 20090826
3 Importing IS_REF_ATTR_STR Call by reference Type reference (TYPE) ANY Get the Attr Props with reference to this structure 20100129
4 Importing IV_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME the component for which the field attributes are retrieved 20100204
5 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20090826
6 Importing IV_OBJTYPE Call by reference Type reference (TYPE) J_OBART Object Type 20090901
7 Importing 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 Returning 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 Exporting ET_HIERARCHY Call by reference Type reference (TYPE) PSB_BO_HIER_ATTR_TT Table of Hierarchy attribute structure 20090902
2 Importing 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 Changing CS_HIER_KEY Call by reference Type reference (TYPE) PSB_BO_HIER_KEY_ST Key need not be fully qualified 20090911
2 Exporting 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 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20090825
2 Returning 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 Exporting EV_VBELN_DESC Call by reference Type reference (TYPE) STRING 20100202
2 Importing 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 Importing IV_LOCK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20090903
2 Importing IV_OBJNR Call by reference Type reference (TYPE) PROJ-OBJNR Object number 20090902
3 Importing 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 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20091118
2 Importing IV_PROJ_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20091119
3 Importing 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 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Structure for message details along with attributes 20090908
2 Exporting 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 Exporting 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 Exporting EV_VBELN_DESC Call by reference Type reference (TYPE) CHAR80 Char 80 20100202
2 Importing 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 Exporting ES_WBS_ATTR Call by reference Type reference (TYPE) PSB_BO_WBS_ATTR_ST WBS attributes 20090902
2 Importing 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 Exporting ES_WBS_ATTR Call by reference Type reference (TYPE) PSB_BO_WBS_ATTR_ST WBS Element Attribute BO Structure 20090902
2 Importing 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 Exporting 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 Exporting ES_WBS_ATTR Call by reference Type reference (TYPE) PSB_BO_WBS_ATTR_ST Updated WBS structure 20091027
3 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Table type for message details 20090902
4 Exporting EV_MSG_SEVERITY Call by reference Type reference (TYPE) SYMSGTY Message Type 20090923
5 Importing IS_HIER_KEY Call by reference Type reference (TYPE) PSB_BO_HIER_KEY_ST BO Hierarchy Key structure 20090902
6 Importing IS_WBS_ATTR Call by reference Type reference (TYPE) PSB_BO_WBS_ATTR_ST WBS Element Attribute BO Structure 20090902
7 Importing 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