SAP ABAP Class CL_HRTNM_STAFF_ASSIGN_SERVICES (TNM: staff assignment services class)
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_STAFF_ASSIGN_SERVICES  
Short Description TNM: staff assignment services class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package P99S_TNM   Training needs management 
Created 20070419   SAP 
Last change 20081217   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 PTNM1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HRTNM_STAFF_ASSIGN_SERVICES has no interface implemented.
Friends
Class CL_HRTNM_STAFF_ASSIGN_SERVICES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 A_CURR_TRAINEE_NB Static Attribute Private Type reference (TYPE) HRTNM_NBPER Total of Attendees 20070427
2 A_CURR_TRAINEE_NB_UPDATED Static Attribute Private Type reference (TYPE) HRTNM_NBPER Total of Attendees 20070427
3 A_TAB_RELAT_OBJ Static Attribute Private Type reference (TYPE) PTNM1_TAB_RELAT_OBJ 20070426
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_ALV Static method Public Method Create ALV 20070419
2 CREATE_CONTAINER Static method Public Method Create container 20070419
3 GET_ASSIGN_STAT Static method Private Method Get assignment statistics for a given TN 20070426
4 GET_CURR_TRAINEE_NB Static method Public Method Set current trainee calculated number 20070427
5 GET_EXT_PERSON_INFO Static method Public Method Get external person info 20080730
6 GET_JOB_INFO Static method Public Method Get job info 20070503
7 GET_ORG_INFO Static method Public Method Get org. unit info 20070419
8 GET_PERSON_INFO Static method Public Method Get person info 20070419
9 GET_POS_INFO Static method Public Method Get position info 20070430
10 GET_P_FROM_ADATA Static method Public Method Get number of persons from additonal data 20070426
11 GET_P_INFO Static method Public Method Get info on a given person (from IT0002) 20070426
12 GET_STAFF_STAT Static method Public Method Get staffing statistics 20070424
13 GET_TAB_RELAT_OBJ_STAFF Static method Public Method Get table of target related objects 20070427
14 PERSON_CHECK_BOOKING Static method Public Method Check if person is booked to a course 20080327
15 SET_TAB_RELAT_OBJ_STAFF Static method Public Method Set table of target related objects 20070426
Events
Class CL_HRTNM_STAFF_ASSIGN_SERVICES has no event.
Types
Class CL_HRTNM_STAFF_ASSIGN_SERVICES has no local type.
Method Signatures

Method CREATE_ALV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_O_ALV_STAFF Call by reference Object reference (TYPE REF TO) CL_HRTNM_STAFF_ASSIGN_ALV TNM: staff assignment ALV 20070419
2 Importing IM_EDIT Call by reference Type reference (TYPE) INT4 Checkbox 20070419
3 Importing IM_NO_FILTER Call by reference Type reference (TYPE) XFELD Filter to be displayed 20070420
4 Importing IM_OTYPE Call by reference Type reference (TYPE) HROTYPE Object Type 20070516
5 Importing IM_O_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in the Screen Area 20070419
6 Importing IM_PLVAR Call by reference Type reference (TYPE) PLVAR Plan Version 20070516
7 Importing IM_STRUCT_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20070419

Method CREATE_ALV on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method CREATE_CONTAINER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_O_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in the Screen Area 20070419
2 Importing IM_CONTAINER_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20070419

Method CREATE_CONTAINER on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method GET_ASSIGN_STAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_TOTAL_ASSIGN_TRAIN Call by reference Type reference (TYPE) HRTNM_NBPER Total of Attendees 20070426
2 Exporting EX_TOTAL_ASSIGN_WOM Call by reference Type reference (TYPE) HRTNM_NBWOM Total of Attendees 20070426
3 Exporting EX_WA_P_STAT Call by reference Type reference (TYPE) HRTNM_S_P_STAT Number of persons assigned from C 20070426
4 Importing IM_CURR_STAFF_OBJID Call by reference Type reference (TYPE) HROBJID Object ID 20070427
5 Importing IM_WA_TREE_OBJ Call by reference Type reference (TYPE) HRTNM_S_TREE TNM: tree structure 20070426

