SAP ABAP Class CL_PS_MASTERDATA (Master data read)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PS-ST (Application Component) Structures
     PS_HLP_MD (Package) Handling Large Projects:-Master Data
Properties
Class CL_PS_MASTERDATA  
Short Description Master data read    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PS_HLP_MD   Handling Large Projects:-Master Data 
Created 20080331   SAP 
Last change 20110908   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_MASTERDATA has no interface implemented.
Friends
Class CL_PS_MASTERDATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ERROR Constant Public Type reference (TYPE) CHAR3 'EAX' Constant for Error msg types 20090908
2 GV_MSGHAND_NUM Static Attribute Public Type reference (TYPE) SY-UZEIT Current Time of Application Server 20091013
3 IT_AFKO Static Attribute Public Type reference (TYPE) TAB_AFKO For AFKO 20080331
4 IT_AFVC Static Attribute Public Type reference (TYPE) TT_AFVC_NTW Table type AFVC 20080331
5 IT_AFVCP Static Attribute Public Type reference (TYPE) TAB_AFVCP AFVCP_TT 20080408
6 IT_AFVU Static Attribute Public Type reference (TYPE) TT_AFVU For AFVU 20080401
7 IT_AUFK Static Attribute Public Type reference (TYPE) TAB_AUFK table type for aufk 20080331
8 IT_HIER_AFVC Static Attribute Public Type reference (TYPE) TT_HIER_AFVC struture hier_afvc 20080423
9 IT_HIER_AFVC_NP Static Attribute Public Type reference (TYPE) TT_HIER_AFVC struture hier_afvc 20080428
10 IT_HIER_AFVC_PRJ Static Attribute Public Type reference (TYPE) TT_HIER_AFVC struture hier_afvc 20080423
11 IT_HIER_CAUFV Static Attribute Public Type reference (TYPE) TT_HIER_CAUFV structure caufv 20080423
12 IT_HIER_MLST Static Attribute Public Type reference (TYPE) TT_HIER_MLST struture hier_afvc 20080423
13 IT_HIER_PROJ Static Attribute Public Type reference (TYPE) TT_HIER_PROJ table type STR_HIER_PROJ 20080423
14 IT_HIER_PRPS Static Attribute Public Type reference (TYPE) TT_HIER_PRPS table type prps hier 20080423
15 IT_HIER_SUBNW Static Attribute Public Type reference (TYPE) TT_HIER_CAUFV Sub network 20080428
16 IT_MLST Static Attribute Public Type reference (TYPE) TAB_MLST For Milestone 20080331
17 IT_PRHI Static Attribute Public Type reference (TYPE) TAB_PRHI table for prhi corresponding to up 20080419
18 IT_PRHI_PROJ Static Attribute Public Type reference (TYPE) TT_PRHI table type for prhi 20080421
19 IT_PROJ Static Attribute Public Type reference (TYPE) TT_PROJ For PROJ 20080331
20 IT_PRPS Static Attribute Public Type reference (TYPE) TT_PRPS For PRPS 20080331
21 MR_CACHE_MGR Static Attribute Public Object reference (TYPE REF TO) CL_PS_HLP_CACHE_MANAGER Class for PS Cache functions 20080521
22 PRHI_PROJ_SET Static Attribute Private Type reference (TYPE) CHAR_TYP ' ' Character Type 20080421
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_WBS Static method Public Method Method to change WBS Element 20090908
2 CHECK_INPUT Static method Private Method Method to carry out business validations 20090908
3 CHECK_WBS_CAN_HAVE_CHILD Static method Public Method Check if the WBS can have a child 20100331
4 CLASS_CONSTRUCTOR Static method Public Constructor 20080521
5 CREATE_WBS Static method Public Method Method to create wbs 20090908
6 DB_PRHI_READ Static method Public Method Get WBS Hierarchy from PRHI table 20090908
7 ERROR_FILL Static method Private Method method to return the error messages 20110617
8 GET_MESSAGES Static method Public Method Get Messages stored in the message log 20091013
9 HIER_AFVC Static method Public Method Hierarchy AFVC 20080423
10 HIER_CAUFV Static method Public Method Hierarchy:Caufv 20080423
11 HIER_MLST Static method Public Method Hierarchy:MLST 20080423
12 HIER_PROJ Static method Public Method Hierarchy-Project 20080423
13 HIER_PRPS Static method Public Method Hierarchy:PRPS 20080423
14 HIER_RET_AUFNR Static method Public Method return aufnr for the corresponding aufpl 20080507
15 HIER_SUBNW Static method Public Method Subnetwork under activity 20080428
16 INITIALIZE_BUFFERS Static method Public Method The method initializes the buffer tables on save 20090908
17 INIT_WBS Static method Public Method Initialization of New WBS. 20090908
18 LOAD_WBS_BY_PROJ Static method Public Method Load all the WBS elements of the Project 20100129
19 READ_ACT Static method Public Method Read afvc 20080409
20 READ_AFVCP Static method Public Method Read afvcp 20080408
21 READ_MLST Static method Public Method Read mlst 20080401
22 READ_NTW Static method Public Method Read aufk 20080401
23 READ_PRHI Static method Public Method Read prhi 20080419
24 READ_PROJ Static method Public Method Read proj 20080401
25 READ_PRPS Static method Public Method Read prps 20080331
26 REFRESH_BUFFER Static method Public Method Refresh the Instance 20090908
27 UPDATE_GLOBAL_DATA Static method Public Method Method to update the global data for create and change WBS 20090908
Events
Class CL_PS_MASTERDATA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_INT_PRPS_AUTH Private See coding 20090908 BEGIN OF gty_int_prps_auth. INCLUDE TYPE prps_auth. TYPES END OF gty_int_prps_auth
2 GTY_INT_PRPS_COSTS Private See coding 20090908 BEGIN OF gty_int_prps_costs. INCLUDE TYPE kobjstat. TYPES END OF gty_int_prps_costs
3 GTY_PRHI_KEY Private See coding 20090908 BEGIN OF gty_prhi_key, mandt TYPE mandt, posnr TYPE ps_posnr, END OF gty_prhi_key
4 GTY_PRPS_KEY Private See coding 20090908 BEGIN OF gty_prps_key, mandt TYPE mandt, pspnr TYPE ps_intnr, END OF gty_prps_key
5 GTY_PSTAB Private See coding 20090908 BEGIN OF gty_pstab. INCLUDE TYPE prps. INCLUDE TYPE pstabd. TYPES END OF gty_pstab
Method Signatures

