SAP ABAP Class CL_SWF_WLC_INBOX_TIMESTAMP (WLC: Time Stamp for Inbox Changes)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM (Application Component) SAP Business Workflow
     SWL (Package) Business Workflow: Worklist Client
Properties
Class CL_SWF_WLC_INBOX_TIMESTAMP  
Short Description WLC: Time Stamp for Inbox Changes    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWL   Business Workflow: Worklist Client 
Created 20120420   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SWF_WLC_INBOX_TIMESTAMP has no forward declaration.
Interfaces
Class CL_SWF_WLC_INBOX_TIMESTAMP has no interface implemented.
Friends
Class CL_SWF_WLC_INBOX_TIMESTAMP has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CHANGED_EVENT Constant Public Type reference (TYPE) STRING 'CHANGED' 20120503
2 C_COMPLETE_EVENT Constant Public Type reference (TYPE) STRING 'COMPLETED' 20120503
3 C_CREATE_EVENT Constant Public Type reference (TYPE) STRING 'CREATED' 20120503
4 C_MONITORING_TRHESHOLD Constant Private Type reference (TYPE) I 1000 20120424
5 C_TASK_STRATEGY Constant Private Type reference (TYPE) STRING 'TASK' 20120509
6 C_USER_STRATEGY Constant Private Type reference (TYPE) STRING 'USER' 20120509
7 DB_CONNECTION_NAME Constant Private Type reference (TYPE) DBCON_NAME 'R/3*InboxRefresh' 20120420
8 M_CRT_TIMESTAMP Instance attribute Private Type reference (TYPE) TIMESTAMPL 20120420
9 M_CURRENT_STATUS Instance attribute Private Type reference (TYPE) MONITORING 20120420
10 M_CURRENT_USER Instance attribute Private Type reference (TYPE) SYUNAME 20120420
11 M_CUSTOMIZING Instance attribute Private Object reference (TYPE REF TO) CL_SWF_WLC_REFRESH_CUSTOMIZING 20120423
12 M_DATABASE_TASK Instance attribute Private Type reference (TYPE) TABLE_OF_DATABASE_TASK 20120509
13 M_DATABASE_USER Instance attribute Private Type reference (TYPE) TABLE_OF_DATABASE_USER 20120509
14 M_LOGSYS Instance attribute Private Type reference (TYPE) LOGSYS 20120420
15 M_MONITORING_HISTORY Instance attribute Private Type reference (TYPE) TABLE_OF_MONITORING 20120420
16 M_MONITORING_OVERVIEW Instance attribute Private Type reference (TYPE) MONITORING_OVERVIEW 20120420
17 M_SINGLETON Static Attribute Private Object reference (TYPE REF TO) CL_SWF_WLC_INBOX_TIMESTAMP 20120420
18 M_STRATEGY Instance attribute Private Type reference (TYPE) STRING 20120509
19 M_TASKS_LAST_UPDATE Instance attribute Private Type reference (TYPE) TABLE_OF_TASK_LAST_UPDATE 20120509
20 M_USERS_LAST_UPDATE Instance attribute Private Type reference (TYPE) TABLE_OF_USER_LAST_UPDATE 20120420
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_AND_UPDATE Instance method Public Method 20120420
2 CHECK_AND_UPDATE_TASK Instance method Private Method 20120509
3 CHECK_AND_UPDATE_USER Instance method Private Method 20120509
4 CHECK_UPDATE_FOR_TASK Instance method Private Method 20120509
5 CHECK_UPDATE_FOR_USERS Instance method Private Method 20120420
6 END_MONITORING Instance method Private Method 20120420
7 GET_DATABASE_TASK Instance method Private Method 20120509
8 GET_DATABASE_USER Instance method Private Method 20120509
9 GET_INSTANCE Static method Public Method 20120420
10 GET_LAST_UPDATE Instance method Public Method 20120423
11 GET_UPDATE_PERIOD Instance method Private Method 20120502
12 INSERT_RECORD_TASK Instance method Private Method 20120509
13 INSERT_RECORD_USER Instance method Private Method 20120509
14 READ_DATABASE Instance method Public Method 20120423
15 START_MONITORING Instance method Private Method 20120420
16 UPDATE_DATABASE_TASK Instance method Private Method 20120509
17 UPDATE_DATABASE_USER Instance method Private Method 20120509
18 UPDATE_LAST_CHANGED_TASK Instance method Private Method 20120509
19 UPDATE_LAST_CHANGED_USER Instance method Private Method 20120420
20 UPDATE_RECORD_TASK Instance method Private Method 20120509
21 UPDATE_RECORD_USER Instance method Private Method 20120509
Events
Class CL_SWF_WLC_INBOX_TIMESTAMP has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 DATABASE_TASK Private See coding 20120509 BEGIN OF database_task, task TYPE sww_task, lastref TYPE timestamp, END OF database_task
2 DATABASE_USER Private See coding 20120509 BEGIN OF database_user, username TYPE xubname, lastref TYPE timestamp, END OF database_user
3 MONITORING Private See coding 20120420 BEGIN OF monitoring, start_timestamp TYPE timestampl, duration_in_micro_seconds TYPE i, number_of_users TYPE i, task type sww_task, END OF monitoring
4 MONITORING_OVERVIEW Private See coding 20120420 BEGIN OF monitoring_overview, count TYPE i, amount_dura_in_milli_seconds TYPE f, END OF monitoring_overview
5 TABLE_OF_DATABASE_TASK Private See coding 20120509 table_of_database_task TYPE STANDARD TABLE OF database_task WITH KEY task
6 TABLE_OF_DATABASE_USER Private See coding 20120509 table_of_database_user TYPE STANDARD TABLE OF database_user WITH KEY username
7 TABLE_OF_MONITORING Private See coding 20120420 table_of_monitoring TYPE STANDARD TABLE OF monitoring
8 TABLE_OF_REGISTERED_USER Public See coding 20120420 table_of_registered_user TYPE STANDARD TABLE OF syuname WITH NON-UNIQUE KEY table_line
9 TABLE_OF_TASK_LAST_UPDATE Private See coding 20120509 table_of_task_last_update TYPE SORTED TABLE OF task_last_update WITH UNIQUE KEY task
10 TABLE_OF_USER_LAST_UPDATE Private See coding 20120420 table_of_user_last_update TYPE SORTED TABLE OF user_last_update WITH UNIQUE KEY uname
11 TASK_LAST_UPDATE Private See coding 20120509 BEGIN OF task_last_update, task TYPE sy-uname, timestamp TYPE timestamp, END OF task_last_update
12 USER_LAST_UPDATE Private See coding 20120420 BEGIN OF user_last_update, uname TYPE sy-uname, timestamp TYPE timestamp, END OF user_last_update
Method Signatures

