SAP ABAP Class /MRSS/CL_SGE_TOUR (Tour Data of Resource)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   PM-WOC-MO (Application Component) Maintenance Orders
     /MRSS/SGE (Package) Multiresource Planning: Scheduling Engine
Properties
Class /MRSS/CL_SGE_TOUR  
Short Description Tour Data of Resource    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /MRSS/SGE   Multiresource Planning: Scheduling Engine 
Created 20070731   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /MRSS/CL_SGE_TOUR has no forward declaration.
Interfaces
Class /MRSS/CL_SGE_TOUR has no interface implemented.
Friends
Class /MRSS/CL_SGE_TOUR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GREF_RESOURCE Instance attribute Private Object reference (TYPE REF TO) /MRSS/CL_SGE_SINGLE_RESOURCE Scheduling Engine: Single Resource 20070806
2 GREF_SERVICE_AREA_MGR Instance attribute Private Object reference (TYPE REF TO) /MRSS/CL_SERVICEAREA_MGR Service Class for Service Areas 20110107
3 GT_TOUR_CENTROID Instance attribute Private Type reference (TYPE) /MRSS/T_TOUR_ATTRIBUTES_TAB Geographical Position in WGS84 Coordinates 20110107
4 GT_TOUR_ELEMENTS Instance attribute Private Type reference (TYPE) /MRSS/T_TOUR_ELEMENTS_TAB Table with Tour Elements 20070801
Methods
# Method Level Visibility Method type Description Created on
1 ADD_LOCATION Instance method Private Method Add Location 20110107
2 ADD_PLANNED_DEMANDS Instance method Private Method Add Planned Demands 20110107
3 ADD_RESOURCE_LOCATION Instance method Private Method Add Resource Location 20110107
4 ADD_STOP Instance method Public Method Adds Element to Existing Tour 20070731
5 ADD_UNPLANNED_DEMANDS Instance method Private Method Add Unplanned Demands 20110107
6 CALCULATE_CENTROID_FOR_LINE Instance method Private Method Calculate Centroid for Given Set of Points 20140513
7 CALCULATE_CENTROID_FROM_POINTS Instance method Private Method Calculate Centroid for Given Set of Points 20110107
8 CALCULATE_TOUR_CENTROID Instance method Public Method Calculates the Midpoint of the Tour 20110107
9 CLEAR Instance method Public Method Deletes Existing Tour 20070731
10 CONSTRUCTOR Instance method Public Constructor Initialization 20070806
11 DEL_STOP Instance method Public Method Deletes Tour Element 20070731
12 GET_STOPS Instance method Public Method Provides Tour Elements 20070731
13 GET_TOUR Instance method Public Method Provides Complete Tour 20070731
14 GET_TOUR_CENTROID Instance method Public Method Read Centroid Information for Given Resources 20110107
15 GET_TOUR_INFO Instance method Public Method Provides Tour Information 20070731
16 GET_UPDATED_TOUR Instance method Private Method Get Updated Tour Considering Pending Element Changes 20080408
Events
Class /MRSS/CL_SGE_TOUR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 CENTROID_CALCULATION Private See coding 20110107 BEGIN OF centroid_calculation, n TYPE int1, x TYPE p LENGTH 15 DECIMALS 6,"/mrss/t_geo_longitude, y TYPE p LENGTH 15 DECIMALS 6,"/mrss/t_geo_latitude, expression1 TYPE p LENGTH 15 DECIMALS 6,"/mrss/t_geo_longitude, expression2 TYPE p LENGTH 15 DECIMALS 6,"/mrss/t_geo_longitude, expression3 TYPE p LENGTH 15 DECIMALS 6,"/mrss/t_geo_longitude, expression4 TYPE p LENGTH 15 DECIMALS 6,"/mrss/t_geo_longitude, expression5 TYPE p LENGTH 15 DECIMALS 6,"/mrss/t_geo_longitude, END OF centroid_calculation
Method Signatures

Method ADD_LOCATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_LOCATIONS Call by reference Type reference (TYPE) /MRSS/T_GEOPOSITION_TAB 20110107
2 Importing IS_ADDRESS Call by reference Type reference (TYPE) /MRSS/T_ADDRESS 20110107

Method ADD_LOCATION on class /MRSS/CL_SGE_TOUR has no exception.

