SAP ABAP Class CL_HRBAS_CDOC_FACTORY (Factory for Document Classes)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-OM (Application Component) Organizational Management
     SP00_SERVICE (Package) Various Service Tools, Classes, Function Modules, Programs
Properties
Class CL_HRBAS_CDOC_FACTORY  
Short Description Factory for Document Classes    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SP00_SERVICE   Various Service Tools, Classes, Function Modules, Programs 
Created 20030820   SAP 
Last change 20040518   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_HRBAS_CDOC_FACTORY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_HRBAS_BOOLE_D Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_HRBAS_CDOC_FACTORY has no interface implemented.
Friends
Class CL_HRBAS_CDOC_FACTORY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BUSINESS_CONTEXT Static Attribute Private Type reference (TYPE) HRBAS_CDOC_CONTEXT_T 20030929
2 CDOC_INSTANCE_TAB Static Attribute Private Type reference (TYPE) CDOC_INST_TAB 20030820
3 CONTEXT_PDINFTYUPDATE Constant Public Type reference (TYPE) HRBAS_CDOC_CONTEXT-CONTEXT 'PDINFTYUPDATE' Context Created by PD Update 20031007
4 EVENT_CDOC_CREATED Constant Public Type reference (TYPE) SEOCPDNAME 'IF_HRBAS_CDOC_HANDLER~CDOC_CREATED' 20030924
5 EVENT_CDOC_PROCESS_COMPLETED Constant Public Type reference (TYPE) SEOCPDNAME 'IF_HRBAS_CDOC_FACTORY~CDOC_PROCESS_COMPLETED' 20030929
6 EVENT_CDOC_PROCESS_STARTED Constant Public Type reference (TYPE) SEOCPDNAME 'IF_HRBAS_CDOC_FACTORY~CDOC_PROCESS_STARTED' 20030929
7 FALSE Constant Private Type reference (TYPE) BOOLE_D IF_HRBAS_BOOLE_D=>FALSE 20030929
8 GLOBAL_CONTEXT_IDS Static Attribute Private Type reference (TYPE) HRBAS_CDOC_CONTEXT_IDS 20031007
9 HANDLER_CDOC_CREATED Constant Private Type reference (TYPE) SEOCPDNAME 'IF_HRBAS_CDOC_EVENT_CREATED~HANDLE_CDOC_CREATED' 20030930
10 HANDLER_CDOC_PROCESS_COMPLETED Constant Private Type reference (TYPE) SEOCPDNAME 'IF_HRBAS_CDOC_EVENT_CREATED~HANDLE_CDOC_PROCESS_COMPLETED' 20030930
11 HANDLER_CDOC_PROCESS_STARTED Constant Private Type reference (TYPE) SEOCPDNAME 'IF_HRBAS_CDOC_EVENT_CREATED~HANDLE_CDOC_PROCESS_STARTED' 20030930
12 PROCESSING_TYPE Static Attribute Private Type reference (TYPE) INT4 0 20030919
13 PROCESSING_TYPE_DIALOG Constant Public Type reference (TYPE) INT4 0 20030919
14 PROCESSING_TYPE_INACTIVE Constant Public Type reference (TYPE) INT4 2 20040211
15 PROCESSING_TYPE_UPDATE Constant Public Type reference (TYPE) INT4 1 20030919
16 REGISTERED_EVENT_HANDLER Static Attribute Private Type reference (TYPE) HRBAS_CDOC_REG_EVENT_HANDLER_T 20031002
17 TRUE Constant Private Type reference (TYPE) BOOLE_D IF_HRBAS_BOOLE_D=>TRUE 20030929
18 VERSION00 Constant Public Type reference (TYPE) HRBAS_CDOC_VERSION '00' 20031008
Methods
# Method Level Visibility Method type Description Created on
1 ADD_BUSINESS_CONTEXT Static method Public Method Adds Special Business Context 20030929
2 ADD_GLOBAL_CONTEXT_ID Static method Public Method Adds Global Context ID 20031007
3 CHECK_CDOC_ACTIVE_FOR_RECORD Static method Public Method Checks Whether Change Documents Active for an Infotype Rec. 20031013
4 CHECK_CDOC_CUST_LINE Static method Public Method Checks an Entry in Table T77CDOC_CUST 20031013
5 CHECK_CDOC_HANDLER Static method Public Method 20031027
6 DELETE_BUSINESS_CONTEXT Static method Public Method Deletes Business Context 20031007
7 DELETE_GLOBAL_CONTEXT_ID Static method Public Method Deletes a Global Context ID 20031007
8 EVENT_HANDLER_REGISTRATION Static method Private Method 20031002
9 GET_BUSINESS_CONTEXT Static method Public Method Returns Entire Business Conctext 20030929
10 GET_CDOC_INSTANCE Static method Public Method Delivers Instance of Suitable CDOC Handler 20030915
11 GET_CDOC_OBJECT_NAME Static method Public Method Delivers Name of Document Object for Infotype 20030915
12 GET_GLOBAL_CONTEXT_IDS Static method Public Method Returns All Global Context IDs 20031007
13 GET_PROCESSING_TYPE Static method Public Method Delivers Exectution Mode for Change Documents: Update/Dialog 20030919
14 GET_REGISTERED_EVENT_HANDLER Static method Public Method Delivers All Registered Event Handlers 20031002
15 RAISE_CDOC_PROCESS_COMPLETED Static method Public Method Triggers Event CDOC_PROCESS_COMPLETED 20031009
16 RAISE_CDOC_PROCESS_STARTED Static method Public Method Triggers Event CDOC_PROCESS_STARTED 20031009
17 REGISTER_EVENT_HANDLER Static method Public Method Assign Event Handler 20030924
18 SET_EVENT_HANDLER_FOR_INFTY Static method Public Method Sets Event Handler for a Specific Infotype 20031216
19 SET_PROCESSING_TYPE_DIALOG Static method Public Method Sets Dialog Execution Mode (Default) 20030919
20 SET_PROCESSING_TYPE_INACTIVE Static method Public Method Sets Execution Mode to Inacte => No Documents Created 20040211
21 SET_PROCESSING_TYPE_UPDATE Static method Public Method Sets Update Execution Mode 20030919
22 STORE_REGISTRATION Static method Private Method 20030930
Events
# Event Type Visibility Description Created on
1 CDOC_PROCESS_COMPLETED Static Event
(1)
Public
(2)
End of Change Document Creation of Update Call 20031009
2 CDOC_PROCESS_STARTED Static Event
(1)
Public
(2)
Start of Change Document Creation of Update Call 20031009
Types
Class CL_HRBAS_CDOC_FACTORY has no local type.
Method Signatures

