SAP ABAP Class CL_HR_DELETE_EMPLOYEE (Class for Deletion of Personnel Numbers)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PA-PA (Application Component) Personnel Administration
     PBAS (Package) SAP HR Master Data Application Development
Properties
Class CL_HR_DELETE_EMPLOYEE  
Short Description Class for Deletion of Personnel Numbers    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class HR_RPUDELPP    
Program status P  SAP Standard Production Program 
Category 0   
Package PBAS   SAP HR Master Data Application Development 
Created 20061018   SAP 
Last change 20070912   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 ICON Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SLIS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HR_DELETE_EMPLOYEE has no interface implemented.
Friends
Class CL_HR_DELETE_EMPLOYEE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DELETION_DONE Constant Public Type reference (TYPE) HRPAD_STATU '04' Status for Deleting Personnel Numbers in Live Systems 20061116
2 MS_HRPAD_DELPN Instance attribute Private Type reference (TYPE) HRPAD_DELPN Status Table for Deleting Personnel Numbers in Live Systems 20061116
3 MT_HRPAD_DELPN Instance attribute Private Type reference (TYPE) HRPAD_DELPN_TAB Status Table for Deleting Personnel Numbers in Live Systems 20061116
4 M_IS_REJECTED Instance attribute Private Type reference (TYPE) ABAP_BOOL 20061116
5 M_NAME Instance attribute Private Type reference (TYPE) CHAR80 Char 80 20061116
6 M_PERNR Instance attribute Private Type reference (TYPE) PERNR_D Personnel Number 20061116
7 NO_STATUS Constant Public Type reference (TYPE) HRPAD_STATU '00' Status for Deleting Personnel Numbers in Live Systems 20061116
8 PREPARE_DELETION Constant Public Type reference (TYPE) HRPAD_STATU '03' Status for Deleting Personnel Numbers in Live Systems 20061116
9 REQUEST_DELETION Constant Public Type reference (TYPE) HRPAD_STATU '01' Status for Deleting Personnel Numbers in Live Systems 20061116
10 REVOKE_DELETION Constant Public Type reference (TYPE) HRPAD_STATU '02' Status for Deleting Personnel Numbers in Live Systems 20061116
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_PROTOCOL Instance method Public Method Creates HCM Application Log of Personnel Number 20061116
2 CHANGE_STATUS_TO Instance method Public Method Execute Status Change 20061116
3 CHECK_STATUS_CHANGE Instance method Public Method Is Status Change Possible? 20061116
4 CONSTRUCTOR Instance method Public Constructor Constructor 20061116
5 DELETE_STATUS_PREPARATION Instance method Public Method Deletes Flagged Status as Deletion Was Unsuccessful 20061116
6 DEQUEUE Instance method Public Method Unlock Personnel Number 20061116
7 ENQUEUE Instance method Public Method Lock personnel number 20061116
8 GET_NAME Instance method Public Method Gets the Name 20061116
9 GET_NUMBER_OF_STATUS Instance method Public Method Gets Number of Current Status 20061116
10 GET_PERNR Instance method Public Method Gets Personnel number 20061116
11 GET_STATUS Instance method Public Method Gets Current Status 20061116
12 HAS_IT0003 Instance method Public Method Is True If Personnel Number Has IT0003 20061116
13 IS_ENQUEUED Instance method Public Method Lock personnel number 20061116
14 IS_REJECTED Instance method Public Method Personnel number Rejected? 20061116
15 SET_REJECT Instance method Public Method Rejects Personnel Number 20061116
Events
Class CL_HR_DELETE_EMPLOYEE has no event.
Types
Class CL_HR_DELETE_EMPLOYEE has no local type.
Method Signatures

Method BUILD_PROTOCOL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUB_NODE_KEY Call by reference Type reference (TYPE) HRPAD_PAL_NODE_KEY HR Anwendungsprotokoll 20061116
2 Importing I_PARENT_NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Tree Control: Schlüssel eines Knotens 20061116

