SAP ABAP Class /TDAG/CPCL_GLOBAL_WL_HANDLER (CP: Global handler of the worklist handlers and worklists)
Hierarchy
TDAGBCA (Software Component) TechniData Basic Components
   EHS (Application Component) Environment, Health and Safety
     /TDAG/CP_WL (Package) CP: Work list handling
Properties
Class /TDAG/CPCL_GLOBAL_WL_HANDLER  
Short Description CP: Global handler of the worklist handlers and worklists    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /TDAG/CP_WL   CP: Work list handling 
Created 20061011   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /TDAG/CPCL_GLOBAL_WL_HANDLER has no forward declaration.
Interfaces
Class /TDAG/CPCL_GLOBAL_WL_HANDLER has no interface implemented.
Friends
Class /TDAG/CPCL_GLOBAL_WL_HANDLER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_WL_CONFIG Static Attribute Private Type reference (TYPE) /TDAG/CPYS_WL_CONFIG CP: Work list configuration 20061012
2 G_FLG_NO_CONFIG Static Attribute Private Type reference (TYPE) ESEBOOLE Truth Value 20061012
3 MO_GENERAL_APPLLOG_NODE Instance attribute Private Object reference (TYPE REF TO) /TDAG/CPCL_APPLLOG_NODE CP: Node for the application log 20061030
4 MO_LOGGER Instance attribute Private Object reference (TYPE REF TO) /TDAG/CPCL_LOGGER CP: Logger for the application log. 20061019
5 MO_TEMPWL_HANDLER Instance attribute Private Object reference (TYPE REF TO) /TDAG/CPCL_TEMP_WL_HANDLER CP: Temporary work list handler 20061101
6 MTS_STATISTICS Instance attribute Private Type reference (TYPE) TTS_STATISTICS Update Statistics 20131009
7 MT_RECN_DONE Instance attribute Private Type reference (TYPE) /TDAG/CPYH_RECN EHS: Minimum key for interface calling FM 20061016
8 MT_REL_OBJ_NO_DETERM Instance attribute Private Type reference (TYPE) /TDAG/CPY_WL_ENTRY_CONTAINER Relevant objects for them no determination is needed 20071107
9 MT_STATUS_TO_EXECUTE Instance attribute Private Type reference (TYPE) /TDAG/CPY_WLSTATUS CP: Table type of the work list status 20061030
10 MT_WL_GLOBAL Instance attribute Private Type reference (TYPE) TS_WL_GLOBAL Table type for the global worklist 20061013
11 MT_WL_HANDLER_REFS Instance attribute Private Type reference (TYPE) /TDAG/CPY_WL_HANDLER CP: Table type of worklist handler references 20061012
12 M_STATUS_SUCCESSFUL_EXECUTED Instance attribute Private Type reference (TYPE) /TDAG/CPE_WLSTATUS work list status 20061030
13 M_WL_EXEC_TIME Instance attribute Private Type reference (TYPE) /TDAG/CPE_WL_EXEC_TIME CP: Time when Worklist execution started 20070612
Methods
# Method Level Visibility Method type Description Created on
1 COMMIT_ALL_WORKLISTS Instance method Private Method Schreibe die Einträge der Worklists vom Puffer in die DB 20061013
2 CONSTRUCTOR Instance method Public Constructor Instanciates the class 20061011
3 CREATE_GLOBAL_WORKLIST Instance method Private Method Erzeugt die globale WL aus allen Listen der Member-Tabelle 20061011
4 CREATE_NEW_WL_ENTRIES Instance method Public Method Creates new worklist entries 20061011
5 CREATE_SHORTCUT Instance method Private Method Returns a SAP shortcut 20070627
6 CREATE_WL_ENTRIES_BY_CHG_DOCS Instance method Public Method Returns worklist entries using change docs for each wl 20061027
7 DELETE_WL_ENTRIES Instance method Public Method Deletes work list entries of the instanciated worklists 20070507
8 DETERMINATE Instance method Private Method Processes the core determination 20130918
9 DO_DETERMINATION Instance method Private Method Ruft die Ermittlungsklasse auf und liefert die neue GWL 20061011
10 EXECUTE_ALL_WORKLISTS Instance method Private Method Führt die Worklisten aus 20061011
11 EXECUTE_WORKLISTS Instance method Public Method Executes all worklists 20061011
12 GET_CONFIGURATION Static method Public Method Returns the configuration of the worklist management 20061011
13 GET_LOGGER Instance method Public Method returns the logger 20061019
14 GET_LOG_HANDLE Instance method Public Method Returns the log handle 20061019
15 GET_REL_OBJ_AS_WL_CONTAINER Instance method Private Method Returns the relevant objects for processing as wl container 20070619
16 GET_TEMPWL_AND_SET_TO_WL Instance method Private Method Get the temporary WL and sets the entries to the WL's 20061102
17 GET_WORKLIST_ENTRIES Instance method Public Method Returns worklist entries by search criteria 20070206
18 INFORM_USERS Instance method Private Method Inform the users about the success of a process 20070611
19 PROCESS_DETERMINATION Instance method Public Method Processes the determination of relevant entries 20061011
20 PROCESS_LOCKFAILS Instance method Private Method Processes and handles lockfails 20070618
21 RECURSIVE_DETERMINATION Instance method Private Method Führt die Ermittlung rekursiv aus 20061016
22 UDPATE_WORKLIST Instance method Private Method Processes the core worklist update 20131004
23 UPDATE_WORKLISTS_FROM_GWL Instance method Private Method Aktualisiert die einzelnen WLs basierend auf der GWL 20061011
Events
Class /TDAG/CPCL_GLOBAL_WL_HANDLER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TR_WLHREF Private Object reference (TYPE REF TO) /TDAG/CPIF_WL_HANDLER 20131004
2 TS_STATISTICS Private See coding 20131009 begin of TS_STATISTICS, wl_name type /TDAG/CPE_WL_NAME, updcnt type numc_7, delcnt type numc_7, inscnt type numc_7, end of TS_STATISTICS
3 TS_WL_GLOBAL Private See coding Global Worklist Table sorted by RECN 20121029 TS_WL_GLOBAL TYPE SORTED TABLE OF /tdag/cps_wl_global WITH UNIQUE KEY recn
4 TTS_STATISTICS Private See coding 20131009 TTS_STATISTICS type SORTED TABLE of TS_STATISTICS WITH NON-UNIQUE KEY wl_name
5 TT_WLHREF Private See coding 20131004 TT_WLHREF TYPE STANDARD TABLE OF tr_wlhref
Method Signatures