Method ADD_BUSINESS_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BUSINESS_CONTEXT Call by reference Type reference (TYPE) HRBAS_CDOC_CONTEXT_T 20030929

Method ADD_BUSINESS_CONTEXT on class CL_HRBAS_CDOC_FACTORY has no exception.

Method ADD_GLOBAL_CONTEXT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing GLOBAL_CONTEXT_ID Call by reference Type reference (TYPE) HRGUID 20031007

Method ADD_GLOBAL_CONTEXT_ID on class CL_HRBAS_CDOC_FACTORY has no exception.

Method CHECK_CDOC_ACTIVE_FOR_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CDOC_ACTIVE Value transfer Type reference (TYPE) HRBAS_CDOC_ACTIVE 20031013
2 Importing INFTY Call by reference Type reference (TYPE) INFOTYP 20031013
3 Importing INFTY_DB_RECORD Call by reference Type reference (TYPE) ANY Infotypspezifische Struktur, entsprechend der DB-Tabelle 20031013

Method CHECK_CDOC_ACTIVE_FOR_RECORD on class CL_HRBAS_CDOC_FACTORY has no exception.

Method CHECK_CDOC_CUST_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D 20031013
2 Importing MESSAGE_HANDLER Call by reference Type reference (TYPE) HRBAS_MSG_HANDLER_IF_REF 20031013
3 Changing T77CDOC_CUST_LINE Call by reference Type reference (TYPE) T77CDOC_CUST 20031013

