SAP ABAP Class CL_HRTNM_QUOTA_MANAGER (TNM: class to handle quota management)
Hierarchy
☛
SAP_HRCFR (Software Component) Sub component SAP_HRCFR of SAP_HR
⤷ PY-FR (Application Component) France
⤷ P99S_TNM (Package) Training needs management
⤷ PY-FR (Application Component) France
⤷ P99S_TNM (Package) Training needs management
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_HRTNM_QUOTA_MANAGER | TNM: interface for quota manager | 20071022 |
Properties
Class | CL_HRTNM_QUOTA_MANAGER | |
Short Description | TNM: class to handle quota management | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | P99S_TNM | Training needs management |
Created | 20071019 | SAP |
Last change | 20080505 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | P99SF | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | PTNM0 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_HRTNM_QUOTA_MANAGER | TNM: interface for quota manager | 20071022 |
Friends
Class CL_HRTNM_QUOTA_MANAGER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | A_IS_QUOTA | Static Attribute | Private | Type reference (TYPE) | XFELD | Checkbox | 20071022 | ||
2 | A_O_QUOTA_BUFFER | Static Attribute | Private | Object reference (TYPE REF TO) | OBJECT | Reference to quota data buffer object | 20071024 | ||
3 | A_TAB_QUOTA_INFO | Static Attribute | Private | Type reference (TYPE) | HRTNM_QUOTA_INFO_TAB | TNM: table type for quota management info | 20071022 | ||
4 | A_TAB_QUOTA_INFO_OLD | Static Attribute | Private | Type reference (TYPE) | HRTNM_QUOTA_INFO_TAB | TNM: table type for quota management info | 20071113 | ||
5 | A_TAB_T77TNM_DE | Static Attribute | Private | Type reference (TYPE) | HRTNM_T77TNM_DE_TAB | TNM: deduction customizing table type | 20071108 | ||
6 | A_TAB_T77TNM_QU | Static Attribute | Private | Type reference (TYPE) | HRTNM_T77TNM_QU_TAB | TNM: table type | 20071022 | ||
7 | A_TN_INFO | Static Attribute | Private | Type reference (TYPE) | HRTNM_S_MAIN_OBJ_INFO | TNM:main object info | 20071022 | ||
8 | A_WA_T77TNM_AB_OLD | Static Attribute | Private | Type reference (TYPE) | T77TNM_AB | TNM: absence records table | 20071106 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20071019 |
2 | DEDUCE_QUOTA | Instance method | Private | Method | Deduce quota | 20071031 |
3 | GET_ABSENCE | Instance method | Private | Method | 20071022 | |
4 | GET_ABSENCE_FROM_PERIOD | Instance method | Private | Method | Get absence from period | 20071113 |
5 | GET_ABS_NAME | Instance method | Private | Method | Get name of abs/deduction used to decount quota | 20071112 |
6 | GET_FUTURE_QUOTA | Instance method | Private | Method | Try to get future quota if none is available for the period | 20071114 |
7 | GET_PERSON_GROUP | Instance method | Private | Method | Get person grouping towards time | 20071023 |
8 | GET_PERSON_QUOTA | Instance method | Private | Method | Get quota of a given employee | 20071022 |
9 | GET_QUOTA_NAME | Instance method | Private | Method | Get quota name | 20071023 |
10 | UPDATE_PERSON_QUOTA | Instance method | Private | Method | Update quota via absence creation/deletion | 20071030 |
Events
Class CL_HRTNM_QUOTA_MANAGER has no event.
Types
Class CL_HRTNM_QUOTA_MANAGER has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_HRTNM_QUOTA_MANAGER has no parameter.
Method CONSTRUCTOR on class CL_HRTNM_QUOTA_MANAGER has no exception.
Method DEDUCE_QUOTA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CH_TAB_P_ALV_DATA | Call by reference | Type reference (TYPE) | HRTNM_PERSON_QUOTA_ALV_TAB | TNM: table type for person ALV quota management | 20071031 | ||
2 | Importing | IM_DATE_REF | Call by reference | Type reference (TYPE) | DATUM | For IT0416, begda equals endda | 20071031 | ||
3 | Importing | IM_INFTY | Call by reference | Type reference (TYPE) | INFOTYP | Infotype | 20071031 | ||
4 | Importing | IM_NBHRS | Call by reference | Type reference (TYPE) | HRTNM_NBHRS | Number of Training Hours | 20071031 | ||
5 | Importing | IM_OPERATION | Call by reference | Type reference (TYPE) | ACTIO | Infotype operation | 20071031 | ||
6 | Importing | IM_PERNR | Call by reference | Type reference (TYPE) | PERSNO | Personnel number | 20071031 | ||
7 | Importing | IM_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | Subtype | 20071031 | ||
8 | Importing | IM_TETYP | Call by reference | Type reference (TYPE) | HRTNM_TETYP | TNM: time element type | 20071106 |
Method DEDUCE_QUOTA on class CL_HRTNM_QUOTA_MANAGER has no exception.
Method GET_ABSENCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_TAB_T77TNM_AB | Call by reference | Type reference (TYPE) | HRTNM_T77TNM_AB_TAB | List of absence | 20071022 | ||
2 | Importing | IM_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start Date | 20071022 | ||
3 | Importing | IM_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20071022 | ||
4 | Importing | IM_INFTY | Call by reference | Type reference (TYPE) | INFOTYP | Infotype | 20071022 | ||
5 | Importing | IM_OBJID | Call by reference | Type reference (TYPE) | HROBJID | TN reference | 20071022 | ||
6 | Importing | IM_OTYPE | Call by reference | Type reference (TYPE) | OTYPE | Object Type | 20071022 | ||
7 | Importing | IM_PERNR | Call by reference | Type reference (TYPE) | PERSNO | Personal number | 20071022 | ||
8 | Importing | IM_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | Subtype | 20071022 | ||
9 | Importing | IM_TAB_TIME_CUSTO | Call by reference | Type reference (TYPE) | HRTNM_TIME_CUSTO_TAB | TNM: table type for time customizing | 20071022 |
Method GET_ABSENCE on class CL_HRTNM_QUOTA_MANAGER has no exception.
Method GET_ABSENCE_FROM_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_TAB_T77TNM_AB | Call by reference | Type reference (TYPE) | HRTNM_T77TNM_AB_TAB | TNM: table type for T77TNM_AB | 20071113 | ||
2 | Importing | IM_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start Date | 20071113 | ||
3 | Importing | IM_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20071113 | ||
4 | Importing | IM_INFTY | Call by reference | Type reference (TYPE) | INFOTYP | Infotype | 20071113 | ||
5 | Importing | IM_OBJID | Call by reference | Type reference (TYPE) | HROBJID | Object ID | 20071113 | ||
6 | Importing | IM_OTYPE | Call by reference | Type reference (TYPE) | OTYPE | Object Type | 20071113 | ||
7 | Importing | IM_PERNR | Call by reference | Type reference (TYPE) | PERSNO | Personnel number | 20071113 | ||
8 | Importing | IM_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | Subtype | 20071113 | ||
9 | Importing | IM_TAB_TIME_CUSTO | Call by reference | Type reference (TYPE) | HRTNM_TIME_CUSTO_TAB | TNM: table type for time customizing | 20071113 |
Method GET_ABSENCE_FROM_PERIOD on class CL_HRTNM_QUOTA_MANAGER has no exception.
Method GET_ABS_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_ABNAM | Call by reference | Type reference (TYPE) | TEXT35 | TNM: quota name | 20071112 | ||
2 | Importing | IM_KONTY | Call by reference | Type reference (TYPE) | MOPGK | Employee Subgroup Grouping for Time Quota Types | 20071112 | ||
3 | Importing | IM_MOZKO | Call by reference | Type reference (TYPE) | MOZKO | Grouping of Personnel Subareas for Time Quota Types | 20071112 | ||
4 | Importing | IM_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | Subtype | 20071112 |
Method GET_ABS_NAME on class CL_HRTNM_QUOTA_MANAGER has no exception.
Method GET_FUTURE_QUOTA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_INFTY | Call by reference | Type reference (TYPE) | INFOTYP | Infotype | 20071114 | ||
2 | Importing | IM_PERNR | Call by reference | Type reference (TYPE) | PERSNO | Personnel number | 20071114 |
Method GET_FUTURE_QUOTA on class CL_HRTNM_QUOTA_MANAGER has no exception.
Method GET_PERSON_GROUP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_KONTY | Call by reference | Type reference (TYPE) | MOPGK | Employee Subgroup Grouping for Time Quota Types | 20071023 | ||
2 | Exporting | EX_MOABW | Call by reference | Type reference (TYPE) | MOABW | Personnel subarea grouping for absence and attendance types | 20081216 | ||
3 | Exporting | EX_MOZKO | Call by reference | Type reference (TYPE) | MOZKO | Grouping of Personnel Subareas for Time Quota Types | 20071023 | ||
4 | Importing | IM_BTRTL | Call by reference | Type reference (TYPE) | BTRTL | Personnel Subarea | 20071023 | ||
5 | Importing | IM_PERSG | Call by reference | Type reference (TYPE) | PERSG | Employee Group | 20071023 | ||
6 | Importing | IM_PERSK | Call by reference | Type reference (TYPE) | PERSK | Employee Subgroup | 20071023 | ||
7 | Importing | IM_WERKS | Call by reference | Type reference (TYPE) | PERSA | Plant Table for National (Centrally Agreed) Contracts | 20071023 |
Method GET_PERSON_GROUP on class CL_HRTNM_QUOTA_MANAGER has no exception.
Method GET_PERSON_QUOTA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_KONTY | Call by reference | Type reference (TYPE) | MOPGK | Employee Subgroup Grouping for Time Quota Types | 20071107 | ||
2 | Exporting | EX_MOABW | Call by reference | Type reference (TYPE) | MOABW | Personnel subarea grouping for absence and attendance types | 20081216 | ||
3 | Exporting | EX_MOZKO | Call by reference | Type reference (TYPE) | MOZKO | Grouping of Personnel Subareas for Time Quota Types | 20071107 | ||
4 | Exporting | EX_TAB_QUOTA_ALV | Call by reference | Type reference (TYPE) | HRTNM_QUOTA_ALV_TAB | TNM: structure to display quota info in an ALV | 20071022 | ||
5 | Importing | IM_AT_LOAD | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20071024 | ||
6 | Importing | IM_SOBID | Call by reference | Type reference (TYPE) | SOBID | Personal number | 20071022 | ||
7 | Importing | IM_WA_P_INFO_ALV | Call by reference | Type reference (TYPE) | HRTNM_S_PERSON_BASIS_ALV | TNM: person info | 20071023 |
Method GET_PERSON_QUOTA on class CL_HRTNM_QUOTA_MANAGER has no exception.
Method GET_QUOTA_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_QUNAM | Call by reference | Type reference (TYPE) | HRTNM_QUNAM | Subtype text | 20071023 | ||
2 | Importing | IM_INFTY | Call by reference | Type reference (TYPE) | INFOTYP | Infotype | 20071023 | ||
3 | Importing | IM_KONTY | Call by reference | Type reference (TYPE) | MOPGK | Employee Subgroup Grouping for Time Quota Types | 20071023 | ||
4 | Importing | IM_MOZKO | Call by reference | Type reference (TYPE) | MOZKO | Grouping of Personnel Subareas for Time Quota Types | 20071023 | ||
5 | Importing | IM_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | Subtype | 20071023 |
Method GET_QUOTA_NAME on class CL_HRTNM_QUOTA_MANAGER has no exception.
Method UPDATE_PERSON_QUOTA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CH_TAB_P_ALV_DATA | Call by reference | Type reference (TYPE) | HRTNM_PERSON_QUOTA_ALV_TAB | TNM: table type for person ALV quota management | 20071030 | ||
2 | Importing | IM_OPERATION | Call by reference | Type reference (TYPE) | ACTIO | Operation for linking attribute values | 20071030 | ||
3 | Importing | IM_PERNR | Call by reference | Type reference (TYPE) | PERSNO | Personnel number | 20071030 | ||
4 | Importing | IM_PT1681 | Call by reference | Type reference (TYPE) | PT1681 | TNM: quota info | 20071109 | ||
5 | Importing | IM_TETYP | Call by reference | Type reference (TYPE) | HRTNM_TETYP | TNM: time element type | 20071030 | ||
6 | Importing | IM_WA_TIME_CUSTO | Call by reference | Type reference (TYPE) | HRTNM_S_TIME_CUSTO | TNM: time custo | 20071109 |
Method UPDATE_PERSON_QUOTA on class CL_HRTNM_QUOTA_MANAGER has no exception.
History
Last changed by/on | SAP | 20080505 |
SAP Release Created in | 600 |