Method COMMIT_ALL_WORKLISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FLG_REFRESH_WL_BUFFERS Call by reference Type reference (TYPE) ESEBOOLE '' Truth Value 20070305

Method COMMIT_ALL_WORKLISTS on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_LOGGER Call by reference Object reference (TYPE REF TO) /TDAG/CPCL_LOGGER CP: Logger for the application log. 20061027
2 Importing IT_STATUS Call by reference Type reference (TYPE) /TDAG/CPY_WLSTATUS CP: Table type of the work list status 20061108
3 Importing IT_WORKLISTS Call by reference Type reference (TYPE) /TDAG/CPY_WL_NAME Tabellentyp mit Worklist-Namen 20061011
# Exception Resumable Description Created on
1 CONFIG_MISSING Konfiguration einer übergebenen Worklist fehlt 20061012
2 WORKLISTS_MISSING Parametertabelle IT_WORKLISTS ist leer 20061012

Method CREATE_GLOBAL_WORKLIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070213
2 Importing IO_WLHANDLER_REF Call by reference Type reference (TYPE) /TDAG/CPE_WL_HANDLER Referenz zur Worklisthandler-Schnittstelle 20061013

Method CREATE_GLOBAL_WORKLIST on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method CREATE_NEW_WL_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_FLG_ERROR Value transfer Type reference (TYPE) ESEBOOLE Wahrheitswert 20061011
2 Importing IT_NEW_ENTRIES Call by reference Type reference (TYPE) /TDAG/CPY_WL_ENTRY_CONTAINER CP: Tabellentyp: Container der Worklists beinhaltet. 20061011

