SAP ABAP Class CL_HRTNM_QUOTA_BATCH_MANAGER (TNM: service class for reporting)
Hierarchy
SAP_HRCFR (Software Component) Sub component SAP_HRCFR of SAP_HR
   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_BATCH_MANAGER TNM: interface for quota batch manager 20071219
Properties
Class CL_HRTNM_QUOTA_BATCH_MANAGER  
Short Description TNM: service class for reporting    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package P99S_TNM   Training needs management 
Created 20071205   SAP 
Last change 20081217   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_HRBAS_BOOLE_D Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 IF_HRBAS_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 PTNM0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_HRTNM_QUOTA_BATCH_MANAGER TNM: interface for quota batch manager 20071219
Friends
Class CL_HRTNM_QUOTA_BATCH_MANAGER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 A_GEN_BEGDA Instance attribute Private Type reference (TYPE) BEGDA Begda of batch input record to be created 20071205
2 A_GEN_ENDDA Instance attribute Private Type reference (TYPE) ENDDA Endda of batch input record to be created 20071205
3 A_R_ABKRS Instance attribute Private Type reference (TYPE) HRTNM_ABKRS_RANGE Table for ABKRS range 20071205
4 A_R_PERNR Instance attribute Private Type reference (TYPE) PERSNO_RANGE_TAB Range Table for Personnel Numbers 20071205
5 A_TAB_BATCH_LOG Instance attribute Private Type reference (TYPE) HRTNM_BATCH_LOG_ALV_TAB TNM: log table type for batch input report (ALV display) 20071205
6 A_TAB_BDCDATA Instance attribute Private Type reference (TYPE) HRCM_BI_TAB Batch Input Data 20071205
7 A_TAB_P0416_TNM Instance attribute Private Type reference (TYPE) HRTNM_P0416_TAB HR Structure: Time Quota Compensation 20071205
8 A_TAB_P1001_TN_A Instance attribute Private Type reference (TYPE) P1001TAB Actual TN 20071205
9 A_TAB_P1001_TN_F Instance attribute Private Type reference (TYPE) P1001TAB Forecast TN 20071205
Methods
# Method Level Visibility Method type Description Created on
1 BDC_DYNPRO Instance method Private Method Batch input: start new screen 20071205
2 BDC_FIELD Instance method Private Method Batch input: field 20071205
3 BDC_SESSION Instance method Private Method Batch input: create new session 20071205
4 CHECK_E_OBJECT Instance method Private Method Check E object validity towards user selection 20071205
5 CHECK_PERNR Instance method Private Method Check pernr towards user selection 20071205
6 CHECK_P_BI_STAT Instance method Private Method Check list of persons status towards batch input 20071207
7 CONSTRUCTOR Instance method Public Constructor Constructor 20071205
8 GENERATE_IT Instance method Private Method Try to generate IT to deduce quota 20071205
9 GENERATE_IT0416 Instance method Private Method Generate IT0416 20071205
10 GET_FORECAST_TN Instance method Private Method Get forecast TN 20071205
11 GET_TIME_GROUP Instance method Public Method Get time group of a given employee 20071205
12 LOG_ADD_COURSE Instance method Private Method Add course reference into log 20071205
13 LOG_ADD_DEDUCTION Instance method Private Method Add deduction info into log 20071205
14 LOG_ADD_PERNR Instance method Private Method Add employee reference into log 20071205
15 PROCESS_PERNR Instance method Public Method Do data processing for a given employee 20071205
16 SIMU_ITNNNN Instance method Private Method Simulate ITNNNN generation 20071205
Events
Class CL_HRTNM_QUOTA_BATCH_MANAGER has no event.
Types
Class CL_HRTNM_QUOTA_BATCH_MANAGER has no local type.
Method Signatures

Method BDC_DYNPRO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DYNPRO Call by reference Type reference (TYPE) BDC_DYNR Screen number 20071205
2 Importing IM_PROGRAM Call by reference Type reference (TYPE) BDC_PROG Program Name 20071205

Method BDC_DYNPRO on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method BDC_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FNAM Call by reference Type reference (TYPE) FNAM_____4 Name of Function Module 20071205
2 Importing IM_FVAL Call by reference Type reference (TYPE) ANY BDC field value 20071205

