SAP ABAP Class CL_PS_OBJ_BO_NEWAPI (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_NEWAPI  
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 20100713   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_NEWAPI has no interface implemented.
Friends
Class CL_PS_OBJ_BO_NEWAPI 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 'TM' Version Number Component 20100713
2 GC_SWITCH Static Attribute Public Type reference (TYPE) BOOLE_D ABAP_TRUE DELETE THIS 20100713
3 GO_PS_HIER Static Attribute Private Object reference (TYPE REF TO) CL_PS_HIERARCHY Handling project hierachy information 20100713
4 GO_PS_OBJ Static Attribute Private Object reference (TYPE REF TO) CL_PS_OBJ_BO_NEWAPI BO class for PS objects 20100713
5 GT_DDIC_INFO_CLS Static Attribute Public Type reference (TYPE) GTY_DDIC_INFO_TT Classic table DDIC info 20100713
6 GT_DDIC_INFO_REF Static Attribute Public Type reference (TYPE) GTY_DDIC_INFO_TT BO table DDIC info 20100713
7 GT_MESSAGE Static Attribute Public Type reference (TYPE) PS_MESSAGES Error messages 20101129
8 GT_SDI_WBS Static Attribute Public Type reference (TYPE) PSB_BO_SDI_ATTR_TT Table type for Linked SD Objects 20100713
9 GV_SALES_DOC Static Attribute Public Type reference (TYPE) VBELN_VA Loaded Sales Doc Context 20100713
10 GV_SHOW_ALL_SD_ITEM Static Attribute Public Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100713
11 MT_ATTR_HIERARCHY Instance attribute Private Type reference (TYPE) PSB_BO_HIER_ATTR_TT Table of Hierarchy attribute structure 20100713
12 MT_KEY_HIERARCHY Instance attribute Private Type reference (TYPE) PSB_BO_HIER_KEY_TT Table of Hierarchy Key structure 20100713
13 MT_PRHI Instance attribute Private Type reference (TYPE) GTY_PRHI_TT table type for prhi 20100713
14 MT_TEMP_WBS_ATTR Instance attribute Private Type reference (TYPE) PSB_BO_WBS_ATTR_TT WBS Element Attribute BO Structure 20100713
15 MV_BO_TMP_COUNT Instance attribute Private Type reference (TYPE) I 20100713
16 MV_OBJNR Instance attribute Private Type reference (TYPE) PROJ-OBJNR Object number 20100713
17 MV_PSPID Instance attribute Private Type reference (TYPE) PROJ-PSPID Project Definition 20100713
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_BEFORE_SAVE Instance method Public Method Check Before Save 20100713
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20100713
3 CONV_PS2BO_HIER_NEW Instance method Private Method Convert PS Hierarchy to BO Hierarchy using new api 20100916
4 CONV_PSHIER2BOHIER Instance method Private Method Convert PS Hierarchy table to BO Hierarchy table 20100713
5 FILL_WBS_TEXT Static method Public Method Get Text fields for the WBS Attributes 20100713
6 GET_AUTHORIZATION_PROJECT Static method Public Method Get the Authorization for a specific project 20100713
7 GET_CURRENT_HIERARCHY Instance method Public Method Get the Current Hierarchy 20100713
8 GET_INSTANCE Static method Public Method Get an instance 20100713
9 GET_LINKED_SDI Static method Public Method Get PS Objects and SD Item relations 20100713
10 GET_POSID Instance method Public Method Get POSID for the OBJNR 20100713
11 GET_PS_ATTR_PROPS Static method Public Method Get PS Attribute Properties 20100713
12 GET_TMP_BO_OBJNR Instance method Private Method Get temporary BO OBJNR 20100713
13 HIER_CHANGE Instance method Public Method Hierarchy Change on WBS Delete 20100916
14 HIER_DETAILS_READ Instance method Public Method Read HIERARCHY details 20100713
15 HIER_INIT Instance method Public Method Hierarchy Initialisation 20100713
16 IS_TMP_BO_OBJNR Static method Public Method Is the OBJNR a BO temp Number 20100713
17 LOAD_GLOBAL_BUFFER Instance method Private Method Load Global Buffer 20100713
18 LOAD_PROJECT Static method Public Method Load a new Project 20100713
19 LOAD_SD_LINKS Static method Public Method Load the SD links for the SD or WBS 20100713
20 LOCK Instance method Public Method Lock the Root PS Object 20100713
21 PARTNER_DETAILS_READ Instance method Public Method Read Partner details 20100826
22 PROJECT_DETAILS_READ Instance method Public Method Read Project details 20100713
23 PROJECT_MAINTAIN Instance method Public Method Maintain Project 20100825
24 REFRESH_BUFFER Static method Public Method Clear the Buffer 20100713
25 SD_DESCRIPTION Static method Public Method Sales Order Description 20100713
26 UNLOCK_ALL Static method Public Method Unlock the Root PS object 20100713
27 WBS_DETAILS_READ Instance method Public Method Read WBS details 20100713
28 WBS_INIT Instance method Public Method Create an empty WBS element with Init Values 20100713
29 WBS_MAINTAIN Instance method Public Method Maintain WBS element 20100713
Events
Class CL_PS_OBJ_BO_NEWAPI has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_DDIC_INFO_TT Public See coding 20100713 gty_ddic_info_tt TYPE TABLE OF dd03p WITH NON-UNIQUE SORTED KEY fld COMPONENTS fieldname
2 GTY_PRHI_TT Public See coding 20100713 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 20100713 BEGIN OF gty_ps_obj_st, pspid TYPE proj-pspid, obj_inst TYPE REF TO cl_ps_obj_bo_newapi, END OF gty_ps_obj_st
4 GTY_PS_OBJ_TT Public See coding 20100713 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 20100713
2 Exporting ET_OBJNR Call by reference Type reference (TYPE) IONRC_TAB Temporary <> Final Object Number Table Type 20100713
3 Exporting ET_PSPHI Call by reference Type reference (TYPE) RCJDW_NEWN_TAB Temporary Table Type <> Final WBS Number 20100713
4 Exporting ET_PSPNR Call by reference Type reference (TYPE) RCJDW_NEWN_TAB Temporary Table Type <> Final WBS Number 20100713
5 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100713

Method CHECK_BEFORE_SAVE on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Importing IV_PSPID Call by reference Type reference (TYPE) PROJ-PSPID Project Definition 20100713

Method CONSTRUCTOR on class CL_PS_OBJ_BO_NEWAPI has no exception.

Method CONV_PS2BO_HIER_NEW Signature

Method CONV_PS2BO_HIER_NEW on class CL_PS_OBJ_BO_NEWAPI has no parameter.
Method CONV_PS2BO_HIER_NEW on class CL_PS_OBJ_BO_NEWAPI has no exception.

Method CONV_PSHIER2BOHIER Signature

Method CONV_PSHIER2BOHIER on class CL_PS_OBJ_BO_NEWAPI has no parameter.
Method CONV_PSHIER2BOHIER on class CL_PS_OBJ_BO_NEWAPI 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 20100713

Method FILL_WBS_TEXT on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Exporting EX_ACTIVE Call by reference Type reference (TYPE) RCJ_MARKL-MARK Selection Indicator 20100713
3 Exporting EX_DISPLAY Call by reference Type reference (TYPE) RCJ_MARKL-MARK Selection Indicator 20100713
4 Importing IS_PROJ Call by reference Type reference (TYPE) PROJ Project definition 20100713

Method GET_AUTHORIZATION_PROJECT on class CL_PS_OBJ_BO_NEWAPI 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 20100713

Method GET_CURRENT_HIERARCHY on class CL_PS_OBJ_BO_NEWAPI 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_NEWAPI BO class for PS objects 20100713
2 Importing IV_OBJNR Call by reference Type reference (TYPE) PROJ-OBJNR Object number 20100713
3 Importing IV_PSPID Call by reference Type reference (TYPE) PROJ-PSPID Project Definition 20100713

Method GET_INSTANCE on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Exporting ET_PROJECT Call by reference Type reference (TYPE) PSB_BO_PRJ_KEY_TT Table type of project Keys 20100713
3 Exporting ET_SDI Call by reference Type reference (TYPE) PSB_BO_SDI_ATTR_TT Table type for Linked SD Objects 20100713
4 Importing IV_FILTER_BY_WBS Call by reference Type reference (TYPE) J_OBJNR Object number 20100713

Method GET_LINKED_SDI on class CL_PS_OBJ_BO_NEWAPI 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) 20100713
2 Importing IV_OBJNR Call by reference Type reference (TYPE) PROJ-OBJNR Object number 20100713

