SAP ABAP Class CL_SAWE_FORECAST (Util-Class for ForeCast-related methods)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
IS-PRS-LS (Application Component) Lean Staffing
⤷
PSAWE_SA_BL (Package) Staff Assignment Business Layer

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_FPM_CONSTANTS | FPM constants | 20091021 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SAWE_SA_CONSTANTS | Constants definitions | 20091014 |
3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SAWE_TIME_PS_CONSTANTS | Time Planning Sheet Constants | 20091014 |
Properties
Class | CL_SAWE_FORECAST | |
Short Description | Util-Class for ForeCast-related methods | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | PSAWE_SA_BL | Staff Assignment Business Layer |
Created | 20091014 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_FPM_CONSTANTS | FPM constants | 20091021 | ||
2 | IF_SAWE_SA_CONSTANTS | Constants definitions | 20091014 | ||
3 | IF_SAWE_TIME_PS_CONSTANTS | Time Planning Sheet Constants | 20091014 |
Friends
Class CL_SAWE_FORECAST has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_SAWE_PERIOD_TOOL | Wrapper for Badi bs_period_toolset_context | 20091027 | ||
2 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_SAWE_CA_TIME_SHEET | Util-Class for Cats | 20091015 | ||
3 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_SAWE_CUSTOMIZING | Util-Class for Customizing | 20091014 | ||
4 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_SAWE_DATE | Utility Class for Date | 20091015 | ||
5 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_SAWE_EMPLOYEE | Util-Class for Employee functions | 20091014 | ||
6 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_SAWE_FORECAST | Util-Class for ForeCast-related methods | 20091014 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | Forecasted-Day-Calc: Check-Parameter | 20091016 |
2 | ![]() |
Instance method | Private | Method | Forecasted-Day-Calc: Get Customizing | 20091016 |
3 | ![]() |
Instance method | Private | Method | Forecasted-Day-Calc: Get Customizing | 20091016 |
4 | ![]() |
Instance method | Private | Method | Forecasted-Day-Calc: Map Granularity | 20091016 |
5 | ![]() |
Instance method | Private | Method | Forecasted-Day-Calc: Normalization | 20091016 |
6 | ![]() |
Instance method | Private | Method | Forecasted-Day-Calc: Normalization | 20091016 |
7 | ![]() |
Instance method | Private | Method | Forecasted-Day-Calc: Selected from Forecast DB | 20091016 |
8 | ![]() |
Instance method | Private | Constructor | CONSTRUCTOR | 20091014 |
9 | ![]() |
Instance method | Public | Method | Returns forecasted hours to an empl/eo/e-Type/period | 20091016 |
10 | ![]() |
Static method | Public | Method | Returns Singleton | 20091014 |
Events
Class CL_SAWE_FORECAST has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TYPE_INDEX_ANY | Protected | See coding | 20091016 | begin of type_index_any
,kmonth type kmonth
,kweek type kweek
,date type sawe_begin_date
,end of type_index_any
|
||
2 | TYPE_PERIOD | Protected | See coding | 20091015 | begin of type_period
,begin type sawe_begin_date
,end type sawe_end_date
,end of type_period
|
Method Signatures
Method CALC_CHECK_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_REQUESTED_HOURS | Call by reference | Type reference (TYPE) | SAWE_S_HOURS_ALL | Transformation-Struktur | 20091016 | ||
2 | ![]() |
EV_REQUESTED_GRANULARITY | Call by reference | Type reference (TYPE) | SAWE_PLAN_GRANULARITY | Hours per Month Year TAB | 20091016 | ||
3 | ![]() |
IV_DATE_YEAR_FROM | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20091016 | ||
4 | ![]() |
IV_DATE_YEAR_TO | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20091016 | ||
5 | ![]() |
IV_MONTH_YEAR_FROM | Call by reference | Type reference (TYPE) | KMONTH | Factory calendar: Month | 20091016 | ||
6 | ![]() |
IV_MONTH_YEAR_TO | Call by reference | Type reference (TYPE) | KMONTH | Factory calendar: Month | 20091016 | ||
7 | ![]() |
IV_PLANNING_GRANULARITY | Call by reference | Type reference (TYPE) | SAWE_PLAN_GRANULARITY | Planning Granularity | 20091016 | ||
8 | ![]() |
IV_WEEK_YEAR_FROM | Call by reference | Type reference (TYPE) | KWEEK | Factory calendar: Week | 20091016 | ||
9 | ![]() |
IV_WEEK_YEAR_TO | Call by reference | Type reference (TYPE) | KWEEK | Factory calendar: Week | 20091016 |
Method CALC_CHECK_PARAMETERS on class CL_SAWE_FORECAST has no exception.
Method CALC_GET_CATS_TARGET_HOURS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_SELECT_TARGET_HOURS | Call by reference | Type reference (TYPE) | SAWE_T_TARGET_HOURS | Sawe: Target hours for employee | 20091016 | ||
2 | ![]() |
EV_REQUESTED_HOURS_SUM | Call by reference | Type reference (TYPE) | ABATTSTD | Absence/Attendance hours | 20091016 | ||
3 | ![]() |
EV_SELECT_HOURS_SUM | Call by reference | Type reference (TYPE) | ABATTSTD | Absence/Attendance hours | 20091016 | ||
4 | ![]() |
IS_REQUESTED_PERIOD | Call by reference | Type reference (TYPE) | TYPE_PERIOD | 20091016 | |||
5 | ![]() |
IS_SELECT_PERIOD | Call by reference | Type reference (TYPE) | TYPE_PERIOD | 20091016 | |||
6 | ![]() |
IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20091016 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CATS returns error during target Hours determination | 20091016 |
Method CALC_GET_CUSTOMIZING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_COMPANY_CODE | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20091016 | ||
2 | ![]() |
EV_HOURS_PER_WEEKDAY | Call by reference | Type reference (TYPE) | SAWE_HOURS_WORKDAY | Staff Assignment Hours per Work Day | 20091016 | ||
3 | ![]() |
EV_SELECT_GRANULARITY | Call by reference | Type reference (TYPE) | SAWE_PLAN_GRANULARITY | Planning Granularity | 20091016 | ||
4 | ![]() |
IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20091016 |
Method CALC_GET_CUSTOMIZING on class CL_SAWE_FORECAST has no exception.
Method CALC_MAP_GRANULARITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_REQUESTED_PERIOD | Call by reference | Type reference (TYPE) | TYPE_PERIOD | 20091016 | |||
2 | ![]() |
ES_SELECT_HOURS | Call by reference | Type reference (TYPE) | SAWE_S_HOURS_ALL | Hours per Any | 20091016 | ||
3 | ![]() |
ES_SELECT_PERIOD | Call by reference | Type reference (TYPE) | TYPE_PERIOD | 20091016 | |||
4 | ![]() |
IS_REQUESTED_HOURS | Call by reference | Type reference (TYPE) | SAWE_S_HOURS_ALL | Hours per Any | 20091016 | ||
5 | ![]() |
IV_PLANNING_GRANULARITY | Call by reference | Type reference (TYPE) | SAWE_PLAN_GRANULARITY | Planning Granularity | 20091016 | ||
6 | ![]() |
IV_REQUESTED_GRANULARITY | Call by reference | Type reference (TYPE) | SAWE_PLAN_GRANULARITY | Planning Granularity | 20091016 |
Method CALC_MAP_GRANULARITY on class CL_SAWE_FORECAST has no exception.
Method CALC_NORMALIZE_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_SELECT_FORECAST_HOURS | Call by reference | Type reference (TYPE) | SAWE_T_HOURS_ANY | Hours per Any TAB | 20091229 | ||
2 | ![]() |
EV_FORECASTED_HOURS | Call by reference | Type reference (TYPE) | ABATTSTD | Absence/Attendance hours | 20091016 | ||
3 | ![]() |
IS_CALC_PERIOD | Call by reference | Type reference (TYPE) | TYPE_PERIOD | 20091016 | |||
4 | ![]() |
IS_FORECAST_PERIOD | Call by reference | Type reference (TYPE) | TYPE_INDEX_ANY | 20091016 | |||
5 | ![]() |
IS_REQUESTED_PERIOD | Call by reference | Type reference (TYPE) | TYPE_PERIOD | 20091016 | |||
6 | ![]() |
IS_SELECT_PERIOD | Call by reference | Type reference (TYPE) | TYPE_PERIOD | 20091016 | |||
7 | ![]() |
IT_SELECT_TARGET_HOURS | Call by reference | Type reference (TYPE) | SAWE_T_TARGET_HOURS | Sawe: Target hours for employee | 20091016 | ||
8 | ![]() |
IV_SELECT_GRANULARITY | Call by reference | Type reference (TYPE) | SAWE_PLAN_GRANULARITY | Planning Granularity | 20091016 |
Method CALC_NORMALIZE_PERIOD on class CL_SAWE_FORECAST has no exception.
Method CALC_NORMALIZE_PERIODS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_SELECT_FORECAST_HOURS | Call by reference | Type reference (TYPE) | SAWE_T_HOURS_ANY | Hours per Any TAB | 20091229 | ||
2 | ![]() |
EV_FORECASTED_HOURS | Call by reference | Type reference (TYPE) | ABATTSTD | Absence/Attendance hours | 20091016 | ||
3 | ![]() |
IS_REQUESTED_PERIOD | Call by reference | Type reference (TYPE) | TYPE_PERIOD | 20091016 | |||
4 | ![]() |
IS_SELECT_HOURS | Call by reference | Type reference (TYPE) | SAWE_S_HOURS_ALL | Transformation-Struktur | 20091016 | ||
5 | ![]() |
IS_SELECT_PERIOD | Call by reference | Type reference (TYPE) | TYPE_PERIOD | 20091016 | |||
6 | ![]() |
IT_SELECT_TARGET_HOURS | Call by reference | Type reference (TYPE) | SAWE_T_TARGET_HOURS | Sawe: Target hours for employee | 20091016 | ||
7 | ![]() |
IV_SELECT_GRANULARITY | Call by reference | Type reference (TYPE) | SAWE_PLAN_GRANULARITY | Planning Granularity | 20091016 |
Method CALC_NORMALIZE_PERIODS on class CL_SAWE_FORECAST has no exception.
Method CALC_SELECT_FORECAST_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_SELECT_FORECAST_HOURS | Call by reference | Type reference (TYPE) | SAWE_T_HOURS_ANY | Hours per Any TAB | 20091016 | ||
2 | ![]() |
IS_SELECT_HOURS | Call by reference | Type reference (TYPE) | SAWE_S_HOURS_ALL | Hours per Any TAB | 20091016 | ||
3 | ![]() |
IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20091016 | ||
4 | ![]() |
IV_ENGAGEMENT_ID | Call by reference | Type reference (TYPE) | IF_WE_ENGAGEMENT=>ID | Assignment Obj. ID | 20091016 | ||
5 | ![]() |
IV_ENGAGEMENT_TYPE | Call by reference | Type reference (TYPE) | WE_ENGAGEMENT_TYPE | Assignment Obj. Type | 20091016 | ||
6 | ![]() |
IV_FC_GROUP | Call by reference | Type reference (TYPE) | SAWE_FC_GROUP | Forecast Grouping Key | 20091130 | ||
7 | ![]() |
IV_SELECT_GRANULARITY | Call by reference | Type reference (TYPE) | SAWE_PLAN_GRANULARITY | Planning Granularity | 20091016 |
Method CALC_SELECT_FORECAST_DB on class CL_SAWE_FORECAST has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SAWE_FORECAST has no parameter.
Method CONSTRUCTOR on class CL_SAWE_FORECAST has no exception.
Method GET_FORECASTED_DAYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_AVAIL_CATS_DAYS | Call by reference | Type reference (TYPE) | SAWE_TIME_AVAIL_CATS | Available Days in TimeSheet | 20091016 | ||
2 | ![]() |
EV_AVAIL_CATS_HOURS | Call by reference | Type reference (TYPE) | ABATTSTD | Absence/Attendance hours | 20091023 | ||
3 | ![]() |
EV_AVAIL_DAYS | Call by reference | Type reference (TYPE) | SAWE_TIME_AVAIL_SUM | Minimal Available Days | 20091016 | ||
4 | ![]() |
EV_AVAIL_HOURS | Call by reference | Type reference (TYPE) | ABATTSTD | Absence/Attendance hours | 20091023 | ||
5 | ![]() |
EV_FORECASTED_DAYS | Call by reference | Type reference (TYPE) | SAWE_TIME_FORECASTED | Minimal Available Days | 20091016 | ||
6 | ![]() |
EV_FORECASTED_HOURS | Call by reference | Type reference (TYPE) | ABATTSTD | Absence/Attendance hours | 20091023 | ||
7 | ![]() |
EV_LAST_FORECAST_CHANGE_DATE | Call by reference | Type reference (TYPE) | /BOBF/DATETIME_CH | 20091027 | |||
8 | ![]() |
IV_DATE_YEAR_FROM | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20091016 | ||
9 | ![]() |
IV_DATE_YEAR_TO | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20091016 | ||
10 | ![]() |
IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20091016 | ||
11 | ![]() |
IV_ENGAGEMENT_ID | Call by reference | Type reference (TYPE) | IF_WE_ENGAGEMENT=>ID | Assignment Obj. ID | 20091016 | ||
12 | ![]() |
IV_ENGAGEMENT_TYPE | Call by reference | Type reference (TYPE) | WE_ENGAGEMENT_TYPE | Assignment Obj. Type | 20091016 | ||
13 | ![]() |
IV_FC_GROUP | Call by reference | Type reference (TYPE) | SAWE_FC_GROUP | Forecast Grouping Key | 20091130 | ||
14 | ![]() |
IV_MONTH_YEAR_FROM | Call by reference | Type reference (TYPE) | KMONTH | Factory calendar: Month | 20091016 | ||
15 | ![]() |
IV_MONTH_YEAR_TO | Call by reference | Type reference (TYPE) | KMONTH | Factory calendar: Month | 20091016 | ||
16 | ![]() |
IV_REQUESTED_DAYS | Call by reference | Type reference (TYPE) | SAWE_TIME_AVAIL | Minimal Available Days | 20091016 | ||
17 | ![]() |
IV_WEEK_YEAR_FROM | Call by reference | Type reference (TYPE) | KWEEK | Factory calendar: Week | 20091016 | ||
18 | ![]() |
IV_WEEK_YEAR_TO | Call by reference | Type reference (TYPE) | KWEEK | Factory calendar: Week | 20091016 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CATS returns error during target Hours determination | 20091016 | |
2 | ![]() |
Wrong Import-Parameter | 20091016 |
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_SAWE_FORECAST | Util-Class for Cats | 20091014 |
Method GET_INSTANCE on class CL_SAWE_FORECAST has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 605 |