Method CHANGE_WBS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PRPS Call by reference Type reference (TYPE) PRPS Updated PRPS 20091027
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Table type for message details 20090908
3 Exporting EV_MSG_SEVERITY Call by reference Type reference (TYPE) SYMSGTY Message Type 20090908
4 Importing IS_PRPS Call by reference Type reference (TYPE) PRPS WBS (Work Breakdown Structure) Element Master Data 20090908
5 Importing IS_PRPS_UPD Call by reference Type reference (TYPE) PRPS_UPD Update Bar PRPS (for BAPI Processing) 20090908
6 Importing IV_EXTENSION_FILLED Call by reference Type reference (TYPE) XFELD Flag for filling extended fields 20090908

Method CHANGE_WBS on class CL_PS_MASTERDATA has no exception.

Method CHECK_INPUT 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 Table type for message details 20090908
2 Exporting EV_MSG_SEVERITY Call by reference Type reference (TYPE) SYMSGTY Message Type 20090908
3 Importing IS_PRPS_NEW Call by reference Type reference (TYPE) PRPS WBS (Work Breakdown Structure) Element Master Data 20090908
4 Importing IS_PRPS_OLD Call by reference Type reference (TYPE) PRPS WBS (Work Breakdown Structure) Element Master Data 20090908
5 Importing IS_PRPS_UPD Call by reference Type reference (TYPE) PRPS_UPD Update Bar PRPS (for BAPI Processing) 20090908

Method CHECK_INPUT on class CL_PS_MASTERDATA has no exception.