Method BDC_FIELD on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method BDC_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TCODE Call by reference Type reference (TYPE) TCODE Transaction Code 20071205

Method BDC_SESSION on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method CHECK_E_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_IS_OK Call by reference Type reference (TYPE) XFELD Checkbox 20071205
2 Importing IM_TSCHT Call by reference Type reference (TYPE) HRTNM_TSCHT Training Schedule Type 20071205
3 Importing IM_WA_P1685 Call by reference Type reference (TYPE) P1685 Infotype 1685 : Attributes 20071205
4 Importing IM_WA_P1686 Call by reference Type reference (TYPE) P1686 Infotype 1686 20071206

Method CHECK_E_OBJECT on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method CHECK_PERNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_IS_OK Call by reference Type reference (TYPE) XFELD Checkbox 20071205
2 Importing IM_ABKRS Call by reference Type reference (TYPE) ABKRS Payroll Area 20071205
3 Importing IM_BEGDA Call by reference Type reference (TYPE) BEGDA Start Date 20071205
4 Importing IM_ENDDA Call by reference Type reference (TYPE) ENDDA End Date 20071205
5 Importing IM_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20071205

Method CHECK_PERNR on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method CHECK_P_BI_STAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_BISTA_E Call by reference Type reference (TYPE) HRTNM_BISTA TNM: batch input status 20071207
2 Importing IM_OBJIE Call by reference Type reference (TYPE) HROBJID Object ID 20071207
3 Importing IM_TAB_P1001_P Call by reference Type reference (TYPE) P1001TAB Table with the Structure P1001 20071207

Method CHECK_P_BI_STAT on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_HRTNM_QUOTA_BATCH_MANAGER has no parameter.
Method CONSTRUCTOR on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method GENERATE_IT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_TAB_PNNNN Call by reference Type reference (TYPE) STANDARD TABLE Table in which IT to deduce quota are stored 20071205
2 Importing IM_DURATION_E Call by reference Type reference (TYPE) HRSCT Effective course duration in hours 20071205
3 Importing IM_HDOWT Call by reference Type reference (TYPE) HRTNM_HDOWT Number of Hours Done Outside Working Time 20071205
4 Importing IM_KONTY Call by reference Type reference (TYPE) MOPGK Employee Subgroup Grouping for Time Quota Types 20071205
5 Importing IM_MOABW Call by reference Type reference (TYPE) MOABW Personnel subarea grouping for absence and attendance types 20071205
6 Importing IM_MOLGA Call by reference Type reference (TYPE) MOLGA Country Grouping 20071205
7 Importing IM_MOZKO Call by reference Type reference (TYPE) MOZKO Grouping of Personnel Subareas for Time Quota Types 20071205
8 Importing IM_NBHRS Call by reference Type reference (TYPE) HRTNM_NBHRS Number of Training Hours 20071205
9 Importing IM_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20071205
10 Importing IM_TAB_HRT1686 Call by reference Type reference (TYPE) HRTNM_HRT1686_TAB Table type for HRT1686 20071205
11 Importing IM_TAB_T77TNM_DE Call by reference Type reference (TYPE) HRTNM_T77TNM_DE_TAB TNM: deduction customizing table type 20071205
12 Importing IM_TSCHT Call by reference Type reference (TYPE) HRTNM_TSCHT Training Schedule Type 20071205
13 Importing IM_WA_HRT1681 Call by reference Type reference (TYPE) HRT1681 Infotype 1681 20071205
14 Importing IM_WA_P1000_E Call by reference Type reference (TYPE) P1000 Infotype 1000: Object Name 20071205

Method GENERATE_IT on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method GENERATE_IT0416 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_WA_P0416 Call by reference Type reference (TYPE) P0416 HR Structure: Time Quota Compensation 20071205
2 Importing IM_DETYP Call by reference Type reference (TYPE) HRTNM_DETYP TNM: deduction type 20071205
3 Importing IM_HDOWT Call by reference Type reference (TYPE) HRTNM_HDOWT Number of Hours Done Outside Working Time 20071205
4 Importing IM_NBHRS Call by reference Type reference (TYPE) HRTNM_NBHRS Number of Training Hours 20071205
5 Importing IM_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20071205
6 Importing IM_SUBTY Call by reference Type reference (TYPE) SUBTY Subtype 20071205
7 Importing IM_WA_P1000_E Call by reference Type reference (TYPE) P1000 Infotype 1000: Object Name 20071205