Method CREATE_NEW_WL_ENTRIES on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method CREATE_SHORTCUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MAIL_ATT_CONTENT Call by reference Type reference (TYPE) /TDAG/CPY_SOTEXT Content of the attachment 20070627
2 Exporting E_ATT_DESCR Call by reference Type reference (TYPE) SO_OBJ_DES Short description of contents 20070627
3 Exporting E_ATT_DOCTYPE Call by reference Type reference (TYPE) SO_OBJ_TP Code for document class 20070627
4 Exporting E_ATT_FILENAME Call by reference Type reference (TYPE) SO_OBJ_NAM Name of document, folder or distribution list 20070627
5 Exporting E_ATT_FILE_EXT Call by reference Type reference (TYPE) SO_OBJ_NAM Name of document, folder or distribution list 20070627
6 Exporting E_ATT_SIZE Call by reference Type reference (TYPE) SO_DOC_SIZ Size of SAPoffice Document (for API1) 20070627
7 Exporting E_FLG_CONTAINS_ATT Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070627
8 Importing I_LOGON_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU R/3 System, current language 20070627
9 Importing I_USER Call by reference Type reference (TYPE) /TDAG/CPE_WL_USER SY-UNAME User to inform 20070627
# Exception Resumable Description Created on
1 SHORTCUT_NOT_CREATED The shortcut was not created 20070627

Method CREATE_WL_ENTRIES_BY_CHG_DOCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WL_ENTRIES Call by reference Type reference (TYPE) /TDAG/CPY_WL_ENTRY_CONTAINER CP: work list structure (used by interfaces) 20061027
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20061027
3 Importing IT_CHANGE_DOCS Call by reference Type reference (TYPE) /TDAG/CPY_EST_CHANGE_DOCS EHS: Change Documents in the EH&S System 20061027

Method CREATE_WL_ENTRIES_BY_CHG_DOCS on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method DELETE_WL_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070507
2 Importing IT_WL_ENTRIES Call by reference Type reference (TYPE) /TDAG/CPY_WL_INTERFACE CP: Container cont. worklist entries with corr. worklist 20070507

Method DELETE_WL_ENTRIES on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method DETERMINATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_RECN Call by reference Type reference (TYPE) /TDAG/RCST_RECN Components to start from 20130918
2 Changing XT_WL_ENTRIES Call by reference Type reference (TYPE) TS_WL_GLOBAL Worklist entries to start from 20130918

Method DETERMINATE on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method DO_DETERMINATION Signature

Method DO_DETERMINATION on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no parameter.
Method DO_DETERMINATION on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method EXECUTE_ALL_WORKLISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_OBJECTS_TO_PROCESS Call by reference Type reference (TYPE) /TDAG/CPY_WL_ENTRY_CONTAINER CP: Container cont. worklist entries with corr. worklist 20070615
2 Importing I_FLG_AD_HOC Call by reference Type reference (TYPE) ESEBOOLE '' Truth Value 20070615
3 Importing I_PACKAGE_COUNT Call by reference Type reference (TYPE) /TDAG/CPE_WL_PACKAGE_COUNT Paketzähler für Worklisten bei der Ausführung 20061018
4 Importing I_PACKAGE_SIZE Call by reference Type reference (TYPE) /TDAG/CPE_WL_PACKAGE_SIZE work list package size (for execution) 20070612