Method CHECK_AND_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_EVENT Call by reference Type reference (TYPE) STRING 20120503
2 Importing IM_TASK Call by reference Type reference (TYPE) SWW_TASK 20120420
3 Returning RE_UPDATED Value transfer Type reference (TYPE) XFELD 20120420

Method CHECK_AND_UPDATE on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method CHECK_AND_UPDATE_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_EVENT Call by reference Type reference (TYPE) STRING 20120509
2 Importing IM_TASK Call by reference Type reference (TYPE) SWW_TASK 20120509
3 Returning RE_UPDATED Value transfer Type reference (TYPE) XFELD 20120509

Method CHECK_AND_UPDATE_TASK on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method CHECK_AND_UPDATE_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_EVENT Call by reference Type reference (TYPE) STRING 20120509
2 Importing IM_TASK Call by reference Type reference (TYPE) SWW_TASK 20120509
3 Returning RE_UPDATED Value transfer Type reference (TYPE) XFELD 20120509

Method CHECK_AND_UPDATE_USER on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method CHECK_UPDATE_FOR_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TASK Call by reference Type reference (TYPE) SWW_TASK 20120509
2 Importing IM_UPDATE_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL 20120509
3 Returning RE_UPDATE_TASK Value transfer Type reference (TYPE) XFELD 20120509

Method CHECK_UPDATE_FOR_TASK on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method CHECK_UPDATE_FOR_USERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_UPDATE_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL 20120420
2 Importing IM_USERS Call by reference Type reference (TYPE) TABLE_OF_REGISTERED_USER 20120420
3 Returning RE_USERS_FOR_UPDATE Value transfer Type reference (TYPE) TABLE_OF_REGISTERED_USER 20120420

