SAP ABAP Class /MRSS/CL_CAR_BL_MAIN_TEST (Business Logic Main Class for Capacity Report)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   CA-MRS (Application Component) SAP Multiresource Scheduling
     /MRSS/CAR (Package) Package for Capacity Report
Properties
Class /MRSS/CL_CAR_BL_MAIN_TEST  
Short Description Business Logic Main Class for Capacity Report    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /MRSS/CAR   Package for Capacity Report 
Created 20130517   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /MRSS/CL_CAR_BL_MAIN_TEST has no forward declaration.
Interfaces
Class /MRSS/CL_CAR_BL_MAIN_TEST has no interface implemented.
Friends
Class /MRSS/CL_CAR_BL_MAIN_TEST has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ACTIVITY_TYPE Constant Protected Type reference (TYPE) /MRSS/T_LN_FIELD_NAME 'ACTIVITY_TYPE' Field name of logical node attribute 20130517
2 GC_PL_NODE_TYPE_A Constant Private Type reference (TYPE) /MRSS/T_NODE_TYPE 'A' Node Type 20130517
3 GC_WEGID_NODE_WORKCENTER Constant Private Type reference (TYPE) /MRSS/T_WEGID 'WEGID_NODE_WORKCENTER' Logical evaluation path 20130517
4 GC_WEGID_WORKCENTER_NODE Constant Private Type reference (TYPE) /MRSS/T_WEGID 'WEGID_WORKCENTER_NODE' Logical evaluation path 20130517
5 GT_LOGICAL_GUID Instance attribute Private Type reference (TYPE) /MRSS/T_GUID_NS_TAB List of GUIDs 20130517
6 GT_NODES_AGR_DATA Instance attribute Public Type reference (TYPE) /MRSS/T_CG_AGR_DATA_TAB Table type for Table of Aggregated Graph Data 20130517
7 GT_PLANNING_GUID Instance attribute Private Type reference (TYPE) /MRSS/T_GUID_TAB GUID 20130517
8 GT_PLANNING_NODES Instance attribute Private Type reference (TYPE) /MRSS/T_PLANNING_NODE_TAB List of GUIDs 20130517
9 GT_PN_MAPPING Instance attribute Private Type reference (TYPE) /MRSS/T_CAR_PN_MAPPING_TAB global pn mapping table 20130517
10 GT_TABLE_DATA Instance attribute Public Type reference (TYPE) /MRSS/T_CAR_TABLE_DATA Table data 20130517
11 GV_ABSOLUTE_CHANGED Instance attribute Public Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130517
12 GV_ACT_TYPE Instance attribute Public Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130517
13 GV_ACT_TYPE_CHANGED Instance attribute Public Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130517
14 GV_CALC_PERCENTAGE Instance attribute Public Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130517
15 GV_CAR_TIMEZONE Instance attribute Private Type reference (TYPE) TIMEZONE Time Zone 20130517
16 GV_LN_RELOAD Instance attribute Public Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130517
17 GV_PARENT_ORG_UNIT Instance attribute Public Type reference (TYPE) PD_OBJID_R Object ID 20130517
18 GV_PARENT_PN Instance attribute Public Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130517
19 GV_PARENT_PN_GUID Instance attribute Public Type reference (TYPE) /MRSS/T_GUID GUID 20130517
20 GV_PL_NODE_CHANGED Instance attribute Public Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130517
21 GV_RELOAD Instance attribute Public Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130517
22 GV_START_MONTH_NO Instance attribute Private Type reference (TYPE) CHAR2 Version Number Component 20130517
23 GV_START_WEEK_NO Instance attribute Private Type reference (TYPE) KWEEK Factory calendar: Week 20130517
24 GV_TIME_LEVEL Instance attribute Public Type reference (TYPE) /MRSS/T_CG_AGR_TIME_LEVEL 2 Time level 20130517
25 GV_UNIT Instance attribute Public Type reference (TYPE) /MRSS/T_CG_AGR_DATA_UNIT 1 Aggregation Unit Level 20130517
26 GV_UNIT_CHANGED Instance attribute Public Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130517
27 GV_YEAR Instance attribute Private Type reference (TYPE) CHAR4 Not More Closely Defined Area, Possibly Used for Patchlevels 20130517
28 LREF_APP_MNT Instance attribute Private Object reference (TYPE REF TO) /MRSS/CL_SGE_APPLICATION_MNT Scheduling Engine Application: Planning Board 20130517
29 LREF_BL_MAIN Static Attribute Private Object reference (TYPE REF TO) /MRSS/CL_CAR_BL_MAIN_TEST Business Logic Main Class for Capacity Report 20130517
30 LREF_PLANNING_NODE_MGR Instance attribute Private Object reference (TYPE REF TO) /MRSS/CL_SGE_PLANNING_NODE_MGR Planning Node - Manager 20130517
31 LREF_PP_MNT Instance attribute Private Object reference (TYPE REF TO) /MRSS/CL_SGE_APPLICATION_MNT Scheduling Engine Application: Planning Board 20130517
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20130517
2 GET_ALL_NODES_GUID Instance method Private Method OBSOLETE - No code in this 20130517
3 GET_ALL_PN_GUIDS Instance method Private Method Gets the children PN for each guid passed in 20130517
4 GET_CATEGORIES_CMONTHS Instance method Private Method Gets the categories based on months 20130517
5 GET_CATEGORIES_CWEEK Instance method Private Method Gets the Calendar Weeks 20130517
6 GET_CHILD_ORG Instance method Private Method Returns the child org units 20130517
7 GET_INSTANCE Static method Public Method Returns the instance of BL main class 20130517
8 GET_LEAF_ORG_UNITS Instance method Private Method Returns the leaf org units 20130517
9 GET_MONTH Instance method Private Method Returns the month and the year 20130517
10 GET_NODES_GUID Instance method Private Method returns the planning nodes with guid 20130517
11 GET_SERIES_POINTS Instance method Private Method Returns the data week wise 20130517
12 GET_SERIES_TABLE Instance method Private Method Determines and gets the Series 20130517
13 GET_TABLE_DATA Instance method Public Method Gets the table data data 20130517
14 GET_WEEK Instance method Private Method Returns the number of week 20130517
15 RETRIEVE_DATA Instance method Private Method Retrive data from MRS application MNT 20130517
Events
Class /MRSS/CL_CAR_BL_MAIN_TEST has no event.
Types
Class /MRSS/CL_CAR_BL_MAIN_TEST has no local type.
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class /MRSS/CL_CAR_BL_MAIN_TEST has no parameter.
Method CONSTRUCTOR on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_ALL_NODES_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOGICAL_NODE Call by reference Type reference (TYPE) /MRSS/T_LOGICAL_NODE_TAB Logical Node 20130517
2 Exporting ET_ORG_PARENT Call by reference Type reference (TYPE) LTT_ORG_PARENT Logical Node 20130517
3 Importing IT_SO_ACT_T Call by reference Type reference (TYPE) /MRSS/T_CAR_SELOPT_ACT_TAB table type for selection parameter activity type 20130517
4 Importing IT_SO_ORG Call by reference Type reference (TYPE) /MRSS/T_SGU_SELOPT_ORG_TAB Table with Selection Criteria for Resource Planning Nodes 20130517

Method GET_ALL_NODES_GUID on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_ALL_PN_GUIDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PN_WITH_CHILDREN Call by reference Type reference (TYPE) /MRSS/T_CAR_PN_MAPPING_TAB Table with Selection Criteria for Resource Planning Nodes 20130517
2 Importing IT_ORIGINAL_PN_GUIDS Call by reference Type reference (TYPE) /MRSS/T_SGU_SELOPT_ORG_TAB Table with Selection Criteria for Resource Planning Nodes 20130517

Method GET_ALL_PN_GUIDS on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_CATEGORIES_CMONTHS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_CATEGORIES Value transfer Type reference (TYPE) /MRSS/T_CAR_DATA_CATEGORY_TAB Table Type with Categories 20130517
2 Importing IV_END_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20130517
3 Importing IV_START_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20130517

Method GET_CATEGORIES_CMONTHS on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_CATEGORIES_CWEEK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_CATEGORIES Value transfer Type reference (TYPE) /MRSS/T_CAR_DATA_CATEGORY_TAB Table Type with Categories 20130517
2 Importing IV_END_DATE Call by reference Type reference (TYPE) DATS Timestamp 20130517
3 Importing IV_START_DATE Call by reference Type reference (TYPE) DATS Timestamp 20130517

Method GET_CATEGORIES_CWEEK on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_CHILD_ORG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ORG_PARENT Call by reference Type reference (TYPE) LTT_ORG_PARENT 20130517
2 Exporting ET_SO_ORG Call by reference Type reference (TYPE) /MRSS/T_SGU_SELOPT_ORG_TAB Table with Selection Criteria for Resource Planning Nodes 20130517
3 Importing IT_SO_ORG Call by reference Type reference (TYPE) /MRSS/T_SGU_SELOPT_ORG_TAB Table with Selection Criteria for Resource Planning Nodes 20130517
4 Importing IV_INDEX Call by reference Type reference (TYPE) INT1 Byte Value 20130517

Method GET_CHILD_ORG on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RREF Value transfer Object reference (TYPE REF TO) /MRSS/CL_CAR_BL_MAIN_TEST Business Logic Main Class for Capacity Report 20130517

Method GET_INSTANCE on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_LEAF_ORG_UNITS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SO_ORG Call by reference Type reference (TYPE) /MRSS/T_SGU_SELOPT_ORG_TAB Table with Selection Criteria for Resource Planning Nodes 20130517
2 Importing IT_SO_ORG Call by reference Type reference (TYPE) /MRSS/T_SGU_SELOPT_ORG_TAB Table with Selection Criteria for Resource Planning Nodes 20130517

Method GET_LEAF_ORG_UNITS on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_MONTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MONTH Call by reference Type reference (TYPE) CHAR2 Version Number Component 20130517
2 Exporting EV_YEAR Call by reference Type reference (TYPE) CHAR4 Not More Closely Defined Area, Possibly Used for Patchlevels 20130517
3 Importing IV_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20130517