Method ADD_PLANNED_DEMANDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_LOCATIONS Call by reference Type reference (TYPE) /MRSS/T_GEOPOSITION_TAB 20110107
2 Importing IS_INTERVAL Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP_INTERVAL Zeitintervall 20110107

Method ADD_PLANNED_DEMANDS on class /MRSS/CL_SGE_TOUR has no exception.

Method ADD_RESOURCE_LOCATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_LOCATIONS Call by reference Type reference (TYPE) /MRSS/T_GEOPOSITION_TAB 20110107
2 Importing IS_INTERVAL Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP_INTERVAL Time Interval 20140324

Method ADD_RESOURCE_LOCATION on class /MRSS/CL_SGE_TOUR has no exception.

Method ADD_STOP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ASSIGNMENT Call by reference Type reference (TYPE) /MRSS/T_ASSIGNMENT Assignment-Id mit Objekt 20070801
2 Importing IS_TIME_ALLOCATION Call by reference Type reference (TYPE) /MRSS/T_RES_TIMESPEC Zeitspezifikation einer Ressource 20070801
3 Importing IV_CALCULATE_TOUR_CENTROID Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolesche Variable 20110107

Method ADD_STOP on class /MRSS/CL_SGE_TOUR has no exception.

Method ADD_UNPLANNED_DEMANDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_LOCATIONS Call by reference Type reference (TYPE) /MRSS/T_GEOPOSITION_TAB 20110107
2 Importing IS_INTERVAL Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP_INTERVAL Zeitintervall 20110107

Method ADD_UNPLANNED_DEMANDS on class /MRSS/CL_SGE_TOUR has no exception.

Method CALCULATE_CENTROID_FOR_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_LOCATIONS Call by reference Type reference (TYPE) /MRSS/T_GEOPOSITION_TAB Table of Locations (Geopositions) 20140513
2 Returning RS_CENTROID Value transfer Type reference (TYPE) /MRSS/T_GEOPOSITION Geographical Position in WGS84 Coordinates 20140513

Method CALCULATE_CENTROID_FOR_LINE on class /MRSS/CL_SGE_TOUR has no exception.

Method CALCULATE_CENTROID_FROM_POINTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CENTROID Call by reference Type reference (TYPE) /MRSS/T_GEOPOSITION Geografische Position in WGS84-Koordinaten 20110107
2 Importing IT_LOCATIONS Call by reference Type reference (TYPE) /MRSS/T_GEOPOSITION_TAB 20110107

Method CALCULATE_CENTROID_FROM_POINTS on class /MRSS/CL_SGE_TOUR has no exception.

Method CALCULATE_TOUR_CENTROID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_INTERVAL Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP_INTERVAL Zeitintervall 20110107
2 Importing IV_OPERATION Call by reference Type reference (TYPE) /MRSS/T_SGE_OPERATION Art des Vorgangs 20110107

Method CALCULATE_TOUR_CENTROID on class /MRSS/CL_SGE_TOUR has no exception.

Method CLEAR Signature

Method CLEAR on class /MRSS/CL_SGE_TOUR has no parameter.
Method CLEAR on class /MRSS/CL_SGE_TOUR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IREF_RESOURCE Call by reference Object reference (TYPE REF TO) /MRSS/CL_SGE_SINGLE_RESOURCE Scheduling Engine Einzelne Resource 20070806

Method CONSTRUCTOR on class /MRSS/CL_SGE_TOUR has no exception.

Method DEL_STOP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CALCULATE_TOUR_CENTROID Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolesche Variable 20110107
2 Importing IV_GUID Call by reference Type reference (TYPE) /MRSS/T_GUID GUID 20070801

Method DEL_STOP on class /MRSS/CL_SGE_TOUR has no exception.