Method CHECK_WBS_CAN_HAVE_CHILD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NOT_POSSIBLE Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100331
2 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR WBS Element 20100331

Method CHECK_WBS_CAN_HAVE_CHILD on class CL_PS_MASTERDATA has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_PS_MASTERDATA has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PS_MASTERDATA has no exception.

Method CREATE_WBS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PRPS Call by reference Type reference (TYPE) PRPS Updated PRPS 20091027
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Table with BAPI Return Information 20090908
3 Exporting EV_MSG_SEVERITY Call by reference Type reference (TYPE) SYMSGTY Message Type 20090908
4 Exporting EV_OBJNR Call by reference Type reference (TYPE) PRPS-OBJNR Temporary Object number 20090908
5 Importing IS_PRPS Call by reference Type reference (TYPE) PRPS WBS (Work Breakdown Structure) Element Master Data 20090908
6 Importing IV_PROJ_DEFN Call by reference Type reference (TYPE) PS_PSPID Project Definition 20090908
7 Importing IV_WBS_LEFT Call by reference Type reference (TYPE) PS_POSID WSB Element hierarchy- left 20090908
8 Importing IV_WBS_UP Call by reference Type reference (TYPE) PS_POSID WSB Element hierarchy- up 20090908

Method CREATE_WBS on class CL_PS_MASTERDATA has no exception.

Method DB_PRHI_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PRHI Call by reference Type reference (TYPE) TT_PRHI table type for prhi 20090908
2 Importing IV_PRJ_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20090908

Method DB_PRHI_READ on class CL_PS_MASTERDATA has no exception.

Method ERROR_FILL 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 20110617
2 Exporting EV_MSG_SEVERITY Call by reference Type reference (TYPE) SYMSGTY Message Type 20110617

Method ERROR_FILL on class CL_PS_MASTERDATA has no exception.

Method GET_MESSAGES 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 20091013
2 Exporting EV_MSG_SEVERITY Call by reference Type reference (TYPE) SYMSGTY Message Type 20091013
3 Importing IV_MSGHAND_NUM Call by reference Type reference (TYPE) SY-UZEIT Current Time of Application Server 20100128

Method GET_MESSAGES on class CL_PS_MASTERDATA has no exception.

Method HIER_AFVC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_AFVC Call by reference Type reference (TYPE) TT_HIER_AFVC Operation within an order 20080423
2 Importing IM_APLZL Call by reference Type reference (TYPE) CO_APLZL General counter for order 20080508
3 Importing IM_AUFPL Call by reference Type reference (TYPE) CO_AUFPL Routing number of operations in the order 20080428
4 Importing IM_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20080423

Method HIER_AFVC on class CL_PS_MASTERDATA has no exception.

Method HIER_CAUFV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_HIER_CAUFV Call by reference Type reference (TYPE) TT_HIER_CAUFV table caufv 20080423
2 Importing IM_AUFNR Call by reference Type reference (TYPE) AUFNR Order Number 20080424
3 Importing IM_PRONR Call by reference Type reference (TYPE) PS_PSP_PRO Project definition 20080423
4 Importing IM_PSPEL Call by reference Type reference (TYPE) PS_PSP_ELE Work breakdown structure element (WBS element) 20080423

Method HIER_CAUFV on class CL_PS_MASTERDATA has no exception.

Method HIER_MLST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_MLST Call by reference Type reference (TYPE) TT_HIER_MLST For Milestone 20080423
2 Importing IM_APLZL Call by reference Type reference (TYPE) CIM_COUNT Internal counter 20080423
3 Importing IM_AUFPL Call by reference Type reference (TYPE) CO_AUFPL Routing number of operations in the order 20080423
4 Importing IM_PSPNR Call by reference Type reference (TYPE) PS_POSNR WBS Element 20080423

Method HIER_MLST on class CL_PS_MASTERDATA has no exception.

Method HIER_PROJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_HIER_PROJ Call by reference Type reference (TYPE) STR_HIER_PROJ Structure required for hierarchy building of project def. 20080423
2 Importing IM_PSPID Call by reference Type reference (TYPE) PS_PSPID Project definition 20080423

