SAP ABAP Class CL_SAWE_CA_TIME_SHEET (Util-Class for Cats)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
IS-PRS-LS (Application Component) Lean Staffing
⤷
PSAWE_CO_REUSE (Package) Reuse objects for Structure Package EA-SAWE
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SAWE_SA_CONSTANTS | Constants definitions | 20091110 |
Properties
| Class | CL_SAWE_CA_TIME_SHEET | |
| Short Description | Util-Class for Cats | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PSAWE_CO_REUSE | Reuse objects for Structure Package EA-SAWE |
| Created | 20090924 | 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... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SAWE_SA_CONSTANTS | Constants definitions | 20091110 |
Friends
Class CL_SAWE_CA_TIME_SHEET has no friend class.
Attributes
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20091208 | ||
| 2 | Instance method | Public | Method | 20091217 | ||
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20091207 | |
| 4 | Static method | Public | Method | Returns Singleton | 20090924 | |
| 5 | Instance method | Public | Method | Returns approved recorded hours for an assignment (FC group) | 20091203 | |
| 6 | Instance method | Public | Method | Returns approved recorded hours to an employee | 20091005 | |
| 7 | Instance method | Public | Method | (EhP6)Returns Approved Recorded Hrs - Enhanced Forecast Objs | 20100923 | |
| 8 | Instance method | Public | Method | Read employees targets hours from CATS | 20091002 |
Events
Class CL_SAWE_CA_TIME_SHEET has no event.
Types
Class CL_SAWE_CA_TIME_SHEET has no local type.
Method Signatures
Method CALC_CATS_HOURS_FROM_WORKLIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CATS_ACTUAL | Call by reference | Type reference (TYPE) | CATSHOURS | 20091208 | ||||
| 2 | IT_WORKLIST_CATS | Call by reference | Type reference (TYPE) | CATSDBCOMM_ITAB | CATSXT: Internal Table with CATSDBCOMM Structure | 20091208 | |||
| 3 | IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | PERNR_D | 20091208 |
Method CALC_CATS_HOURS_FROM_WORKLIST on class CL_SAWE_CA_TIME_SHEET has no exception.
Method CHECK_IF_HOURS_REPORTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ASSIGNMENT | Call by reference | Type reference (TYPE) | SAWE_S_SA_ITM | Staff Assignment Item | 20091217 | |||
| 2 | IT_WORKLIST_CATS | Call by reference | Type reference (TYPE) | CATSDBCOMM_ITAB | CATSXT: Internal Table with CATSDBCOMM Structure | 20091217 | |||
| 3 | IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20091217 | |||
| 4 | RV_HOURS_REPORTED | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20091217 |
Method CHECK_IF_HOURS_REPORTED on class CL_SAWE_CA_TIME_SHEET has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SAWE_CA_TIME_SHEET has no parameter.
Method CONSTRUCTOR on class CL_SAWE_CA_TIME_SHEET 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_CA_TIME_SHEET | Util-Class for Cats | 20090924 |
Method GET_INSTANCE on class CL_SAWE_CA_TIME_SHEET has no exception.
Method GET_REPORTED_HRS_FOR_ASSGNMT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CATS_ACTUAL | Call by reference | Type reference (TYPE) | CATSHOURS | Hours | 20091203 | |||
| 2 | IS_ASSIGNMENT | Call by reference | Type reference (TYPE) | SAWE_S_SA_ITM | Staff Assignment Item | 20091203 | |||
| 3 | IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20091203 | |||
| 4 | IV_ENGAGEMENT_ID | Call by reference | Type reference (TYPE) | SWO_OBJID | Object ID | 20091203 | |||
| 5 | IV_ENGAGEMENT_TYPE | Call by reference | Type reference (TYPE) | WE_ENGAGEMENT_TYPE | Work Engagement type | 20091203 | |||
| 6 | IV_FC_GROUP_REL | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20091203 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authority missing for reading CATS data | 20091203 |
Method GET_REPORTED_HRS_FOR_EMPLOYEE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CATS_ACTUAL | Call by reference | Type reference (TYPE) | CATSHOURS | Hours | 20091008 | |||
| 2 | IV_DATE_FROM | Call by reference | Type reference (TYPE) | SYDATUM | SY-DATUM | Current Date of Application Server | 20091005 | ||
| 3 | IV_DATE_TO | Call by reference | Type reference (TYPE) | SYDATUM | SY-DATUM | Current Date of Application Server | 20091005 | ||
| 4 | IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20091005 | |||
| 5 | IV_ENGAGEMENT_ID | Call by reference | Type reference (TYPE) | SWO_OBJID | Object ID | 20091005 | |||
| 6 | IV_ENGAGEMENT_TYPE | Call by reference | Type reference (TYPE) | WE_ENGAGEMENT_TYPE | Work Engagement type | 20091008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authority missing for reading CATS data | 20091203 |
Method GET_REPORTED_HRS_FOR_ENH_FC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CATS_ACTUAL | Call by reference | Type reference (TYPE) | CATSHOURS | Hours | 20100923 | |||
| 2 | IS_PERNR_ENH_FC | Call by reference | Type reference (TYPE) | CL_SAWE_ENHANCED_FORECAST_OBJ=>TY_PERNR_ENH_FC | 20110221 | ||||
| 3 | IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20100923 | |||
| 4 | IV_ENGAGEMENT_ID | Call by reference | Type reference (TYPE) | SWO_OBJID | Object ID | 20100923 | |||
| 5 | IV_ENGAGEMENT_TYPE | Call by reference | Type reference (TYPE) | WE_ENGAGEMENT_TYPE | Work Engagement type | 20100923 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authority missing for reading CATS data | 20100923 |
Method GET_TARGET_HOURS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TARGET_HOURS | Call by reference | Type reference (TYPE) | SAWE_T_TARGET_HOURS | Sawe: Target hours for employee | 20091006 | |||
| 2 | EV_TARGET_HOURS | Call by reference | Type reference (TYPE) | ABATTSTD | Absence/Attendance hours | 20091005 | |||
| 3 | IV_DATE_FROM | Call by reference | Type reference (TYPE) | SYDATUM | SY-DATUM | Current Date of Application Server | 20091002 | ||
| 4 | IV_DATE_TO | Call by reference | Type reference (TYPE) | SYDATUM | SY-DATUM | Current Date of Application Server | 20091002 | ||
| 5 | IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20091002 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme beim Besorgen der Vorgabestunden | 20091002 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 605 |