Method EXECUTE_ALL_WORKLISTS on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method EXECUTE_WORKLISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_FLG_ERROR Value transfer Type reference (TYPE) ESEBOOLE Wahrheitswert 20061011
2 Importing IT_OBJECTS_TO_PROCESS Call by reference Type reference (TYPE) /TDAG/CPY_WL_ENTRY_CONTAINER CP: Container cont. worklist entries with corr. worklist 20070615
3 Importing IT_USERS_TO_INFORM Call by reference Type reference (TYPE) /TDAG/CPY_WL_USER Users of the CfP Worklist Management 20070611
4 Importing IT_WORKLISTS Call by reference Type reference (TYPE) /TDAG/CPY_WL_NAME CP: Tabellentyp mit Namen von Worklisten 20061013
5 Importing I_FLG_AD_HOC Call by reference Type reference (TYPE) ESEBOOLE '' Flag if the execution is called in ad hoc mode 20070611
6 Importing I_FLG_EXPRESS_MAIL Call by reference Type reference (TYPE) ESEBOOLE '' Flag if the users shall be informed using express mail 20070614
7 Importing I_PACKAGE_COUNT Call by reference Type reference (TYPE) /TDAG/CPE_WL_PACKAGE_COUNT Paketzähler für Worklisten bei der Ausführung 20061018
8 Importing I_PACKAGE_SIZE Call by reference Type reference (TYPE) /TDAG/CPE_WL_PACKAGE_SIZE work list package size (for execution) 20070612
# Exception Resumable Description Created on
1 NO_USER_SPECIFIED No user to inform was specified 20070611

Method GET_CONFIGURATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WL_CONFIG Call by reference Type reference (TYPE) /TDAG/CPYS_WL_CONFIG CP: Konfiguration der Worklist 20061012
2 Exporting E_FLG_NO_CONFIG Call by reference Type reference (TYPE) ESEBOOLE Wahrheitswert 20061012

Method GET_CONFIGURATION on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method GET_LOGGER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_LOGGER Call by reference Object reference (TYPE REF TO) /TDAG/CPCL_LOGGER CP: Logger für das Application Log. 20061019

Method GET_LOGGER on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method GET_LOG_HANDLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20061019

Method GET_LOG_HANDLE on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method GET_REL_OBJ_AS_WL_CONTAINER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WL_CONTAINER Call by reference Type reference (TYPE) /TDAG/CPY_WL_ENTRY_CONTAINER CP: Container cont. worklist entries with corr. worklist 20070619

Method GET_REL_OBJ_AS_WL_CONTAINER on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method GET_TEMPWL_AND_SET_TO_WL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_WLH_REF Call by reference Type reference (TYPE) /TDAG/CPS_WL_HANDLER Name of work list and reference to the wl object 20061102

Method GET_TEMPWL_AND_SET_TO_WL on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method GET_WORKLIST_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WL_ENTRIES Call by reference Type reference (TYPE) /TDAG/CPY_WL_INTERFACE CP: work list structure (used by interfaces) 20070206
2 Exporting ET_WL_LOCKFAILS Call by reference Type reference (TYPE) /TDAG/CPY_WL_INTERFACE CP: work list structure (used by interfaces) 20070206
3 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070206
4 Exporting E_FLG_LOCKFAIL Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070206
5 Importing IT_CRDATE Call by reference Type reference (TYPE) /TDAG/CPY_ESECRDAT_RANGE Created On 20070207
6 Importing IT_CRNAME Call by reference Type reference (TYPE) /TDAG/CPY_ESECRNAM_RANGE Created By 20070207
7 Importing IT_FLG_CONTENT_CHG Call by reference Type reference (TYPE) /TDAG/CPY_FLG_CONT_CHG_RANGE Content change 20070207
8 Importing IT_RECNROOT Call by reference Type reference (TYPE) /TDAG/CPY_ESERECN_RANGE Sequential Number of Data Record 20070207
9 Importing IT_STATUS Call by reference Type reference (TYPE) /TDAG/CPY_WLSTATUS_RANGE work list status 20070207
10 Importing IT_UPDDATE Call by reference Type reference (TYPE) /TDAG/CPY_ESEUPDDAT_RANGE Changed On 20070207
11 Importing IT_UPDNAME Call by reference Type reference (TYPE) /TDAG/CPY_ESEUPDNAM_RANGE Last Changed By 20070207
12 Importing I_LOCKMODE Call by reference Type reference (TYPE) ESELOCKMOD 'N' Lock Mode (Shared, Exclusive) 20070206
13 Importing I_MAX_NUMBER_OF_ENTRIES Call by reference Type reference (TYPE) /TDAG/CPE_WL_PACKAGE_SIZE work list package size (for execution) 20070206
14 Importing I_RESET_BUFFER Call by reference Type reference (TYPE) ESEBOOLE SPACE Truth Value 20070213
15 Importing I_WLNAME Call by reference Type reference (TYPE) /TDAG/CPE_WL_NAME Name of the worklist 20070207
# Exception Resumable Description Created on
1 CLASS_NOT_INSTANTIATED_WITH_WL The Class was not instantiated with the requested worklist 20070206
2 WORKLIST_NOT_ACTIVE The requested worklist is not active 20070206