Method CHECK_UPDATE_FOR_USERS on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method END_MONITORING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_NUMBER_OF_USERS Call by reference Type reference (TYPE) I 20120420
2 Importing IM_TASK Call by reference Type reference (TYPE) SWW_TASK 20120509
3 Importing IM_TIMER Call by reference Object reference (TYPE REF TO) IF_ABAP_RUNTIME 20120420

Method END_MONITORING on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method GET_DATABASE_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TASK Call by reference Type reference (TYPE) SWW_TASK 20120509
2 Returning RE_DATABASE Value transfer Type reference (TYPE) TABLE_OF_DATABASE_TASK 20120509

Method GET_DATABASE_TASK on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method GET_DATABASE_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_USERS Call by reference Type reference (TYPE) TABLE_OF_REGISTERED_USER 20120509
2 Returning RE_DATABASE Value transfer Type reference (TYPE) TABLE_OF_DATABASE_USER 20120509

Method GET_DATABASE_USER on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_USER Call by reference Type reference (TYPE) SYUNAME 20120420
2 Importing IM_WI_TYPE Call by reference Type reference (TYPE) SWW_WITYPE 20120420
3 Returning RE_INSTANCE Value transfer Object reference (TYPE REF TO) CL_SWF_WLC_INBOX_TIMESTAMP 20120420

Method GET_INSTANCE on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method GET_LAST_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_USER Call by reference Type reference (TYPE) SYUNAME 20120423
2 Returning RE_LAST_UPDATE Value transfer Type reference (TYPE) TIMESTAMP 20120423

Method GET_LAST_UPDATE on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method GET_UPDATE_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_PERIOD_IN_SECONDS Value transfer Type reference (TYPE) I 20120502

Method GET_UPDATE_PERIOD on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method INSERT_RECORD_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DATA Call by reference Type reference (TYPE) SWLIR 20120509
2 Returning RE_RETCOD Value transfer Type reference (TYPE) I 20120509

Method INSERT_RECORD_TASK on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method INSERT_RECORD_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DATA Call by reference Type reference (TYPE) SWLIR 20120509
2 Returning RE_RETCOD Value transfer Type reference (TYPE) I 20120509

Method INSERT_RECORD_USER on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method READ_DATABASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_USER Call by reference Type reference (TYPE) SYUNAME 20120423

Method READ_DATABASE on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method START_MONITORING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_TIMER Value transfer Object reference (TYPE REF TO) IF_ABAP_RUNTIME 20120420

Method START_MONITORING on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method UPDATE_DATABASE_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TASK Call by reference Type reference (TYPE) SWW_TASK 20120509

Method UPDATE_DATABASE_TASK on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method UPDATE_DATABASE_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_USERS Call by reference Type reference (TYPE) TABLE_OF_REGISTERED_USER 20120509

Method UPDATE_DATABASE_USER on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method UPDATE_LAST_CHANGED_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TASK Call by reference Type reference (TYPE) SWW_TASK 20120509
2 Importing IM_UPDATE_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL 20120509
3 Returning RE_UPDATED_TASK Value transfer Type reference (TYPE) I 20120509

Method UPDATE_LAST_CHANGED_TASK on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method UPDATE_LAST_CHANGED_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_UPDATE_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL 20120420
2 Importing IM_USERS Call by reference Type reference (TYPE) TABLE_OF_REGISTERED_USER 20120420
3 Returning RE_UPDATED_USERS Value transfer Type reference (TYPE) I 20120420

Method UPDATE_LAST_CHANGED_USER on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method UPDATE_RECORD_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DATA Call by reference Type reference (TYPE) SWLIR 20120509
2 Returning RE_RETCOD Value transfer Type reference (TYPE) I 20120509

Method UPDATE_RECORD_TASK on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.

Method UPDATE_RECORD_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DATA Call by reference Type reference (TYPE) SWLIR 20120509
2 Returning RE_RETCOD Value transfer Type reference (TYPE) I 20120509

Method UPDATE_RECORD_USER on class CL_SWF_WLC_INBOX_TIMESTAMP has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 732