Method CHECK_CDOC_CUST_LINE on class CL_HRBAS_CDOC_FACTORY has no exception.

Method CHECK_CDOC_HANDLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CDOC_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRBAS_CDOC_HANDLER 20031027

Method CHECK_CDOC_HANDLER on class CL_HRBAS_CDOC_FACTORY has no exception.

Method DELETE_BUSINESS_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT Call by reference Type reference (TYPE) HRBAS_CDOC_CONTEXT-CONTEXT SPACE SPACE = alles löschen 20031007

Method DELETE_BUSINESS_CONTEXT on class CL_HRBAS_CDOC_FACTORY has no exception.

Method DELETE_GLOBAL_CONTEXT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing GLOBAL_CONTEXT_ID Call by reference Type reference (TYPE) HRGUID 20031007

Method DELETE_GLOBAL_CONTEXT_ID on class CL_HRBAS_CDOC_FACTORY has no exception.

Method EVENT_HANDLER_REGISTRATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTIV Call by reference Type reference (TYPE) ACTIV_X 'X' 20031002
2 Importing EVENT Call by reference Type reference (TYPE) SEOCPDNAME SPACE 20031002
3 Importing EVENT_HANDLER_CLASS Call by reference Type reference (TYPE) SEOCLSNAME 20031002
4 Importing INFTY Call by reference Type reference (TYPE) INFOTYP SPACE 20031002
# Exception Resumable Description Created on
1 CX_HRBAS_CDOC_EXCEPTION 20031002

Method GET_BUSINESS_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning BUSINESS_CONTEXT Value transfer Type reference (TYPE) HRBAS_CDOC_CONTEXT_T 20030929

Method GET_BUSINESS_CONTEXT on class CL_HRBAS_CDOC_FACTORY has no exception.

Method GET_CDOC_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CDOC_INSTANCE Value transfer Object reference (TYPE REF TO) IF_HRBAS_CDOC_HANDLER 20030915
2 Importing INFTY Call by reference Type reference (TYPE) INFOTYP 20030915
# Exception Resumable Description Created on
1 CX_HRBAS_CDOC_EXCEPTION Ausnahme bei HR Belegschreibung 20031017

Method GET_CDOC_OBJECT_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CDOC_OBJECT_NAME Value transfer Type reference (TYPE) CDOBJECTCL 20030915
2 Importing INFTY Call by reference Type reference (TYPE) INFOTYP 20030915
# Exception Resumable Description Created on
1 CX_HRBAS_CDOC_EXCEPTION Ausnahme bei HR Belegschreibung 20031017

Method GET_GLOBAL_CONTEXT_IDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning GLOBAL_CONTEXT_IDS Value transfer Type reference (TYPE) HRBAS_CDOC_CONTEXT_IDS 20031007

Method GET_GLOBAL_CONTEXT_IDS on class CL_HRBAS_CDOC_FACTORY has no exception.

Method GET_PROCESSING_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning PROCESSING_TYPE Value transfer Type reference (TYPE) INT1 20030919

Method GET_PROCESSING_TYPE on class CL_HRBAS_CDOC_FACTORY has no exception.

Method GET_REGISTERED_EVENT_HANDLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning REGISTERED_EVENT_HANDLER Value transfer Type reference (TYPE) HRBAS_CDOC_REG_EVENT_HANDLER_T 20031002

Method GET_REGISTERED_EVENT_HANDLER on class CL_HRBAS_CDOC_FACTORY has no exception.

Method RAISE_CDOC_PROCESS_COMPLETED Signature