Method GET_ASSIGN_STAT on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method GET_CURR_TRAINEE_NB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CURR_TRAINEE_NB Call by reference Type reference (TYPE) HRTNM_NBPER Total of Attendees 20070427

Method GET_CURR_TRAINEE_NB on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method GET_EXT_PERSON_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_GESCH Call by reference Type reference (TYPE) GESCH Gender Key 20080731
2 Exporting EX_NACHN Call by reference Type reference (TYPE) NACHN Last Name 20080730
3 Exporting EX_VORNA Call by reference Type reference (TYPE) VORNA First Name 20080730
4 Exporting EX_WA_P1690 Call by reference Type reference (TYPE) P1690 Infotype 1690: TNM attributes 20080807
5 Importing IM_BEGDA Call by reference Type reference (TYPE) BEGDA 20080730
6 Importing IM_ENDDA Call by reference Type reference (TYPE) ENDDA 20080730
7 Importing IM_OBJID Call by reference Type reference (TYPE) HROBJID 20080730
8 Importing IM_PLVAR Call by reference Type reference (TYPE) PLVAR Plan Version 20080730

Method GET_EXT_PERSON_INFO on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method GET_JOB_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_WA_JOB_INFO Call by reference Type reference (TYPE) HRTNM_S_JOB_ALV TNM: person info / table type 20070503
2 Importing IM_WA_P1001 Call by reference Type reference (TYPE) P1001 End Date 20070503

Method GET_JOB_INFO on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method GET_ORG_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_BTRTL Call by reference Type reference (TYPE) BTRTL Personnel Subarea 20070809
2 Exporting EX_WA_ORG_INFO Call by reference Type reference (TYPE) HRTNM_S_ORG_UNIT_ALV TNM: person info / table type 20070419
3 Exporting EX_WERKS Call by reference Type reference (TYPE) PERSA Personnel Area 20070809
4 Importing IM_ADD_DATA Call by reference Type reference (TYPE) XFELD Additional data on org. unit (werks/btrtl) requested 20070809
5 Importing IM_WA_P1001 Call by reference Type reference (TYPE) P1001 End Date 20070419

Method GET_ORG_INFO on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method GET_PERSON_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_JOBID Call by reference Type reference (TYPE) HROBJID TNM: job 20070529
2 Exporting EX_ORGID Call by reference Type reference (TYPE) HROBJID TNM: org. unit 20070529
3 Exporting EX_PERID Call by reference Type reference (TYPE) PRDNI Personnel ID Number 20070604
4 Exporting EX_POSID Call by reference Type reference (TYPE) HROBJID TNM: position 20070529
5 Exporting EX_WA_PERSON_INFO Call by reference Type reference (TYPE) ANY TNM: person info / table type 20070419
6 Importing IM_ADD_DATA Call by reference Type reference (TYPE) XFELD Additional data (org. unit, job, position) requested 20070529
7 Importing IM_BEGDA Call by reference Type reference (TYPE) BEGDA Start Date 20070419
8 Importing IM_ENDDA Call by reference Type reference (TYPE) ENDDA End Date 20070419
9 Importing IM_SOBID Call by reference Type reference (TYPE) SOBID Object ID 20070419

Method GET_PERSON_INFO on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method GET_POS_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_BTRTL Call by reference Type reference (TYPE) BTRTL Personnel Subarea 20070918
2 Exporting EX_WA_POS_INFO Call by reference Type reference (TYPE) HRTNM_S_POSITION_ALV TNM: person info / table type 20070503
3 Exporting EX_WERKS Call by reference Type reference (TYPE) PERSA Personnel Area 20070918
4 Importing IM_ADD_DATA Call by reference Type reference (TYPE) XFELD Checkbox 20070918
5 Importing IM_WA_P1001 Call by reference Type reference (TYPE) P1001 End Date 20070430

