SAP ABAP Class CL_SAWE_ENHANCED_FORECAST_OBJ ((EhP6)Util-Class for Enhanced Forecast Object)
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
⤷
⤷
Properties
| Class | CL_SAWE_ENHANCED_FORECAST_OBJ | |
| Short Description | (EhP6)Util-Class for Enhanced Forecast Object | |
| 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 | 20100803 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 5 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_SAWE_ENHANCED_FORECAST_OBJ has no interface implemented.
Friends
Class CL_SAWE_ENHANCED_FORECAST_OBJ has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | See coding | 20101011 | |||||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SAWE_CUSTOMIZING | Util-Class for Customizing | 20100920 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SAWE_EMPLOYEE | Util-Class for Employee functions | 20100922 | |||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_SAWE_ENHANCED_FORECAST_OBJ | Util-Class for Enhanced Forecast Objects | 20100803 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20100825 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | IF_WE_ENGAGEMENT_CALLBACK=>OBJECT_KEYS | 20100803 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Authority Check for Enhanced Forecast | 20100921 | |
| 2 | Instance method | Public | Method | Authority Check for View Cluster for Enhanced Forecast | 20100921 | |
| 3 | Instance method | Private | Method | Check if periods are overlapping | 20100922 | |
| 4 | Instance method | Private | Constructor | CONSTRUCTOR | 20100920 | |
| 5 | Instance method | Private | Method | Delete Non Existing Forecast Objects | 20100804 | |
| 6 | Instance method | Public | Method | Get Enhanced Forecast by its Atributes | 20101220 | |
| 7 | Instance method | Private | Method | Get Enhanced Forecast Objects from database | 20100803 | |
| 8 | Instance method | Public | Method | Get Enhanced Forecast based on Company Code and CATS flag | 20100930 | |
| 9 | Instance method | Public | Method | Get Enhanced Forecast Objects based on Company Code | 20100830 | |
| 10 | Instance method | Public | Method | Get Enhanced Forecast Objects for an Employee | 20100922 | |
| 11 | Instance method | Public | Method | Get Enhanced Forecast Objects for an Employee List | 20101028 | |
| 12 | Instance method | Private | Method | Get Forecast Objects for company code | 20100803 | |
| 13 | Static method | Public | Method | Returns Singleton | 20100803 | |
| 14 | Instance method | Private | Method | Insert Enhanced Forecast Objects | 20100920 | |
| 15 | Instance method | Public | Method | Load Enhanced Forecast Objects for View Cluster | 20100921 | |
| 16 | Instance method | Private | Method | Set Buffer on Read (Combination of FC Objs and Enh FCs) | 20100804 |
Events
Class CL_SAWE_ENHANCED_FORECAST_OBJ has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_BUKRS_RANGE | Public | See coding | 20101220 | ty_bukrs_range TYPE RANGE OF bukrs
|
||
| 2 | TY_CATS_RELEVANT_RANGE | Public | See coding | 20101220 | ty_cats_relevant_range TYPE RANGE OF sawe_cats_relevant
|
||
| 3 | TY_COST_CENTRE_RANGE | Public | See coding | 20101220 | ty_cost_centre_range TYPE RANGE OF kostl
|
||
| 4 | TY_EXTERNAL_ID_RANGE | Public | See coding | 20101220 | ty_external_id_range TYPE RANGE OF sawe_external_id
|
||
| 5 | TY_FC_OBJECT_RANGE | Public | See coding | 20101220 | ty_fc_object_range TYPE RANGE OF sawe_forecast_obj
|
||
| 6 | TY_FC_OBJ_TYPE_RANGE | Public | See coding | 20101220 | ty_fc_obj_type_range TYPE RANGE OF we_engagement_type
|
||
| 7 | TY_INTERNAL_KEY_RANGE | Public | See coding | 20101220 | ty_internal_key_range TYPE RANGE OF sawe_guid
|
||
| 8 | TY_OBJECT_ID_RANGE | Public | See coding | 20101220 | ty_object_id_range TYPE RANGE OF swo_objid
|
||
| 9 | TY_ORG_UNIT_RANGE | Public | See coding | 20101220 | ty_org_unit_range TYPE RANGE OF orgeh
|
||
| 10 | TY_PERNR_ENH_FC | Public | See coding | 20101220 | BEGIN OF ty_pernr_enh_fc,
pernr TYPE pernr_d,
enh_fc TYPE sawe_s_enhanced_fc,
END OF ty_pernr_enh_fc
|
||
| 11 | TY_PERNR_ENH_FCS | Public | See coding | 20101220 | ty_pernr_enh_fcs TYPE STANDARD TABLE OF ty_pernr_enh_fc
|
Method Signatures
Method AUTHORITY_CHECK_ENH_FC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_AUTHORIZED | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, Space=False) | 20100921 | |||
| 2 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Activity | 20100921 |
Method AUTHORITY_CHECK_ENH_FC on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method AUTHORITY_CHECK_TRANSACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_AUTHORIZED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100921 | |||
| 2 | IV_TCODE | Call by reference | Type reference (TYPE) | TSTC-TCODE | Transaction Code | 20100921 |
Method AUTHORITY_CHECK_TRANSACTION on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method CHECK_PERIOD_OVERLAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PERIOD1_BEGIN | Call by reference | Type reference (TYPE) | DATUM | Begin of 1st period | 20100922 | |||
| 2 | IV_PERIOD1_END | Call by reference | Type reference (TYPE) | DATUM | End of 1st period | 20100922 | |||
| 3 | IV_PERIOD2_BEGIN | Call by reference | Type reference (TYPE) | DATUM | Begin of 2nd period | 20100922 | |||
| 4 | IV_PERIOD2_END | Call by reference | Type reference (TYPE) | DATUM | End of 2nd period | 20100922 | |||
| 5 | RV_FLG_OVERLAP | Value transfer | Type reference (TYPE) | BOOLE_D | Do periods overlap? | 20100922 |
Method CHECK_PERIOD_OVERLAP on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SAWE_ENHANCED_FORECAST_OBJ has no parameter.
Method CONSTRUCTOR on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method DELETE_ENHANCED_FC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100920 | |||
| 2 | EV_ERROR_EXISTS | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100922 | |||
| 3 | IT_ENH_FC_DB | Call by reference | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20100920 | |||
| 4 | IT_FORECAST_OBJ_KEYS | Call by reference | Type reference (TYPE) | IF_WE_ENGAGEMENT_CALLBACK=>OBJECT_KEYS | 20100920 |
Method DELETE_ENHANCED_FC on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method GET_BY_ENH_FC_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENHANCED_FC | Call by reference | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20101220 | |||
| 2 | IT_BUKRS_RANGE | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_BUKRS_RANGE | 20101220 | ||||
| 3 | IT_CATS_RELEVANT_RANGE | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_CATS_RELEVANT_RANGE | 20101220 | ||||
| 4 | IT_COST_CENTRE_RANGE | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_COST_CENTRE_RANGE | 20101220 | ||||
| 5 | IT_EXTERNAL_ID_RANGE | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_EXTERNAL_ID_RANGE | 20101220 | ||||
| 6 | IT_FC_OBJECT_RANGE | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_FC_OBJECT_RANGE | 20101220 | ||||
| 7 | IT_FC_OBJ_TYPE_RANGE | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_FC_OBJ_TYPE_RANGE | 20101220 | ||||
| 8 | IT_INTERNAL_KEY_RANGE | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_INTERNAL_KEY_RANGE | 20101220 | ||||
| 9 | IT_OBJECT_ID_RANGE | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_OBJECT_ID_RANGE | 20101220 | ||||
| 10 | IT_ORG_UNIT_RANGE | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_ORG_UNIT_RANGE | 20101220 | ||||
| 11 | IV_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20101220 | |||
| 12 | IV_CATS_RELEVANT | Call by reference | Type reference (TYPE) | SAWE_CATS_RELEVANT | Staff Assignment: CATS-Relevant | 20101220 | |||
| 13 | IV_COST_CENTRE | Call by reference | Type reference (TYPE) | KOSTL | Cost Center | 20101220 | |||
| 14 | IV_EXTERNAL_ID | Call by reference | Type reference (TYPE) | SAWE_EXTERNAL_ID | Staff Assignment External ID | 20101220 | |||
| 15 | IV_FC_OBJECT | Call by reference | Type reference (TYPE) | SAWE_FORECAST_OBJ | Forecast Object | 20101220 | |||
| 16 | IV_FC_OBJ_TYPE | Call by reference | Type reference (TYPE) | WE_ENGAGEMENT_TYPE | Assignment Obj. Type | 20101220 | |||
| 17 | IV_INTERNAL_KEY | Call by reference | Type reference (TYPE) | SAWE_GUID | GUID Generated Internally | 20101220 | |||
| 18 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | SWO_OBJID | Object ID | 20101220 | |||
| 19 | IV_ORG_UNIT | Call by reference | Type reference (TYPE) | ORGEH | Organizational Unit | 20101220 | |||
| 20 | IV_VALIDITY_FROM | Call by reference | Type reference (TYPE) | SAWE_DATE_FROM | Start Date of Staff Assignment | 20101220 | |||
| 21 | IV_VALIDITY_TO | Call by reference | Type reference (TYPE) | SAWE_DATE_TO | End Date of Staff Assignment | 20101220 |
Method GET_BY_ENH_FC_ATTRIBUTES on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method GET_ENHANCED_FC_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENHANCED_FC | Call by reference | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20100920 |
Method GET_ENHANCED_FC_DB on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method GET_ENH_FC_FOR_CCODE_CATS_FLAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENHANCED_FC | Call by reference | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20100930 | |||
| 2 | IV_CHK_CATS_FLAG | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_TRUE | Check CATS Flag being set('X' - Check Set, ' ' No Check) | 20100930 | ||
| 3 | IV_COMPANY_CODE | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20100930 |
Method GET_ENH_FC_FOR_CCODE_CATS_FLAG on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method GET_ENH_FC_FOR_COMPANY_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENHANCED_FC | Call by reference | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20100830 | |||
| 2 | IV_COMPANY_CODE | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20100830 |
Method GET_ENH_FC_FOR_COMPANY_CODE on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method GET_ENH_FC_FOR_EMPLOYEE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENH_FC_OBJS | Call by reference | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20100922 | |||
| 2 | ET_OBJECT_KEYS | Call by reference | Type reference (TYPE) | IF_WE_ENGAGEMENT_CALLBACK=>OBJECT_KEYS | Forecast Object IDs and types | 20100922 | |||
| 3 | ET_PERNR_ENH_FC_OBJS | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_PERNR_ENH_FCS | Enhanced Forecats Objects with Employee ID | 20101220 | |||
| 4 | IV_CHK_CATS_FLAG | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | CATS Relevant Flag | 20100923 | ||
| 5 | IV_DATE_FROM | Call by reference | Type reference (TYPE) | SAWE_BEGIN_DATE | IF_SAWE_SA_CONSTANTS=>GC_DATE_BEGIN | Begin Date | 20100922 | ||
| 6 | IV_DATE_TO | Call by reference | Type reference (TYPE) | SAWE_END_DATE | IF_SAWE_SA_CONSTANTS=>GC_DATE_INFINITY | End Date | 20100922 | ||
| 7 | IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20100922 |
Method GET_ENH_FC_FOR_EMPLOYEE on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method GET_ENH_FC_FOR_EMPLOYEE_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENH_FC_OBJS | Call by reference | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20101028 | |||
| 2 | ET_OBJECT_KEYS | Call by reference | Type reference (TYPE) | IF_WE_ENGAGEMENT_CALLBACK=>OBJECT_KEYS | Forecast Object IDs and types | 20101028 | |||
| 3 | ET_PERNR_ENH_FC_OBJS | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_PERNR_ENH_FCS | Enhanced Forecast Objects with Employee ID | 20101220 | |||
| 4 | IT_EMPLOYEE_ID_LIST | Call by reference | Type reference (TYPE) | SAWE_T_EMP_ID_LIST | Personnel Number | 20101028 | |||
| 5 | IV_CHK_CATS_FLAG | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | CATS Relevant Flag | 20101028 | ||
| 6 | IV_DATE_FROM | Call by reference | Type reference (TYPE) | SAWE_BEGIN_DATE | IF_SAWE_SA_CONSTANTS=>GC_DATE_BEGIN | Begin Date | 20101028 | ||
| 7 | IV_DATE_TO | Call by reference | Type reference (TYPE) | SAWE_END_DATE | IF_SAWE_SA_CONSTANTS=>GC_DATE_INFINITY | End Date | 20101028 |
Method GET_ENH_FC_FOR_EMPLOYEE_LIST on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method GET_FORECAST_OBJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OBJECT_KEYS | Call by reference | Type reference (TYPE) | IF_WE_ENGAGEMENT_CALLBACK=>OBJECT_KEYS | 20100803 | ||||
| 2 | IS_FC_OBJ | Call by reference | Type reference (TYPE) | TSAWE_DUMMY_OBJ | Definition of forecasting object types | 20100804 | |||
| 3 | IV_COMPANY_CODE | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20100803 |
Method GET_FORECAST_OBJ on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
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_ENHANCED_FORECAST_OBJ | Util-Class for Enhanced Forecast Objects | 20100803 |
Method GET_INSTANCE on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method INSERT_ENHANCED_FC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100921 | |||
| 2 | EV_ERROR_EXISTS | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100922 | |||
| 3 | IT_ENH_FC_INS | Call by reference | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20100921 |
Method INSERT_ENHANCED_FC on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method LOAD_ENHANCED_FC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENHANCED_FC | Call by reference | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20100921 | |||
| 2 | ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100921 |
Method LOAD_ENHANCED_FC on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
Method SET_ENHANCED_FC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENH_FC_INS | Call by reference | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20100804 | |||
| 2 | IS_FC_OBJ | Call by reference | Type reference (TYPE) | TSAWE_DUMMY_OBJ | Definition of forecasting object types | 20100804 | |||
| 3 | IT_ENHANCED_FC_DB | Call by reference | Type reference (TYPE) | SAWE_T_ENHANCED_FC | Enhanced Forecast Objects | 20100804 | |||
| 4 | IT_FC_OBJ_KEYS | Call by reference | Type reference (TYPE) | IF_WE_ENGAGEMENT_CALLBACK=>OBJECT_KEYS | 20100804 |
Method SET_ENHANCED_FC on class CL_SAWE_ENHANCED_FORECAST_OBJ has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 606 |