SAP ABAP Class CL_HRTNM_BOOKING_TN_UPDATE (HRTNM Booking integration : Main 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_BOOKING_TN_UPDATE  
Short Description HRTNM Booking integration : Main 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 20070423   SAP 
Last change 20130531   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_BOOKING_TN_UPDATE has no interface implemented.
Friends
Class CL_HRTNM_BOOKING_TN_UPDATE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 A_PLVAR Static Attribute Protected Type reference (TYPE) PLVAR Variante de planification 20070423
2 PAD940 Static Attribute Private Type reference (TYPE) PAD940 Table Type for 940 20070423
3 TRANSAC_FLAG Static Attribute Private Type reference (TYPE) BOOLEAN ' ' Boolean Variable (X=True, -=False, Space=Unknown) 20070423
Methods
# Method Level Visibility Method type Description Created on
1 CANCEL_TN_BOOKING Static method Public Method Cancel a Booking and delete P - TN 20070427
2 CANCEL_TN_BOOKING_VTASK Static method Public Method Cancel a Booking considering the VTASK value 20110209
3 CHECK_FEATURE_FTNMS Static method Public Method Check Feature FTNMS 20071105
4 CHECK_INVOICE_ABS_ATT_RECORDS Static method Public Method Check if the P has records in Invoice or Abs./Att infotypes 20100927
5 CHECK_RELAT_EVTID_EXIST Static method Public Method Check Relation 941 for P - TN and for event id 20070426
6 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR* 20070423
7 DEL_RELAT_REALIZED Static method Public Method Delete relation 941 between TN and Person 20070423
8 GET_PLVAR Static method Public Method Read PLVAR value 20070423
9 IDENTIFY_TN_CHILD_BOOKING Static method Public Method Identify whether a TN child is created during booking or not 20101102
10 MOVE_TN_BOOKING Static method Public Method Move Course for a TN to a Person 20071220
11 PROCESS_TN_REDEFINITION Static method Public Method Process TN redefinition during Booking and Rebooking 20100927
12 REDEFINE_TN_BOOKING Static method Public Method Redefine a TN with infotype 1681 in Booking Integration 20070423
13 REPLACE_TN_BOOKING Static method Public Method Replace Attendee for a TN already linked 20070502
14 RETRIEVE_PERNR_BY_TN Static method Public Method Retrieve Relat '940' for a Person 20070910
15 RETRIEVE_TN_BY_EVTY Static method Public Method Retrieve Training Needs 'TN' by a Business Event Type 'D' 20071001
16 SET_RELAT_PAD941 Static method Public Method Set PAD941 for Relation 941 between TN and P 20070426
17 SET_RELAT_REALIZED Static method Public Method Set relation 941 between TN and Person 20070423
18 SET_TN_HERITANCE_LINK Static method Public Method Set Relation 022 between two TN 20070424
Events
Class CL_HRTNM_BOOKING_TN_UPDATE has no event.
Types
Class CL_HRTNM_BOOKING_TN_UPDATE has no local type.
Method Signatures

Method CANCEL_TN_BOOKING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_MESSAGE_TAB Call by reference Type reference (TYPE) DCMESSAGE_TAB Table: Messages 20120203
2 Exporting EX_SUCEED Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20070427
3 Exporting EX_TNREF Call by reference Type reference (TYPE) HROBJID Object ID 20070427
4 Importing IM_EVTCLASS Call by reference Type reference (TYPE) SCLAS Type of Related Object 20070427
5 Importing IM_EVTID Call by reference Type reference (TYPE) HROBJID Object ID 20070427
6 Importing IM_OBJID Call by reference Type reference (TYPE) HROBJID Object ID 20070427
7 Importing IM_SCLAS Call by reference Type reference (TYPE) SCLAS Type of Related Object 20070427

Method CANCEL_TN_BOOKING on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method CANCEL_TN_BOOKING_VTASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_941_FOR_UPDATE Call by reference Type reference (TYPE) P1001TAB Relation 941 for updating later 20110209
2 Changing CH_DELETE_TN_OBJECT Call by reference Type reference (TYPE) P1000 TN child to be deleted 20110209
3 Exporting EX_SUCEED Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110209
4 Exporting EX_TNREF Call by reference Type reference (TYPE) HROBJID Object ID 20110209
5 Importing IM_EVTCLASS Call by reference Type reference (TYPE) SCLAS Type of Related Object 20110209
6 Importing IM_EVTID Call by reference Type reference (TYPE) HROBJID Object ID 20110209
7 Importing IM_OBJID Call by reference Type reference (TYPE) HROBJID Object ID 20110209
8 Importing IM_SCLAS Call by reference Type reference (TYPE) SCLAS Type of Related Object 20110209
9 Importing IM_VTASK Call by reference Type reference (TYPE) HRRHAP-VTASK Type of Update 20110209

Method CANCEL_TN_BOOKING_VTASK on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method CHECK_FEATURE_FTNMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_FTNMS Call by reference Type reference (TYPE) HRTNM_PMETN Data Element for structure PMETN 20080220
2 Exporting EX_STATUS Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20071105
3 Importing IM_EBEGD Call by reference Type reference (TYPE) DATUM Date 20071105
4 Importing IM_EENDA Call by reference Type reference (TYPE) DATUM Date 20071105
5 Importing IM_PARID Call by reference Type reference (TYPE) HRPARID Attendee ID 20071105

Method CHECK_FEATURE_FTNMS on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method CHECK_INVOICE_ABS_ATT_RECORDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_MESSAGE_TAB Call by reference Type reference (TYPE) DCMESSAGE_TAB Table: Messages 20100927
2 Exporting EX_IS_ERROR Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20120203
3 Importing IM_ATTENDEE Call by reference Type reference (TYPE) BAPICONAME Business event data 20100927
4 Importing IM_EVENT Call by reference Type reference (TYPE) HRVEVDAT Group attendee data 20100927
5 Importing IM_INVOICE_WARN Call by reference Type reference (TYPE) XFELD Warning only for invoice check 20120404
6 Importing IM_OLD_EVENT Call by reference Type reference (TYPE) EVTID Business event 20100927

Method CHECK_INVOICE_ABS_ATT_RECORDS on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method CHECK_RELAT_EVTID_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CHECK Call by reference Type reference (TYPE) BOOLEAN Return Value of ABAP Statements 20070426
2 Exporting EX_OBJID Call by reference Type reference (TYPE) HROBJID TN ID 20070503
3 Importing IM_EVTCLASS Call by reference Type reference (TYPE) SCLAS Type of Related Object 20070426
4 Importing IM_EVTID Call by reference Type reference (TYPE) HROBJID Object ID 20070426
5 Importing IM_OBJID Call by reference Type reference (TYPE) HROBJID Object ID 20070426
6 Importing IM_SCLAS Call by reference Type reference (TYPE) SCLAS Type of Related Object 20070426

Method CHECK_RELAT_EVTID_EXIST on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_HRTNM_BOOKING_TN_UPDATE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method DEL_RELAT_REALIZED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing EX_PAD940 Call by reference Type reference (TYPE) PAD940 Table Type for 940 20070423
2 Changing EX_TRANSAC_FLAG Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20070423

Method DEL_RELAT_REALIZED on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method GET_PLVAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IM_PLVAR Value transfer Type reference (TYPE) PLVAR Variante de planification 20070423

Method GET_PLVAR on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method IDENTIFY_TN_CHILD_BOOKING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_INHERITED_TN Call by reference Type reference (TYPE) XFELD TN is inherited 20101102
2 Exporting EX_PARENT_TN_OBJ Call by reference Type reference (TYPE) OBJEC Parent TN object 20101102
3 Exporting EX_TN_CHILD_BOOKING Call by reference Type reference (TYPE) XFELD TN Child:booking or CRUD 20101102
4 Importing IM_MAIN_TN_OBJ Call by reference Type reference (TYPE) OBJEC Work Area for Database PCH 20101102

Method IDENTIFY_TN_CHILD_BOOKING on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method MOVE_TN_BOOKING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_SUCEED Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20071220
2 Exporting EX_TNREF Call by reference Type reference (TYPE) HROBJID Object ID 20071220
3 Importing IM_EVTID Call by reference Type reference (TYPE) HROBJID New Course 20071220
4 Importing IM_OLD_EVTID Call by reference Type reference (TYPE) HROBJID Old Course 20071220
5 Importing IM_PERID Call by reference Type reference (TYPE) HRPARID Attendee ID 20071220

Method MOVE_TN_BOOKING on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method PROCESS_TN_REDEFINITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_CREATE_TN_OBJECT Call by reference Type reference (TYPE) P1000 Infotype 1000: Object Name 20110112
2 Changing CH_HRT1681_TAB Call by reference Type reference (TYPE) HRTNM_HRT1681_TAB TNM: Table type HRT1681 20110112
3 Changing CH_INHERIT_RELAT_020 Call by reference Type reference (TYPE) P1001TAB Insert RELAT 020 between TNs 20101218
4 Changing CH_MESSAGE_TAB Call by reference Type reference (TYPE) DCMESSAGE_TAB Table: Messages 20100929
5 Changing CH_P1681_TAB Call by reference Type reference (TYPE) HRTNM_P1681_TAB TNM: p1681 table type 20110112
6 Changing CH_REDEFINE Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100927
7 Changing CH_TNREF Call by reference Type reference (TYPE) HROBJID Object ID 20100928
8 Changing EX_941_FOR_UPDATE Call by reference Type reference (TYPE) P1001TAB Relation 941 for updating later 20100927
9 Exporting EX_SUBRC Call by reference Type reference (TYPE) SYST-SUBRC Return Value of ABAP Statements 20100927
10 Importing IM_ATTENDEE Call by reference Type reference (TYPE) BAPICONAME Group attendee data 20100927
11 Importing IM_EVENT Call by reference Type reference (TYPE) HRVEVDAT Business event data 20100927
12 Importing IM_LONG_TEXT Call by reference Type reference (TYPE) P1000-STEXT Object Name 20100927
13 Importing IM_MAIN_OBJ Call by reference Type reference (TYPE) OBJEC New TN 20100927
14 Importing IM_MAIN_OBJ_OLD Call by reference Type reference (TYPE) OBJEC Old TN 20100927
15 Importing IM_P1681 Call by reference Type reference (TYPE) P1681 Infotype 1681 20100927
16 Importing IM_REDEFINE Call by reference Type reference (TYPE) XFELD Checkbox 20100927
17 Importing IM_SHORT_TEXT Call by reference Type reference (TYPE) P1000-SHORT Object Abbreviation 20100927
18 Importing IM_TAB_PT1681 Call by reference Type reference (TYPE) HRTNM_PT1681_TAB Structure PT1681: table type 20100927
19 Importing IM_TN_OBJID Call by reference Type reference (TYPE) HROBJID Object ID 20100927

Method PROCESS_TN_REDEFINITION on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method REDEFINE_TN_BOOKING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_CREATE_TN_OBJECT Call by reference Type reference (TYPE) P1000 New TN object (redefined) 20110112
2 Changing CH_HRT1681_TAB Call by reference Type reference (TYPE) HRTNM_HRT1681_TAB TNM: Table type HRT1681 20110112
3 Changing CH_INHERIT_RELAT_020 Call by reference Type reference (TYPE) P1001TAB Table with the Structure P1001 20101218
4 Changing CH_P1681_TAB Call by reference Type reference (TYPE) HRTNM_P1681_TAB TNM: p1681 table type 20110112
5 Changing CH_REDEFINE Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20070423
6 Changing EX_941_FOR_UPDATE Call by reference Type reference (TYPE) P1001TAB Relation 941 for updating later 20101005
7 Exporting EX_SUBRC Call by reference Type reference (TYPE) SYST-SUBRC Return Value of ABAP Statements 20070423
8 Exporting EX_TNREF Call by reference Type reference (TYPE) HROBJID Object ID 20070503
9 Importing IM_EVEID Call by reference Type reference (TYPE) EVTID Business event 20070426
10 Importing IM_LONG_TEXT Call by reference Type reference (TYPE) P1000-STEXT Object Abbreviation 20070424
11 Importing IM_OLD_OBJ Call by reference Type reference (TYPE) OBJEC Cost Estimate Number 20070423
12 Importing IM_P1681 Call by reference Type reference (TYPE) P1681 Infotype 1681 20070423
13 Importing IM_PARID Call by reference Type reference (TYPE) HRPARID Parameter ID 20070423
14 Importing IM_PATYP Call by reference Type reference (TYPE) PRTPE 20080730
15 Importing IM_SHORT_TEXT Call by reference Type reference (TYPE) P1000-SHORT Object Name 20070424
16 Importing IM_TAB_PT1681 Call by reference Type reference (TYPE) HRTNM_PT1681_TAB Structure PT1681: table type 20070423

Method REDEFINE_TN_BOOKING on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method REPLACE_TN_BOOKING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MSG Call by reference Type reference (TYPE) DCMESSAGE_TAB Table: Messages 20120511
2 Exporting EX_SUCEED Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20070502
3 Exporting EX_TNREF Call by reference Type reference (TYPE) HROBJID Object ID 20070502
4 Importing IM_EVTCLASS Call by reference Type reference (TYPE) SCLAS Type of Related Object 20070502
5 Importing IM_EVTID Call by reference Type reference (TYPE) HROBJID Object ID 20070502
6 Importing IM_OLD_PERID Call by reference Type reference (TYPE) HRPARID Attendee ID 20070502
7 Importing IM_PERID Call by reference Type reference (TYPE) HRPARID Attendee ID 20070502
8 Importing IM_SCLAS Call by reference Type reference (TYPE) SCLAS Type of Related Object 20070502
9 Importing IS_ATTENDEE Call by reference Type reference (TYPE) BAPICONAME Attendee data 20120511

Method REPLACE_TN_BOOKING on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method RETRIEVE_PERNR_BY_TN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_TAB_P1000 Call by reference Type reference (TYPE) HRTNM_P1000_TAB Table for objects 20070910
2 Importing IM_ETYID Call by reference Type reference (TYPE) ETYID Business event type: key 20070928
3 Importing IM_EVEID Call by reference Type reference (TYPE) EVTID Business event 20070928
4 Importing IM_PERNR Call by reference Type reference (TYPE) PERNR_D Personnel Number 20070910

Method RETRIEVE_PERNR_BY_TN on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method RETRIEVE_TN_BY_EVTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_TAB_P1000 Call by reference Type reference (TYPE) HRTNM_P1000_TAB 20071001
2 Exporting EX_TAB_P1001 Call by reference Type reference (TYPE) HRTNM_P1001_TAB Table Type With Structure P1001 20080819
3 Importing IM_ETYID Call by reference Type reference (TYPE) ETYID 20071001

Method RETRIEVE_TN_BY_EVTY on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method SET_RELAT_PAD941 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ADATA Call by reference Type reference (TYPE) ADATA Additional Relationship Data 20070426
2 Importing IM_OBJID Call by reference Type reference (TYPE) HROBJID Object ID 20070426
3 Importing IM_SCLAS Call by reference Type reference (TYPE) SCLAS Type of Related Object 20070426

Method SET_RELAT_PAD941 on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method SET_RELAT_REALIZED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing EX_941_FOR_UPDATE Call by reference Type reference (TYPE) P1001TAB Relation 941 for updating later 20100222
2 Exporting EX_SUBRC Call by reference Type reference (TYPE) SYST-SUBRC Return Value of ABAP Statements 20070423
3 Exporting EX_TNREF Call by reference Type reference (TYPE) HROBJID HR OBJID 20070503
4 Importing IM_BOOKING Call by reference Type reference (TYPE) BOOLEAN Identifier for BOOKING process 20100222
5 Importing IM_EVEID Call by reference Type reference (TYPE) EVTID Business event 20070426
6 Importing IM_OBJID Call by reference Type reference (TYPE) OBJEC Table Type for 940 20070423
7 Importing IM_PARID Call by reference Type reference (TYPE) HRPARID Standard Selections for HR Master Data Reporting 20070423
8 Importing IM_PATYP Call by reference Type reference (TYPE) PRTPE Participant Type 20080730

Method SET_RELAT_REALIZED on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.

Method SET_TN_HERITANCE_LINK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_INHERIT_RELAT_020 Call by reference Type reference (TYPE) P1001TAB Insert Relat 020 between TNs 20101218
2 Exporting EX_SUBRC Call by reference Type reference (TYPE) SYST-SUBRC Return Value of ABAP Statements 20070424
3 Importing IM_NEW_OBJID Call by reference Type reference (TYPE) OBJEC 20070424
4 Importing IM_PARENT_OBJID Call by reference Type reference (TYPE) OBJEC 20070424

Method SET_TN_HERITANCE_LINK on class CL_HRTNM_BOOKING_TN_UPDATE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 600