Method GET_POS_INFO on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method GET_P_FROM_ADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_NBPER Call by reference Type reference (TYPE) HRTNM_NBPER Total of Attendees 20070426
2 Exporting EX_NBWOM Call by reference Type reference (TYPE) HRTNM_NBWOM Number of women 20070426
3 Importing IM_WA_P1001 Call by reference Type reference (TYPE) P1001 Infotype 1001: Relationships 20070426

Method GET_P_FROM_ADATA on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method GET_P_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_WA_P0002 Call by reference Type reference (TYPE) P0002 HR Master Record: Infotype 0002 (Personal Data) 20070426
2 Importing IM_WA_P1001 Call by reference Type reference (TYPE) P1001 Personnel number 20070426

Method GET_P_INFO on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method GET_STAFF_STAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_IS_TN_FATHER Call by reference Type reference (TYPE) XFELD Is current TN a father one or not? 20070611
2 Exporting EX_TOTAL_P_ASSIGN Call by reference Type reference (TYPE) HRTNM_NBPER Total of Attendees 20070426
3 Exporting EX_TOTAL_TRAINEE Call by reference Type reference (TYPE) HRTNM_NBPER Total of Attendees 20070426
4 Exporting EX_TOTAL_TRAINEE_CURR Call by reference Type reference (TYPE) HRTNM_NBPER Total of Attendees 20070426
5 Exporting EX_TOTAL_TRAINEE_FAT Call by reference Type reference (TYPE) HRTNM_NBPER Total of Attendees 20070426
6 Exporting EX_TOTAL_TRAINEE_FAT_I Call by reference Type reference (TYPE) INT4 Natural Number 20070524
7 Exporting EX_TOTAL_WOMEN Call by reference Type reference (TYPE) HRTNM_NBWOM Number of women 20070426
8 Exporting EX_TOTAL_WOMEN_CURR Call by reference Type reference (TYPE) HRTNM_NBWOM Total of Attendees 20070426
9 Exporting EX_TOTAL_WOMEN_FAT Call by reference Type reference (TYPE) HRTNM_NBWOM Number of women 20070426
10 Exporting EX_TOTAL_W_ASSIGN Call by reference Type reference (TYPE) HRTNM_NBWOM Number of women 20070426
11 Exporting EX_WA_STAFF_INFO Call by reference Type reference (TYPE) HRTNM_S_STAFF_ASSIGN_INFO TNM: staff assignment info 20070426
12 Importing IM_CURR_STAFF_OBJID Call by reference Type reference (TYPE) HROBJID Object ID 20070427
13 Importing IM_CURR_TN_ID Call by reference Type reference (TYPE) HROBJID Object ID 20070426
14 Importing IM_UPDATE_NBPER Call by reference Type reference (TYPE) XFELD Update number of persons only 20070516
15 Importing IM_WA_CURR_P1687 Call by reference Type reference (TYPE) P1687 Current P1687 data 20070514

Method GET_STAFF_STAT on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method GET_TAB_RELAT_OBJ_STAFF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_TAB_RELAT_OBJ Call by reference Type reference (TYPE) PTNM1_TAB_RELAT_OBJ 20070427

Method GET_TAB_RELAT_OBJ_STAFF on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method PERSON_CHECK_BOOKING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_COURSE_OBJID Call by reference Type reference (TYPE) HROBJID Object ID 20080327
2 Exporting EX_IS_BOOKED Call by reference Type reference (TYPE) XFELD Checkbox 20080327
3 Importing IM_WA_P1001 Call by reference Type reference (TYPE) P1001 Infotype 1001: Relationships 20080327

Method PERSON_CHECK_BOOKING on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.

Method SET_TAB_RELAT_OBJ_STAFF Signature

Method SET_TAB_RELAT_OBJ_STAFF on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no parameter.
Method SET_TAB_RELAT_OBJ_STAFF on class CL_HRTNM_STAFF_ASSIGN_SERVICES has no exception.
History
Last changed by/on SAP  20081217 
SAP Release Created in 600