Method GET_POSID on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Importing IS_ATTRIBUTES Call by reference Type reference (TYPE) ANY BO structure containing the data 20100713
3 Importing IS_REF_ATTR_STR Call by reference Type reference (TYPE) ANY Get the Attr Props with reference to this structure 20100713
4 Importing IV_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME the component for which the field attributes are retrieved 20100713
5 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100713
6 Importing IV_OBJTYPE Call by reference Type reference (TYPE) J_OBART Object Type 20100713
7 Importing IV_SUPPRESS_STRNAME Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100713

Method GET_PS_ATTR_PROPS on class CL_PS_OBJ_BO_NEWAPI 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 20100713

Method GET_TMP_BO_OBJNR on class CL_PS_OBJ_BO_NEWAPI has no exception.

Method HIER_CHANGE 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_GENIL_HIER_KEY_ST Key Structure for HIERACHY Node in BOL 20100916
2 Exporting IT_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20110202

Method HIER_CHANGE on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Importing IS_HIERARCHY Call by reference Type reference (TYPE) PSB_BO_HIER_KEY_ST BO Hierarchy Key structure 20100713

Method HIER_DETAILS_READ on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Exporting ES_HIER_ATTR Call by reference Type reference (TYPE) PSB_BO_HIER_ATTR_ST Attribute Structure for HIERACHY Node in BO 20100713