Method HIER_PROJ on class CL_PS_MASTERDATA has no exception.

Method HIER_PRPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_PRPS Call by reference Type reference (TYPE) STR_HIER_PRPS Structure required for hierarchy building of WBS 20080423
2 Importing IM_POSID Call by reference Type reference (TYPE) PS_POSID Work Breakdown Structure Element (WBS Element) 20080423
3 Importing IM_PSPNR Call by reference Type reference (TYPE) PS_POSNR WBS Element 20080429

Method HIER_PRPS on class CL_PS_MASTERDATA has no exception.

Method HIER_RET_AUFNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_AUFNR Call by reference Type reference (TYPE) AUFNR Order Number 20080507
2 Importing IM_AUFPL Call by reference Type reference (TYPE) CO_AUFPL Routing number of operations in the order 20080507

Method HIER_RET_AUFNR on class CL_PS_MASTERDATA has no exception.

Method HIER_SUBNW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CAUFV Call by reference Type reference (TYPE) TT_HIER_CAUFV structure caufv 20080428
2 Importing IM_APLZL Call by reference Type reference (TYPE) CO_APLZL General counter for order 20080428
3 Importing IM_AUFPL Call by reference Type reference (TYPE) CO_AUFPL Routing number of operations in the order 20080428

Method HIER_SUBNW on class CL_PS_MASTERDATA has no exception.

Method INITIALIZE_BUFFERS Signature

Method INITIALIZE_BUFFERS on class CL_PS_MASTERDATA has no parameter.
Method INITIALIZE_BUFFERS on class CL_PS_MASTERDATA has no exception.

Method INIT_WBS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PRPS Call by reference Type reference (TYPE) PRPS WBS (Work Breakdown Structure) Element Master Data 20090908
2 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Parent posnr 20100331
3 Importing IV_POSID Call by reference Type reference (TYPE) PS_POSID Work Breakdown Structure Element (WBS Element) 20091106

Method INIT_WBS on class CL_PS_MASTERDATA has no exception.

Method LOAD_WBS_BY_PROJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_INIT_HIER_PRPS Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100129
2 Importing IV_PROJ_OBJNR Call by reference Type reference (TYPE) J_OBJNR Project definition (internal) 20100129

Method LOAD_WBS_BY_PROJ on class CL_PS_MASTERDATA has no exception.

Method READ_ACT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_AFVC Call by reference Type reference (TYPE) TT_AFVC Operation within an order 20080409
2 Exporting EX_AFVU Call by reference Type reference (TYPE) TT_AFVU DB structure of the user fields of the operation 20080409
3 Importing IM_APLZL Call by reference Type reference (TYPE) CO_APLZL General counter for order 20080420
4 Importing IM_AUFPL Call by reference Type reference (TYPE) CO_AUFPL Routing number of operations in the order 20080409
5 Importing IM_CACHE_FETCH Call by reference Type reference (TYPE) C ' ' 20080521
6 Importing IM_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20080409

Method READ_ACT on class CL_PS_MASTERDATA has no exception.

Method READ_AFVCP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_AFVCP Call by reference Type reference (TYPE) TT_HIER_AFVC AFVCP_TT 20080408
2 Importing PROJN Call by reference Type reference (TYPE) PS_PSP_ELE Work breakdown structure element (WBS element) 20080408

Method READ_AFVCP on class CL_PS_MASTERDATA has no exception.

Method READ_MLST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_MLST Call by reference Type reference (TYPE) TT_MLSTD Milestone 20080401
2 Importing IM_APLZL Call by reference Type reference (TYPE) CIM_COUNT Routing number of operations in the order 20080419
3 Importing IM_AUFPL Call by reference Type reference (TYPE) CO_AUFPL Routing number of operations in the order 20080419
4 Importing IM_CACHE_FETCH Call by reference Type reference (TYPE) C 20080401
5 Importing IM_OBJNR Call by reference Type reference (TYPE) J_OBJNR mlst_zaehl of milestone 20080401
6 Importing IM_PSPNR Call by reference Type reference (TYPE) PS_POSNR WBS Element 20080419