Method INFORM_USERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_OBJECTS_TO_PROCESS Call by reference Type reference (TYPE) /TDAG/CPY_WL_ENTRY_CONTAINER CP: Container cont. worklist entries with corr. worklist 20070615
2 Importing IT_USERS_TO_INFORM Call by reference Type reference (TYPE) /TDAG/CPY_WL_USER Users of the CfP Worklist Management 20070611
3 Importing IT_WORKLISTS Call by reference Type reference (TYPE) /TDAG/CPY_WL_NAME CP: Table type containing worklist name elements 20070612
4 Importing I_FLG_AD_HOC Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070612
5 Importing I_FLG_EXPRESS_MAIL Call by reference Type reference (TYPE) ESEBOOLE '' Flag if the users shall be informed using express mail 20070614

Method INFORM_USERS on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method PROCESS_DETERMINATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_REL_OBJECTS Call by reference Type reference (TYPE) /TDAG/CPY_WL_ENTRY_CONTAINER CP: Container cont. worklist entries with corr. worklist 20070619
2 Importing IT_AD_HOC_OBJECTS Call by reference Type reference (TYPE) /TDAG/CPY_WL_ENTRY_CONTAINER CP: Container cont. worklist entries with corr. worklist 20070611
3 Importing IT_PROC_CONTENT_CHGS Call by reference Type reference (TYPE) /TDAG/CPY_FLG_CONT_CHG_RANGE CP: Table for range /TDAG/CPE_FLG_CONTENT_CHG 20070305
4 Importing IT_STATUS Call by reference Type reference (TYPE) /TDAG/CPY_WLSTATUS_RANGE CP: Table type of the work list status 20061026
5 Importing I_FLG_AD_HOC Call by reference Type reference (TYPE) ESEBOOLE '' Flag if the function is called in ad hoc mode 20070611
6 Importing I_PACKAGE_SIZE Call by reference Type reference (TYPE) /TDAG/CPE_WL_PACKAGE_SIZE work list package size (for execution) 20070213

Method PROCESS_DETERMINATION on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method PROCESS_LOCKFAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_LOCKFAILS Call by reference Type reference (TYPE) /TDAG/CPY_WL_INTERFACE CP: work list structure (used by interfaces) 20070618

Method PROCESS_LOCKFAILS on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method RECURSIVE_DETERMINATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070213
2 Importing IT_WL_GLOBAL Call by reference Type reference (TYPE) TS_WL_GLOBAL Worklist Entries to start from 20130918

Method RECURSIVE_DETERMINATION on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method UDPATE_WORKLIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Error Flag 20131004
2 Importing IT_RECNS Call by reference Type reference (TYPE) /TDAG/CPY_RECNS Specifications to Process 20131004
3 Importing IT_WLHREF Call by reference Type reference (TYPE) TT_WLHREF Worklist Handlers to Process 20131004

Method UDPATE_WORKLIST on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.

Method UPDATE_WORKLISTS_FROM_GWL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070213

Method UPDATE_WORKLISTS_FROM_GWL on class /TDAG/CPCL_GLOBAL_WL_HANDLER has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 0207B0406C