Method HIER_INIT on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Returning RV_FLAG Value transfer Type reference (TYPE) ABAP_BOOL 20100713

Method IS_TMP_BO_OBJNR on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Importing IV_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20100713

Method LOAD_GLOBAL_BUFFER on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Importing IV_OBJNR Call by reference Type reference (TYPE) PROJ-OBJNR Object number 20100713
3 Importing IV_PSPID Call by reference Type reference (TYPE) PROJ-PSPID Project Definition 20100713

Method LOAD_PROJECT on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Importing IV_PROJ_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100713
3 Importing IV_SALES_DOC Call by reference Type reference (TYPE) VBELN_VA Sales Document 20100713

Method LOAD_SD_LINKS on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Exporting EV_SEVERITY Call by reference Type reference (TYPE) SYMSGTY Message Type 20100713

Method LOCK on class CL_PS_OBJ_BO_NEWAPI has no exception.

Method PARTNER_DETAILS_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PART_ATTR Call by reference Type reference (TYPE) PSB_BO_PARTNER_ATTR_ST Partner attributes 20100826
2 Importing IV_OBJNR Call by reference Type reference (TYPE) PROJ-OBJNR Object number 20100826

Method PARTNER_DETAILS_READ on class CL_PS_OBJ_BO_NEWAPI 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 20100713

Method PROJECT_DETAILS_READ on class CL_PS_OBJ_BO_NEWAPI has no exception.

Method PROJECT_MAINTAIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PROJ_ATTR Call by reference Type reference (TYPE) PSB_BO_PRJ_ATTR_ST Updated Project structure 20100825
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Table type for message details 20100825
3 Exporting EV_MSG_SEVERITY Call by reference Type reference (TYPE) SYMSGTY Message Type 20100825
4 Importing IS_HIER_KEY Call by reference Type reference (TYPE) PSB_BO_HIER_KEY_ST BO Hierarchy Key structure 20100825
5 Importing IS_PROJ_ATTR Call by reference Type reference (TYPE) PSB_BO_PRJ_ATTR_ST Project Attribute BO Structure 20100825
6 Importing IT_PROJ_CHG_ATTR Call by reference Type reference (TYPE) PSB_BO_ATTR_CHG_TT Table of attributes that got changed 20100825

Method PROJECT_MAINTAIN on class CL_PS_OBJ_BO_NEWAPI has no exception.

Method REFRESH_BUFFER Signature

Method REFRESH_BUFFER on class CL_PS_OBJ_BO_NEWAPI has no parameter.
Method REFRESH_BUFFER on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Importing IV_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20100713

Method SD_DESCRIPTION on class CL_PS_OBJ_BO_NEWAPI has no exception.

Method UNLOCK_ALL Signature

Method UNLOCK_ALL on class CL_PS_OBJ_BO_NEWAPI has no parameter.
Method UNLOCK_ALL on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Importing IV_OBJNR Call by reference Type reference (TYPE) PROJ-OBJNR Object number 20100713

Method WBS_DETAILS_READ on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Importing IV_RELATIVE_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100713

Method WBS_INIT on class CL_PS_OBJ_BO_NEWAPI 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 20100713
2 Exporting ES_WBS_ATTR Call by reference Type reference (TYPE) PSB_BO_WBS_ATTR_ST Updated WBS structure 20100713
3 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Table type for message details 20100713
4 Exporting EV_MSG_SEVERITY Call by reference Type reference (TYPE) SYMSGTY Message Type 20100713
5 Importing IS_HIER_KEY Call by reference Type reference (TYPE) PSB_BO_HIER_KEY_ST BO Hierarchy Key structure 20100713
6 Importing IS_WBS_ATTR Call by reference Type reference (TYPE) PSB_BO_WBS_ATTR_ST WBS Element Attribute BO Structure 20100713
7 Importing IT_WBS_CHG_ATTR Call by reference Type reference (TYPE) PSB_BO_ATTR_CHG_TT Table of attributes that got changed 20100713

Method WBS_MAINTAIN on class CL_PS_OBJ_BO_NEWAPI has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606