Method GENERATE_IT0416 on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method GET_FORECAST_TN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_WA_P1000 Call by reference Type reference (TYPE) P1000 Infotype 1000: Object Name 20071205
2 Importing IM_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20071205

Method GET_FORECAST_TN on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method GET_TIME_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 20071205
2 Exporting EX_MOABW Call by reference Type reference (TYPE) MOABW Personnel subarea grouping for absence and attendance types 20080617
3 Exporting EX_MOZKO Call by reference Type reference (TYPE) MOZKO Grouping of Personnel Subareas for Time Quota Types 20071205
4 Importing IM_BTRTL Call by reference Type reference (TYPE) BTRTL Personnel Subarea 20071205
5 Importing IM_PERSG Call by reference Type reference (TYPE) PERSG Employee Group 20071205
6 Importing IM_PERSK Call by reference Type reference (TYPE) PERSK Employee Subgroup 20071205
7 Importing IM_WERKS Call by reference Type reference (TYPE) PERSA Personnel Area 20071205

Method GET_TIME_GROUP on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method LOG_ADD_COURSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TSCHT Call by reference Type reference (TYPE) HRTNM_TSCHT Training Schedule Type 20071205
2 Importing IM_WA_P1000_E Call by reference Type reference (TYPE) P1000 IT1000 of a course object 20071205

Method LOG_ADD_COURSE on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method LOG_ADD_DEDUCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DETYP Call by reference Type reference (TYPE) HRTNM_DETYP TNM: deduction type 20071205
2 Importing IM_IS_OK Call by reference Type reference (TYPE) XFELD Checkbox 20071205
3 Importing IM_WA_P0416 Call by reference Type reference (TYPE) P0416 HR Structure: Time Quota Compensation 20071205
4 Importing IM_WA_RETURN Call by reference Type reference (TYPE) BAPIRETURN1 Return Parameter 20071205

Method LOG_ADD_DEDUCTION on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method LOG_ADD_PERNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_WA_P_INFO Call by reference Type reference (TYPE) HRTNM_S_BATCH_LOG_P TNM: person info 20071205

Method LOG_ADD_PERNR on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method PROCESS_PERNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_HDOWT Call by reference Type reference (TYPE) HRTNM_HDOWT Number of Hours Done Outside Working Time 20071205
2 Exporting EX_NBHRS Call by reference Type reference (TYPE) HRTNM_NBHRS Number of Training Hours 20071205
3 Importing IM_DURATION_E Call by reference Type reference (TYPE) HRSCT Effective course duration in hours 20071205
4 Importing IM_TAB_HRT1686 Call by reference Type reference (TYPE) HRTNM_HRT1686_TAB Table Part Infotype 1686 20071205
5 Importing IM_TSCHT Call by reference Type reference (TYPE) HRTNM_TSCHT Training Schedule Type 20071205
6 Importing IM_WA_P1000_E Call by reference Type reference (TYPE) P1000 Infotype 1000: Object Name 20071205
7 Importing IM_WA_P1001_P Call by reference Type reference (TYPE) P1001 ID of Related Object 20071205

Method PROCESS_PERNR on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.

Method SIMU_ITNNNN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_IS_OK Call by reference Type reference (TYPE) XFELD Checkbox 20071205
2 Changing CH_WA_RETURN Call by reference Type reference (TYPE) BAPIRETURN1 Return Parameter 20071205
3 Importing IM_OPERATION Call by reference Type reference (TYPE) ACTIO Operation for linking attribute values 20071205
4 Importing IM_WA_PNNNN Call by reference Type reference (TYPE) ANY Personnel number 20071205

Method SIMU_ITNNNN on class CL_HRTNM_QUOTA_BATCH_MANAGER has no exception.
History
Last changed by/on SAP  20081217 
SAP Release Created in 600