Method RAISE_CDOC_PROCESS_COMPLETED on class CL_HRBAS_CDOC_FACTORY has no parameter.
Method RAISE_CDOC_PROCESS_COMPLETED on class CL_HRBAS_CDOC_FACTORY has no exception.

Method RAISE_CDOC_PROCESS_STARTED Signature

Method RAISE_CDOC_PROCESS_STARTED on class CL_HRBAS_CDOC_FACTORY has no parameter.
Method RAISE_CDOC_PROCESS_STARTED on class CL_HRBAS_CDOC_FACTORY has no exception.

Method REGISTER_EVENT_HANDLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTIV Call by reference Type reference (TYPE) ACTIV_X 'X' 20030924
2 Importing EVENT Call by reference Type reference (TYPE) SEOCPDNAME SPACE 20030924
3 Importing EVENT_HANDLER_CLASS Call by reference Type reference (TYPE) SEOCLSNAME 20030924
4 Importing EVENT_HANDLER_TAB Call by reference Type reference (TYPE) HRBAS_CDOC_REG_EVENT_HANDLER_T 20031002
5 Importing INFTY Call by reference Type reference (TYPE) INFOTYP SPACE 20030924
# Exception Resumable Description Created on
1 CX_HRBAS_CDOC_EXCEPTION 20030929

Method SET_EVENT_HANDLER_FOR_INFTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BUFFER_MODE Call by reference Type reference (TYPE) BOOLE_D IF_HRBAS_BOOLE_D=>TRUE TRUE: Event Handler werden gepuffert, FALSE: Keine Pufferung 20031216
2 Importing INFTY Call by reference Type reference (TYPE) INFOTYP Infotyp 20031216

Method SET_EVENT_HANDLER_FOR_INFTY on class CL_HRBAS_CDOC_FACTORY has no exception.

Method SET_PROCESSING_TYPE_DIALOG Signature

Method SET_PROCESSING_TYPE_DIALOG on class CL_HRBAS_CDOC_FACTORY has no parameter.
Method SET_PROCESSING_TYPE_DIALOG on class CL_HRBAS_CDOC_FACTORY has no exception.

Method SET_PROCESSING_TYPE_INACTIVE Signature

Method SET_PROCESSING_TYPE_INACTIVE on class CL_HRBAS_CDOC_FACTORY has no parameter.
Method SET_PROCESSING_TYPE_INACTIVE on class CL_HRBAS_CDOC_FACTORY has no exception.

Method SET_PROCESSING_TYPE_UPDATE Signature

Method SET_PROCESSING_TYPE_UPDATE on class CL_HRBAS_CDOC_FACTORY has no parameter.
Method SET_PROCESSING_TYPE_UPDATE on class CL_HRBAS_CDOC_FACTORY has no exception.

Method STORE_REGISTRATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTIV Call by reference Type reference (TYPE) ACTIV_X 20030930
2 Importing EVENT Call by reference Type reference (TYPE) SEOCPDNAME 20030930
3 Importing EVENT_HANDLER_CLASS Call by reference Type reference (TYPE) SEOCLSNAME 20030930
4 Importing EVENT_HANDLER_METHOD Call by reference Type reference (TYPE) SEOCPDNAME 20030930
5 Importing INFTY Call by reference Type reference (TYPE) INFOTYP 20030930
# Exception Resumable Description Created on
1 CX_HRBAS_CDOC_EXCEPTION Ausnahme bei HR Belegschreibung 20031017
Event Signatures

Event CDOC_PROCESS_COMPLETED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 CONTEXT Exporting Value transfer Type reference (TYPE) HRBAS_CDOC_CONTEXT_T Anwendungs-Kontext der die Belegschreibung initiiert hat 20031009

Event CDOC_PROCESS_STARTED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 CONTEXT Exporting Value transfer Type reference (TYPE) HRBAS_CDOC_CONTEXT_T 20031009
History
Last changed by/on SAP  20040518 
SAP Release Created in 640