Method READ_MLST on class CL_PS_MASTERDATA has no exception.

Method READ_NTW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_AFKO Call by reference Type reference (TYPE) TT_AFKO Order header data PP orders 20080401
2 Exporting EX_AUFK Call by reference Type reference (TYPE) TT_AUFK Order master data 20080401
3 Importing IM_AUFNR Call by reference Type reference (TYPE) AUFNR Order Number 20080402
4 Importing IM_AUFPL Call by reference Type reference (TYPE) CO_AUFPL Routing number of operations in the order 20080408
5 Importing IM_CACHE_FETCH Call by reference Type reference (TYPE) C ' ' 20080521
6 Importing IM_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20080401
7 Importing IM_PRONR Call by reference Type reference (TYPE) PS_PSP_PRO Project definition 20080408
8 Importing IM_PSPEL Call by reference Type reference (TYPE) PS_PSP_ELE Work breakdown structure element (WBS element) 20080419

Method READ_NTW on class CL_PS_MASTERDATA has no exception.

Method READ_PRHI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_PRHI Call by reference Type reference (TYPE) TT_PRHI table type for prhi 20080419
2 Exporting EX_PRPS Call by reference Type reference (TYPE) TT_HIER_PRPS For PRPS 20080422
3 Importing IM_PSPHI Call by reference Type reference (TYPE) PS_PSPHI Current number of the appropriate project 20080420
4 Importing UP Call by reference Type reference (TYPE) PS_PHIUP Number of the superior WBS element 20080419

Method READ_PRHI on class CL_PS_MASTERDATA has no exception.

Method READ_PROJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_PROJ Call by reference Type reference (TYPE) PROJ Project definition 20080401
2 Importing IM_CACHE_FETCH Call by reference Type reference (TYPE) C ' ' 20080521
3 Importing IM_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20080401
4 Importing IM_PSPID Call by reference Type reference (TYPE) PS_PSPID pspid 20080401
5 Importing IM_PSPNR Call by reference Type reference (TYPE) PS_INTNR Project definition (internal) 20080402

Method READ_PROJ on class CL_PS_MASTERDATA has no exception.

Method READ_PRPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_PRPS Call by reference Type reference (TYPE) TT_PRPS WBS (Work Breakdown Structure) Element Master Data 20080331
2 Importing IM_CACHE_FETCH Call by reference Type reference (TYPE) C ' ' 20080521
3 Importing IM_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20080331
4 Importing IM_POSID Call by reference Type reference (TYPE) PS_POSID Work Breakdown Structure Element (WBS Element) 20080402
5 Importing IM_PSPID Call by reference Type reference (TYPE) PS_PSPID Project definition 20080421
6 Importing IM_PSPNR Call by reference Type reference (TYPE) PS_POSNR WBS Element 20080401

Method READ_PRPS on class CL_PS_MASTERDATA has no exception.

Method REFRESH_BUFFER Signature

Method REFRESH_BUFFER on class CL_PS_MASTERDATA has no parameter.
Method REFRESH_BUFFER on class CL_PS_MASTERDATA has no exception.

Method UPDATE_GLOBAL_DATA 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 20090908
2 Exporting EV_MSG_SEVERITY Call by reference Type reference (TYPE) SYMSGTY Message Type 20090908
3 Importing IS_PROJ Call by reference Type reference (TYPE) PROJ Project definition 20090908
4 Importing IT_PRHI Call by reference Type reference (TYPE) TT_PRHI table type for prhi 20090908
5 Importing IT_PRPS Call by reference Type reference (TYPE) TT_PRPS For PRPS 20090908
6 Importing IV_MEMID_PROJ Value transfer Type reference (TYPE) CHAR30 'CJ_BUF_PROJ&M&P' Memory Export ID 20090908
7 Importing IV_MEMID_PRPS Value transfer Type reference (TYPE) CHAR30 'CJ_BUF_PRPS&M&P' Memory Export ID 20090908

Method UPDATE_GLOBAL_DATA on class CL_PS_MASTERDATA has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 604