SAP ABAP Class CL_HRTNM_TRAINER_SERVICES (Utility class for TNM trainer data processing)
Hierarchy
☛
SAP_HRCFR (Software Component) Sub component SAP_HRCFR of SAP_HR
⤷
PY-FR (Application Component) France
⤷
P99S_TNM (Package) Training needs management
⤷
⤷
Properties
| Class | CL_HRTNM_TRAINER_SERVICES | |
| Short Description | Utility class for TNM trainer data processing | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | P99S_TNM | Training needs management |
| Created | 20111104 | SAP |
| Last change | 20130531 | 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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_HRTNM_TRAINER_SERVICES has no interface implemented.
Friends
Class CL_HRTNM_TRAINER_SERVICES has no friend class.
Attributes
Class CL_HRTNM_TRAINER_SERVICES has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | Check if overlapping data exist | 20120316 | |
| 2 | Static method | Public | Method | Get trainer other costs categories | 20120316 | |
| 3 | Static method | Public | Method | Get trainer other costs category | 20120316 | |
| 4 | Static method | Public | Method | Get employee trainer category | 20120316 | |
| 5 | Static method | Public | Method | Get trainer assigned to a given course | 20120316 | |
| 6 | Static method | Public | Method | Get trainer time data from both IT1001 and IT1691 | 20120316 | |
| 7 | Static method | Public | Method | Handle fast entry time data update | 20120316 | |
| 8 | Static method | Public | Method | Handle other costs entered for a given course/trainers | 20120316 | |
| 9 | Static method | Public | Method | Calculate external trainer salary costs | 20120316 | |
| 10 | Static method | Public | Method | Set trainer info | 20120316 |
Events
Class CL_HRTNM_TRAINER_SERVICES has no event.
Types
Class CL_HRTNM_TRAINER_SERVICES has no local type.
Method Signatures
Method CHECK_OVERLAP_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_IS_OVERLAP | Call by reference | Type reference (TYPE) | XFELD | Overlapping data exists? | 20120316 | |||
| 2 | IM_TAB_PT1691 | Call by reference | Type reference (TYPE) | HRTNM_PT1691_TAB | Table infotype for structure PT1691 | 20120316 | |||
| 3 | IM_WA_FAST_ENTRY_DATA | Call by reference | Type reference (TYPE) | HRTNM_S_TIME_DATA_FAST_ENTRY | Fast entry time data | 20120316 |
Method CHECK_OVERLAP_DATA on class CL_HRTNM_TRAINER_SERVICES has no exception.
Method GET_COST_CATEGORIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_TAB_T77TNM_CC | Call by reference | Type reference (TYPE) | HRTNM_T77TNM_CC_TAB | Cost Categories | 20120316 | |||
| 2 | IM_CAGRT | Call by reference | Type reference (TYPE) | HRTNM_CAGRT | 'TO' | Cost category group type | 20120316 | ||
| 3 | IM_DATE_REF | Call by reference | Type reference (TYPE) | DATUM | Date | 20120316 | |||
| 4 | IM_MOLGA | Call by reference | Type reference (TYPE) | ANY | '%' | Country Grouping | 20120316 |
Method GET_COST_CATEGORIES on class CL_HRTNM_TRAINER_SERVICES has no exception.
Method GET_COST_CATEGORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_WA_T77TNM_CC | Call by reference | Type reference (TYPE) | T77TNM_CC | Cost Category | 20120316 | |||
| 2 | IM_CAGRT | Call by reference | Type reference (TYPE) | HRTNM_CAGRT | 'TO' | Cost category group type | 20120316 | ||
| 3 | IM_DATE_REF | Call by reference | Type reference (TYPE) | DATUM | Date | 20120316 | |||
| 4 | IM_MOLGA | Call by reference | Type reference (TYPE) | ANY | Country Grouping | 20120316 |
Method GET_COST_CATEGORY on class CL_HRTNM_TRAINER_SERVICES has no exception.
Method GET_EMPLOYEE_TRAINER_CATEGORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_CUSTO_INCONSISTENCY | Call by reference | Type reference (TYPE) | XFELD | Customizing inconsistency? | 20120316 | |||
| 2 | EX_TRCAT | Call by reference | Type reference (TYPE) | HRTNM_TRCAT | Trainer Category | 20120316 | |||
| 3 | IM_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Beginning Date | 20120316 | |||
| 4 | IM_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20120316 | |||
| 5 | IM_PERNR | Call by reference | Type reference (TYPE) | ANY | Personnel number | 20120316 |
Method GET_EMPLOYEE_TRAINER_CATEGORY on class CL_HRTNM_TRAINER_SERVICES has no exception.
Method GET_TRAINER_DATA_FOR_E Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_TAB_P1001_E_TRAINER | Call by reference | Type reference (TYPE) | P1001TAB | IT1001 table course-trainer(s) | 20120316 | |||
| 2 | EX_TAB_TRAINER_INFO | Call by reference | Type reference (TYPE) | HRTNM_TRAINER_INFO_TAB | Trainer info data | 20120316 | |||
| 3 | IM_WA_EINFO | Call by reference | Type reference (TYPE) | HRTNM_S_EINFO | Course object info | 20120316 |
Method GET_TRAINER_DATA_FOR_E on class CL_HRTNM_TRAINER_SERVICES has no exception.
Method GET_TRAINER_TIME_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_TAB_PERS_COSTS | Call by reference | Type reference (TYPE) | HRTNM_VAL_STAFF_TAB | TNM: staff assignment table type | 20120316 | |||
| 2 | CH_TAB_TN_VAL_LOG | Call by reference | Type reference (TYPE) | HRTNM_VAL_LOG_TN_TAB | TNM: table type for valuation log (attached to a snapshot) | 20120316 | |||
| 3 | EX_TAB_P1691 | Call by reference | Type reference (TYPE) | HRTNM_P1691_TAB | P1691 structure | 20120316 | |||
| 4 | IM_IF_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRBAS_MESSAGE_HANDLER | HR-PD Infotypes: Messages | 20120316 | |||
| 5 | IM_O_VALO_COMPUT_SERVICES | Call by reference | Object reference (TYPE REF TO) | CL_HRTNM_VALO_COMPUT_SERVICES | TNM: service class for TN costs valuation | 20120316 | |||
| 6 | IM_TAB_P1001_E_TRAINER | Call by reference | Type reference (TYPE) | P1001TAB | IT1001 table course-trainer(s) | 20120316 | |||
| 7 | IM_WA_EINFO | Call by reference | Type reference (TYPE) | HRTNM_S_EINFO | Course object info | 20120316 | |||
| 8 | IM_WA_TN | Call by reference | Type reference (TYPE) | HRTNM_S_TREE | TNM: tree structure | 20120316 |
Method GET_TRAINER_TIME_DATA on class CL_HRTNM_TRAINER_SERVICES has no exception.
Method HANDLE_FAST_ENTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_TAB_PT1691 | Call by reference | Type reference (TYPE) | HRTNM_PT1691_TAB | Table infotype for structure PT1691 | 20120316 | |||
| 2 | CH_WA_FAST_ENTRY_DATA | Call by reference | Type reference (TYPE) | HRTNM_S_TIME_DATA_FAST_ENTRY | Fast entry time data | 20120316 | |||
| 3 | IM_TSCHT | Call by reference | Type reference (TYPE) | HRTNM_TSCHT | Training Time Recording Type | 20120316 |
Method HANDLE_FAST_ENTRY on class CL_HRTNM_TRAINER_SERVICES has no exception.
Method HANDLE_OTHER_COSTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_TAB_PERS_COSTS | Call by reference | Type reference (TYPE) | HRTNM_VAL_STAFF_TAB | TNM: staff assignment table type | 20120316 | |||
| 2 | CH_TAB_TN_VAL_LOG | Call by reference | Type reference (TYPE) | HRTNM_VAL_LOG_TN_TAB | TNM: table type for valuation log (attached to a snapshot) | 20120316 | |||
| 3 | IM_DATE_REF | Call by reference | Type reference (TYPE) | DATUM | Date | 20120316 | |||
| 4 | IM_IF_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRBAS_MESSAGE_HANDLER | HR-PD Infotypes: Messages | 20120316 | |||
| 5 | IM_MOLGA | Call by reference | Type reference (TYPE) | MOLGA | Country Grouping | 20120316 | |||
| 6 | IM_O_VALO_COMPUT_SERVICES | Call by reference | Object reference (TYPE REF TO) | CL_HRTNM_VALO_COMPUT_SERVICES | TNM: service class for TN costs valuation | 20120316 | |||
| 7 | IM_WA_EINFO | Call by reference | Type reference (TYPE) | HRTNM_S_EINFO | TNM: structure to store E object info | 20120316 | |||
| 8 | IM_WA_TN | Call by reference | Type reference (TYPE) | HRTNM_S_TREE | TNM: tree structure | 20120316 | |||
| 9 | IV_COMPRESS_TROC | Call by reference | Type reference (TYPE) | XFELD | PTNM1_C_TRUE | Compress trainer other costs category | 20120607 |
Method HANDLE_OTHER_COSTS on class CL_HRTNM_TRAINER_SERVICES has no exception.
Method HANDLE_SALARY_COSTS_EXTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_TAB_PERS_COSTS | Call by reference | Type reference (TYPE) | HRTNM_VAL_STAFF_TAB | TNM: staff assignment table type | 20120316 | |||
| 2 | CH_TAB_TN_VAL_LOG | Call by reference | Type reference (TYPE) | HRTNM_VAL_LOG_TN_TAB | TNM: table type for valuation log (attached to a snapshot) | 20120316 | |||
| 3 | IM_DATE_REF | Call by reference | Type reference (TYPE) | DATUM | Date | 20120316 | |||
| 4 | IM_IF_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRBAS_MESSAGE_HANDLER | HR-PD Infotypes: Messages | 20120316 | |||
| 5 | IM_O_VALO_COMPUT_SERVICES | Call by reference | Object reference (TYPE REF TO) | CL_HRTNM_VALO_COMPUT_SERVICES | TNM: service class for TN costs valuation | 20120316 | |||
| 6 | IM_PLVAR | Call by reference | Type reference (TYPE) | PLVAR | Plan Version | 20120316 | |||
| 7 | IM_TAB_PERS | Call by reference | Type reference (TYPE) | HRTNM_VAL_PERID_ACTUAL_TAB | Person | 20120316 | |||
| 8 | IM_WA_EINFO | Call by reference | Type reference (TYPE) | HRTNM_S_EINFO | TNM: structure to store E object info | 20120316 | |||
| 9 | IM_WA_TN | Call by reference | Type reference (TYPE) | HRTNM_S_TREE | TNM: tree structure | 20120316 |
Method HANDLE_SALARY_COSTS_EXTERNAL on class CL_HRTNM_TRAINER_SERVICES has no exception.
Method SET_TRAINER_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_TAB_PERS_COSTS | Call by reference | Type reference (TYPE) | HRTNM_VAL_STAFF_TAB | TNM: staff assignment table type | 20120316 | |||
| 2 | EX_WA_PERS_COSTS | Call by reference | Type reference (TYPE) | HRTNM_S_VAL_STAFF | TNM: staff assignment structure | 20120316 | |||
| 3 | IM_NBHRS | Call by reference | Type reference (TYPE) | ANY | Nb of regular hours done by the trainer | 20120316 | |||
| 4 | IM_OVHRS | Call by reference | Type reference (TYPE) | ANY | Nb of overtime hours done by the trainer | 20120316 | |||
| 5 | IM_TRAINER_OBJID | Call by reference | Type reference (TYPE) | HROBJID | Object ID | 20120316 | |||
| 6 | IM_TRAINER_OTYPE | Call by reference | Type reference (TYPE) | OTYPE | Object type | 20120316 | |||
| 7 | IM_WA_P1001 | Call by reference | Type reference (TYPE) | P1001 | Trainer data | 20120316 |
Method SET_TRAINER_INFO on class CL_HRTNM_TRAINER_SERVICES has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |