SAP ABAP Class CL_EPM_BW_EMP_ORG_HIER (EPM: Extraction from Employee Hierarchy)
Hierarchy
PI_BASIS (Software Component) Basis Plug-In
   CA (Application Component) Cross-Application Components
     PI_EPM (Package) Enterprise Procurement Model
Properties
Class CL_EPM_BW_EMP_ORG_HIER  
Short Description EPM: Extraction from Employee Hierarchy    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PI_EPM   Enterprise Procurement Model 
Created 20100118   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_EPM_BW_EMP_ORG_HIER has no forward declaration.
Interfaces
Class CL_EPM_BW_EMP_ORG_HIER has no interface implemented.
Friends
Class CL_EPM_BW_EMP_ORG_HIER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_DATEMAX Constant Private Type reference (TYPE) RSDATETO '99991231' 20100118
2 C_DATEMIN Constant Private Type reference (TYPE) RSDATEFROM '10000101' 20100118
3 P_MAX_NODEID Instance attribute Private Type reference (TYPE) RSHIENODID 20100118
4 P_TH_EMPLOYEES Instance attribute Private See coding 20100118
5 P_TH_ORG_UNITS Instance attribute Private See coding 20100118
6 P_TH_STAFFING Instance attribute Private See coding 20100118
7 P_T_NODE Instance attribute Private See coding 20100118
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CHILDREN Instance method Private Method Add Children to Hierarchy 20100118
2 ADD_EMPLOYEES Instance method Private Method Add Employees of an Organizational Unit 20100118
3 CREATE_HIERARCHY Instance method Private Method Setup of Hierarchy Node Table 20100118
4 CREATE_INSTANCE Static method Public Method Generates an Instance 20100118
5 CREATE_NODE_EMPLOYEE Instance method Private Method Insert an Employee Node 20100118
6 CREATE_NODE_ORG_UNIT Instance method Private Method Insert an Organizational Unit Node 20100118
7 FILL_CHILD_NEXT_LEVEL Instance method Private Method Insert Child and Next Nodes 20100118
8 FILL_CHILD_NEXT_LEVEL_RECURSIV Instance method Private Method Insert Child and Next Nodes 20100118
9 GET_HIER Instance method Private Method Return of Hierarchy Node Table 20100118
10 GET_HIERARCHY Static method Public Method Reads employee hierarchy 20100118
11 LOAD_EMPLOYEES Instance method Private Method Import Database Table for Employees 20100118
12 LOAD_ORG_UNITS Instance method Private Method Import Database Table for Organizational Units 20100118
13 LOAD_STAFFING Instance method Private Method Import Database Table for Employee Assignments 20100118
Events
Class CL_EPM_BW_EMP_ORG_HIER has no event.
Types
Class CL_EPM_BW_EMP_ORG_HIER has no local type.
Method Signatures

Method ADD_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ORG_UNIT_NODE_KEY Call by reference Type reference (TYPE) SNWD_NODE_KEY EPM: Generic Node Key 20100118
2 Importing I_PARENTID Call by reference Type reference (TYPE) RSHIENODID Internal ID number of a hierarchy node 20100118

Method ADD_CHILDREN on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method ADD_EMPLOYEES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ORG_UNIT_NODE_KEY Call by reference Type reference (TYPE) SNWD_NODE_KEY EPM: Generic Node Key 20100118
2 Importing I_PARENTID Call by reference Type reference (TYPE) RSHIENODID Internal ID number of a hierarchy node 20100118

Method ADD_EMPLOYEES on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method CREATE_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ROOT_ORG_UNIT_NAME Call by reference Type reference (TYPE) CHAR20 Char 20 20100118

Method CREATE_HIERARCHY on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method CREATE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HIENM Call by reference Type reference (TYPE) RSHIENM Hierarchy name 20100118
2 Importing I_ROOT_ORG_UNIT_NAME Call by reference Type reference (TYPE) CHAR20 EPM: Organisational Unit Name 20100118
3 Returning R_R_INSTANCE Value transfer Object reference (TYPE REF TO) CL_EPM_BW_EMP_ORG_HIER Extraction of Employee Org-Hierarchy 20100118

Method CREATE_INSTANCE on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method CREATE_NODE_EMPLOYEE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATEFROM Call by reference Type reference (TYPE) RSDATEFROM Valid-From Date 20100118
2 Importing I_DATETO Call by reference Type reference (TYPE) RSDATETO Valid-From Date 20100118
3 Importing I_EMPLOYEE_ID Call by reference Type reference (TYPE) SNWD_ID EPM: General-purpose ID 20100118
4 Importing I_PARENTID Call by reference Type reference (TYPE) RSHIENODID Interne ID-Nummer eines Hierarchieknotens 20100126
5 Returning R_NODEID Value transfer Type reference (TYPE) RSHIENODID Internal ID number of a hierarchy node 20100118

Method CREATE_NODE_EMPLOYEE on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method CREATE_NODE_ORG_UNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ORG_UNIT_NAME Call by reference Type reference (TYPE) CHAR20 Organisationseinheit 20100126
2 Importing I_PARENTID Call by reference Type reference (TYPE) RSHIENODID Interne ID-Nummer eines Hierarchieknotens 20100126
3 Returning R_NODEID Value transfer Type reference (TYPE) RSHIENODID Internal ID number of a hierarchy node 20100118

Method CREATE_NODE_ORG_UNIT on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method FILL_CHILD_NEXT_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_HTAB Call by reference Type reference (TYPE) STANDARD TABLE 20100118

Method FILL_CHILD_NEXT_LEVEL on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method FILL_CHILD_NEXT_LEVEL_RECURSIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_HTAB Call by reference Type reference (TYPE) SORTED TABLE 20100118
2 Exporting E_CHILDID Call by reference Type reference (TYPE) RSHIENODID Internal ID number of a hierarchy node 20100118
3 Importing I_LEVEL Call by reference Type reference (TYPE) RSTLEVEL Level of a hierarchy node 20100118
4 Importing I_PARENTID Call by reference Type reference (TYPE) RSHIENODID Interne ID-Nummer eines Hierarchieknotens 20100125

Method FILL_CHILD_NEXT_LEVEL_RECURSIV on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method GET_HIER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_T_ORG_EMP_HIER Value transfer Type reference (TYPE) EPM_BW_T_ORG_EMP_HIER 20100118

Method GET_HIER on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method GET_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HIENM Call by reference Type reference (TYPE) RSHIENM Hierarchiename 20100118
2 Importing I_ROOT_ORG_UNIT_NAME Call by reference Type reference (TYPE) CHAR20 'CEO' Wurzelknoten der Hierarchie 20100118
3 Returning RE_T_ORG_EMP_HIER Value transfer Type reference (TYPE) EPM_BW_T_ORG_EMP_HIER Knoten der Hierarchie 20100118

Method GET_HIERARCHY on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method LOAD_EMPLOYEES Signature

Method LOAD_EMPLOYEES on class CL_EPM_BW_EMP_ORG_HIER has no parameter.
Method LOAD_EMPLOYEES on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method LOAD_ORG_UNITS Signature

Method LOAD_ORG_UNITS on class CL_EPM_BW_EMP_ORG_HIER has no parameter.
Method LOAD_ORG_UNITS on class CL_EPM_BW_EMP_ORG_HIER has no exception.

Method LOAD_STAFFING Signature

Method LOAD_STAFFING on class CL_EPM_BW_EMP_ORG_HIER has no parameter.
Method LOAD_STAFFING on class CL_EPM_BW_EMP_ORG_HIER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 730