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 PTNM0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 PTNM1 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 CHECK_OVERLAP_DATA Static method Protected Method Check if overlapping data exist 20120316
2 GET_COST_CATEGORIES Static method Public Method Get trainer other costs categories 20120316
3 GET_COST_CATEGORY Static method Public Method Get trainer other costs category 20120316
4 GET_EMPLOYEE_TRAINER_CATEGORY Static method Public Method Get employee trainer category 20120316
5 GET_TRAINER_DATA_FOR_E Static method Public Method Get trainer assigned to a given course 20120316
6 GET_TRAINER_TIME_DATA Static method Public Method Get trainer time data from both IT1001 and IT1691 20120316
7 HANDLE_FAST_ENTRY Static method Public Method Handle fast entry time data update 20120316
8 HANDLE_OTHER_COSTS Static method Public Method Handle other costs entered for a given course/trainers 20120316
9 HANDLE_SALARY_COSTS_EXTERNAL Static method Public Method Calculate external trainer salary costs 20120316
10 SET_TRAINER_INFO 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 Exporting EX_IS_OVERLAP Call by reference Type reference (TYPE) XFELD Overlapping data exists? 20120316
2 Importing IM_TAB_PT1691 Call by reference Type reference (TYPE) HRTNM_PT1691_TAB Table infotype for structure PT1691 20120316
3 Importing 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 Exporting EX_TAB_T77TNM_CC Call by reference Type reference (TYPE) HRTNM_T77TNM_CC_TAB Cost Categories 20120316
2 Importing IM_CAGRT Call by reference Type reference (TYPE) HRTNM_CAGRT 'TO' Cost category group type 20120316
3 Importing IM_DATE_REF Call by reference Type reference (TYPE) DATUM Date 20120316
4 Importing 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 Exporting EX_WA_T77TNM_CC Call by reference Type reference (TYPE) T77TNM_CC Cost Category 20120316
2 Importing IM_CAGRT Call by reference Type reference (TYPE) HRTNM_CAGRT 'TO' Cost category group type 20120316
3 Importing IM_DATE_REF Call by reference Type reference (TYPE) DATUM Date 20120316
4 Importing 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 Exporting EX_CUSTO_INCONSISTENCY Call by reference Type reference (TYPE) XFELD Customizing inconsistency? 20120316
2 Exporting EX_TRCAT Call by reference Type reference (TYPE) HRTNM_TRCAT Trainer Category 20120316
3 Importing IM_BEGDA Call by reference Type reference (TYPE) BEGDA Beginning Date 20120316
4 Importing IM_ENDDA Call by reference Type reference (TYPE) ENDDA End Date 20120316
5 Importing 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 Exporting EX_TAB_P1001_E_TRAINER Call by reference Type reference (TYPE) P1001TAB IT1001 table course-trainer(s) 20120316
2 Exporting EX_TAB_TRAINER_INFO Call by reference Type reference (TYPE) HRTNM_TRAINER_INFO_TAB Trainer info data 20120316
3 Importing 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 Changing CH_TAB_PERS_COSTS Call by reference Type reference (TYPE) HRTNM_VAL_STAFF_TAB TNM: staff assignment table type 20120316
2 Changing 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 Exporting EX_TAB_P1691 Call by reference Type reference (TYPE) HRTNM_P1691_TAB P1691 structure 20120316
4 Importing IM_IF_MSG_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRBAS_MESSAGE_HANDLER HR-PD Infotypes: Messages 20120316
5 Importing 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 Importing IM_TAB_P1001_E_TRAINER Call by reference Type reference (TYPE) P1001TAB IT1001 table course-trainer(s) 20120316
7 Importing IM_WA_EINFO Call by reference Type reference (TYPE) HRTNM_S_EINFO Course object info 20120316
8 Importing 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 Changing CH_TAB_PT1691 Call by reference Type reference (TYPE) HRTNM_PT1691_TAB Table infotype for structure PT1691 20120316
2 Changing CH_WA_FAST_ENTRY_DATA Call by reference Type reference (TYPE) HRTNM_S_TIME_DATA_FAST_ENTRY Fast entry time data 20120316
3 Importing 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 Changing CH_TAB_PERS_COSTS Call by reference Type reference (TYPE) HRTNM_VAL_STAFF_TAB TNM: staff assignment table type 20120316
2 Changing 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 Importing IM_DATE_REF Call by reference Type reference (TYPE) DATUM Date 20120316
4 Importing IM_IF_MSG_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRBAS_MESSAGE_HANDLER HR-PD Infotypes: Messages 20120316
5 Importing IM_MOLGA Call by reference Type reference (TYPE) MOLGA Country Grouping 20120316
6 Importing 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 Importing IM_WA_EINFO Call by reference Type reference (TYPE) HRTNM_S_EINFO TNM: structure to store E object info 20120316
8 Importing IM_WA_TN Call by reference Type reference (TYPE) HRTNM_S_TREE TNM: tree structure 20120316
9 Importing 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 Changing CH_TAB_PERS_COSTS Call by reference Type reference (TYPE) HRTNM_VAL_STAFF_TAB TNM: staff assignment table type 20120316
2 Changing 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 Importing IM_DATE_REF Call by reference Type reference (TYPE) DATUM Date 20120316
4 Importing IM_IF_MSG_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRBAS_MESSAGE_HANDLER HR-PD Infotypes: Messages 20120316
5 Importing 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 Importing IM_PLVAR Call by reference Type reference (TYPE) PLVAR Plan Version 20120316
7 Importing IM_TAB_PERS Call by reference Type reference (TYPE) HRTNM_VAL_PERID_ACTUAL_TAB Person 20120316
8 Importing IM_WA_EINFO Call by reference Type reference (TYPE) HRTNM_S_EINFO TNM: structure to store E object info 20120316
9 Importing 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 Changing CH_TAB_PERS_COSTS Call by reference Type reference (TYPE) HRTNM_VAL_STAFF_TAB TNM: staff assignment table type 20120316
2 Exporting EX_WA_PERS_COSTS Call by reference Type reference (TYPE) HRTNM_S_VAL_STAFF TNM: staff assignment structure 20120316
3 Importing IM_NBHRS Call by reference Type reference (TYPE) ANY Nb of regular hours done by the trainer 20120316
4 Importing IM_OVHRS Call by reference Type reference (TYPE) ANY Nb of overtime hours done by the trainer 20120316
5 Importing IM_TRAINER_OBJID Call by reference Type reference (TYPE) HROBJID Object ID 20120316
6 Importing IM_TRAINER_OTYPE Call by reference Type reference (TYPE) OTYPE Object type 20120316
7 Importing 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