Method GET_STOPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PARALLEL_ASSIGNMENTS Call by reference Type reference (TYPE) /MRSS/T_ASSIGNMENT_TAB Tabelle der paralelen Einsätze 20070802
2 Exporting ET_PARALLEL_TIME_ALLOC Call by reference Type reference (TYPE) /MRSS/T_RES_TIMESPEC_TAB Tabelle der paralelen Zeitspezifikationen 20070802
3 Exporting ET_PRED_ASSIGNMENTS Call by reference Type reference (TYPE) /MRSS/T_ASSIGNMENT_TAB Tabelle der Vorgänger-Einsätze 20070802
4 Exporting ET_PRED_TIME_ALLOC Call by reference Type reference (TYPE) /MRSS/T_RES_TIMESPEC_TAB Tabelle der Vorgänger-Zeitspezifikationen 20070802
5 Exporting ET_SUCC_ASSIGNMENTS Call by reference Type reference (TYPE) /MRSS/T_ASSIGNMENT_TAB Tabelle der Nachfolger-Einsätze 20070802
6 Exporting ET_SUCC_TIME_ALLOC Call by reference Type reference (TYPE) /MRSS/T_RES_TIMESPEC_TAB Tabelle der Nachfolger-Zeitspezifikationen 20070802
7 Importing IS_REFERENCE_ELEMENT Call by reference Type reference (TYPE) /MRSS/T_ASSIGNMENT_INT GUID des Referenzelements 20070911
8 Importing IT_TO_BE_CHANGED_ASSIGNMENTS Call by reference Type reference (TYPE) /MRSS/T_ASS_WRK_TAB Pending assignment changes 20080408
9 Importing IV_BEGIN_TSTMP Call by reference Type reference (TYPE) TIMESTAMP Begin des Betrachtungszeitraums 20070906
10 Importing IV_END_TSTMP Call by reference Type reference (TYPE) TIMESTAMP Ende des Betrachtungszeitraums 20070906

Method GET_STOPS on class /MRSS/CL_SGE_TOUR has no exception.

Method GET_TOUR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ASSIGNMENTS Call by reference Type reference (TYPE) /MRSS/T_ASSIGNMENT_TAB Tabelle der Einsätze 20070806
2 Exporting ET_TIME_ALLOCATIONS Call by reference Type reference (TYPE) /MRSS/T_RES_TIMESPEC_TAB Zeitspezifikationen von Ressourcen 20070806
3 Importing IV_BEGIN Call by reference Type reference (TYPE) DATS Beginzeitraum als Datum 20070806
4 Importing IV_BEGIN_TSTMP Call by reference Type reference (TYPE) TIMESTAMP Beginzeitraum als Zeitstempel in Kurzform (JJJJMMTThhmmss) 20070806
5 Importing IV_END Call by reference Type reference (TYPE) DATS Endezeitraum als Datum 20070806
6 Importing IV_END_TSTMP Call by reference Type reference (TYPE) TIMESTAMP Endezeitraum als Zeitstempel in Kurzform (JJJJMMTThhmmss) 20070806
7 Importing IV_USE_TRAVEL_TIMES Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN ' ' Berücksichtige Reisezeiten 20070903

Method GET_TOUR on class /MRSS/CL_SGE_TOUR has no exception.

Method GET_TOUR_CENTROID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TOUR_CENTROID Call by reference Type reference (TYPE) /MRSS/T_TOUR_ATTRIBUTES_TAB 20110107
2 Importing IV_BEG_TSTMP Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP Zeitstempel (Datum und Uhrzeit) 20110107
3 Importing IV_END_TSTMP Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP Zeitstempel (Datum und Uhrzeit) 20110107

Method GET_TOUR_CENTROID on class /MRSS/CL_SGE_TOUR has no exception.

Method GET_TOUR_INFO Signature

Method GET_TOUR_INFO on class /MRSS/CL_SGE_TOUR has no parameter.
Method GET_TOUR_INFO on class /MRSS/CL_SGE_TOUR has no exception.

Method GET_UPDATED_TOUR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NEW_TEMP_ASSIGNMENTS Call by reference Type reference (TYPE) /MRSS/T_ASSIGNMENT_TAB 20100825
2 Exporting ET_TOUR_ELEMENTS Call by reference Type reference (TYPE) /MRSS/T_TOUR_ELEMENTS_TAB Table with Tour Elements 20080408
3 Importing IT_TOUR_ELEMENTS Call by reference Type reference (TYPE) /MRSS/T_TOUR_ELEMENTS_TAB Table with Tour Elements 20080408
4 Importing IT_TO_BE_CHANGED_ASSIGNMENTS Call by reference Type reference (TYPE) /MRSS/T_ASS_WRK_TAB Pending assignment changes 20080408

Method GET_UPDATED_TOUR on class /MRSS/CL_SGE_TOUR has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 607