Method BUILD_PROTOCOL on class CL_HR_DELETE_EMPLOYEE has no exception.

Method CHANGE_STATUS_TO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NEW_STATU Call by reference Type reference (TYPE) HRPAD_STATU Status zum Löschen von Pernrs auf Produktivsystemen 20061116
2 Importing I_TEST Call by reference Type reference (TYPE) ABAP_BOOL 20061116
# Exception Resumable Description Created on
1 STATUS_NOT_POSSIBLE Wechsel zu neuem Status ist nicht möglich 20061116

Method CHECK_STATUS_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NEW_STATU Call by reference Type reference (TYPE) HRPAD_STATU Status zum Löschen von Pernrs auf Produktivsystemen 20061116
2 Returning R_NEW_STATUS_IS_OK Value transfer Type reference (TYPE) ABAP_BOOL 20061116

Method CHECK_STATUS_CHANGE on class CL_HR_DELETE_EMPLOYEE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECK_EXISTENCE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20061116
2 Importing I_PERNR Call by reference Type reference (TYPE) PERNR_D Personalnummer 20061116
# Exception Resumable Description Created on
1 ERROR_IS_OCCURRED Es ist ein Fehler aufgetreten. 20061116

Method DELETE_STATUS_PREPARATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TEST Call by reference Type reference (TYPE) ABAP_BOOL 20061116
# Exception Resumable Description Created on
1 DELETION_NOT_POSSIBLE Löschung des Vormerkestatus nicht möglich 20061116

Method DEQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TEST Call by reference Type reference (TYPE) ABAP_BOOL 20061116
# Exception Resumable Description Created on
1 ERROR_IS_OCCURRED Personalnummer konnte nicht entsperrt werden. 20061116

Method ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TEST Call by reference Type reference (TYPE) ABAP_BOOL 20061116
# Exception Resumable Description Created on
1 ERROR_IS_OCCURRED Personalnummer konnte nicht gesperrt werden. 20061116

Method GET_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_NAME Value transfer Type reference (TYPE) CHAR80 Char 80 20061116

Method GET_NAME on class CL_HR_DELETE_EMPLOYEE has no exception.

Method GET_NUMBER_OF_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_NUMBER_OF_STATUS Value transfer Type reference (TYPE) SYTABIX Index interner Tabellen 20061116

Method GET_NUMBER_OF_STATUS on class CL_HR_DELETE_EMPLOYEE has no exception.

Method GET_PERNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_PERNR Value transfer Type reference (TYPE) PERNR_D Personalnummer 20061116

Method GET_PERNR on class CL_HR_DELETE_EMPLOYEE has no exception.

Method GET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_STATUS Value transfer Type reference (TYPE) HRPAD_STATU Status zum Löschen von Pernrs auf Produktivsystemen 20061116

Method GET_STATUS on class CL_HR_DELETE_EMPLOYEE has no exception.

Method HAS_IT0003 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FILL_ERROR_MESSAGES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20061116
2 Returning R_HAS_IT0003 Value transfer Type reference (TYPE) ABAP_BOOL 20061116

Method HAS_IT0003 on class CL_HR_DELETE_EMPLOYEE has no exception.

Method IS_ENQUEUED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TEST Call by reference Type reference (TYPE) ABAP_BOOL 20061116
2 Returning R_IS_ENQUEUE Value transfer Type reference (TYPE) ABAP_BOOL 20061116
# Exception Resumable Description Created on
1 ERROR_IS_OCCURRED Personalnummer konnte nicht gesperrt werden. 20061116

Method IS_REJECTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_IS_REJECTED Value transfer Type reference (TYPE) ABAP_BOOL 20061116

Method IS_REJECTED on class CL_HR_DELETE_EMPLOYEE has no exception.

Method SET_REJECT Signature

Method SET_REJECT on class CL_HR_DELETE_EMPLOYEE has no parameter.
Method SET_REJECT on class CL_HR_DELETE_EMPLOYEE has no exception.
History
Last changed by/on SAP  20070912 
SAP Release Created in