Method GET_MONTH on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_NODES_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOGICAL_NODE Call by reference Type reference (TYPE) /MRSS/T_LOGICAL_NODE_TAB Logical Node 20130517
2 Exporting ET_PLANNING_NODE_ORG_TAB Call by reference Type reference (TYPE) /MRSS/PLANNING_NODE_GUID_TAB Table with Planning node guid and ID 20130517
3 Importing IT_SO_ACT_T Call by reference Type reference (TYPE) /MRSS/T_CAR_SELOPT_ACT_TAB table type for selection parameter activity type 20130517
4 Importing IT_SO_ORG Call by reference Type reference (TYPE) /MRSS/T_SGU_SELOPT_ORG_TAB Table with Selection Criteria for Resource Planning Nodes 20130517

Method GET_NODES_GUID on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_SERIES_POINTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_POINTS Call by reference Type reference (TYPE) /MRSS/T_CAR_DATA_POINTS_T Table for Points 20130517
2 Importing IV_AGR_DATA_TYPE Call by reference Type reference (TYPE) /MRSS/T_CG_AGR_DATA_TYPE Aggregated Graph Data Type 20130517
3 Importing IV_LOGICAL_NODE Call by reference Type reference (TYPE) /MRSS/T_GUID GUID 20130517
4 Importing IV_PLANNING_GUID Call by reference Type reference (TYPE) /MRSS/T_GUID GUID 20130517
5 Importing IV_START_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20130517
6 Importing IV_TIME_LEVEL Call by reference Type reference (TYPE) /MRSS/T_CG_AGR_TIME_LEVEL Aggregation Time Level 20130517

Method GET_SERIES_POINTS on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_SERIES_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_LOGICAL_NODE Call by reference Type reference (TYPE) /MRSS/T_LOGICAL_NODE_TAB Logical Node 20130517
2 Importing IV_DESCRIPTION Call by reference Type reference (TYPE) /MRSS/T_NODE_DESCRIPTION Description of the planning node 20130517
3 Importing IV_LOGICAL_NODE Call by reference Type reference (TYPE) /MRSS/T_GUID GUID 20130517
4 Importing IV_PLANNING_GUID Call by reference Type reference (TYPE) /MRSS/T_GUID GUID 20130517
5 Importing IV_PLANNING_NODE Call by reference Type reference (TYPE) HR_OBJ_STR Node Id 20130517
6 Importing IV_START_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20130517
7 Importing IV_TIME_LEVEL Call by reference Type reference (TYPE) /MRSS/T_CG_AGR_TIME_LEVEL Aggregation Time Level 20130517

Method GET_SERIES_TABLE on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_TABLE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SO_ACT_T Call by reference Type reference (TYPE) /MRSS/T_CAR_SELOPT_ACT_TAB table type for selection parameter activity type 20130517
2 Importing IT_SO_ORG Call by reference Type reference (TYPE) /MRSS/T_SGU_SELOPT_ORG_TAB Table with Selection Criteria for Resource Planning Nodes 20130517
3 Importing IV_END_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20130517
4 Importing IV_MULTI_PARENT_PN Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20130517
5 Importing IV_PARENT_PN_ACTIVE Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130517
6 Importing IV_START_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20130517

Method GET_TABLE_DATA on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method GET_WEEK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_WEEK Value transfer Type reference (TYPE) KWEEK Factory calendar: Week 20130517
2 Importing IV_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20130517

Method GET_WEEK on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.

Method RETRIEVE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NODES_AGR_DATA Call by reference Type reference (TYPE) /MRSS/T_CG_AGR_DATA_TAB Table of Aggregated Graph Data 20130517
2 Importing IT_AGR_DATA_TYPES Call by reference Type reference (TYPE) /MRSS/T_CG_AGR_DATA_TYPE Table of Aggregated Graph Data Type 20130517
3 Importing IT_LOGICAL_NODES Call by reference Type reference (TYPE) /MRSS/T_GUID_NS_TAB Table with GUIDs 20130517
4 Importing IT_PLANNING_NODES Call by reference Type reference (TYPE) /MRSS/T_GUID_TAB Table with GUIDs 20130517
5 Importing IV_AGR_TIME_LEVEL Call by reference Type reference (TYPE) /MRSS/T_CG_AGR_TIME_LEVEL Aggregation Time Level 20130517
6 Importing IV_BEG_TSTMP Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP Timestamp 20130517
7 Importing IV_CALCULATE_PERCENTAGE Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean 20130517
8 Importing IV_END_TSTMP Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP Timestamp 20130517
9 Importing IV_INCLUDE_CHILD_NODES Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean 20130517
10 Importing IV_INCLUDE_UPPER_NODE Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean 20130517
11 Importing IV_RELOAD Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean 20130517
12 Importing IV_UNIT Call by reference Type reference (TYPE) /MRSS/T_CG_AGR_DATA_UNIT Aggregation Data Unit 20130517

Method RETRIEVE_DATA on class /MRSS/CL_CAR_BL_MAIN_TEST has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 800