SAP ABAP Class CL_SWF_RUN_OUTBOX_PERSISTENCE (Workflow: Persistence Outbox Data)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM (Application Component) SAP Business Workflow
     SWF_RUN (Package) Workflow: Runtime
Properties
Class CL_SWF_RUN_OUTBOX_PERSISTENCE  
Short Description Workflow: Persistence Outbox Data    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWF_RUN   Workflow: Runtime 
Created 20130215   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SWF_RUN_OUTBOX_PERSISTENCE has no forward declaration.
Interfaces
Class CL_SWF_RUN_OUTBOX_PERSISTENCE has no interface implemented.
Friends
Class CL_SWF_RUN_OUTBOX_PERSISTENCE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CATEGORY_FAILED Constant Public Type reference (TYPE) CHAR1 'E' Migration in Process 20130222
2 C_CATEGORY_IN_PROCESS Constant Public Type reference (TYPE) CHAR1 'P' Migration in Process 20130215
3 C_CATEGORY_MIGRATED Constant Public Type reference (TYPE) CHAR1 'M' Migration Successful 20130215
4 C_CATEGORY_OUTBOX Constant Public Type reference (TYPE) CHAR1 '1' Started Workflows 20130215
5 C_CATEGORY_OUTBOX_EXEC Constant Public Type reference (TYPE) CHAR1 '4' Work items executed by me 20130215
6 C_CATEGORY_OUTBOX_FORW Constant Public Type reference (TYPE) CHAR1 '5' Forwarded Work Items 20130215
7 C_CATEGORY_REGISTERED Constant Public Type reference (TYPE) CHAR1 'R' tRFC Registered for Migration 20130327
8 MT_DB_ENTRIES Instance attribute Private Type reference (TYPE) TT_SWWOUTBOX 20130215
9 M_DATABASE_AVAILABLE Static Attribute Private Object reference (TYPE REF TO) XFELD X = exists, space = does not exist, = not checked 20130215
10 M_OUTBOX_READY Instance attribute Private Type reference (TYPE) T_OUTBOX_READY_FOR_USER 20131104
11 M_SINGLETON Static Attribute Private Object reference (TYPE REF TO) CL_SWF_RUN_OUTBOX_PERSISTENCE Workflow: Persistence Outbox Data 20130215
12 S_METHODS_OUTBOX Static Attribute Private Type reference (TYPE) SWFSTRTAB 20130326
13 S_METHODS_OUTBOX_EXEC Static Attribute Private Type reference (TYPE) SWFSTRTAB 20130326
14 S_METHODS_OUTBOX_FORW Static Attribute Private Type reference (TYPE) SWFSTRTAB 20130326
15 S_TABNAME Constant Private Type reference (TYPE) STRING 'SWWOUTBOX' Table Name 20130215
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20130326
2 DELETE_ENTRIES_FOR_USER Instance method Public Method Deletes all DB entries of a user 20130222
3 DELETE_ENTRIES_WI_RANGE Instance method Public Method Deletes all DB entries (per WI_ID range tab) 20130225
4 DO_MIGRATION_FOR_USER Instance method Public Method Calls the migration module asynchronously 20130222
5 GET_DATABASE_TABLE_NAME Instance method Public Method Returns the name of the table 20130225
6 GET_INSTANCE Static method Public Method Returns the instance 20130215
7 GET_MIGRATION_ON_DEMAND Instance method Public Method Migration on Demand Activated 20130326
8 GET_OUTBOX_CATEGORY Instance method Private Method 20130326
9 GET_OUTBOX_EXEC_WORKITEM Instance method Public Method Reads executed WI_IDs for a user 20130215
10 GET_OUTBOX_FORW_WORKITEM Instance method Public Method Reads forwarded WI_IDs for a user 20130215
11 GET_OUTBOX_WI_RANGE Instance method Public Method Returns the WI_IDs as a range table 20130220
12 GET_OUTBOX_WORKITEM Instance method Public Method Reads started WI_IDs for a user 20130215
13 GET_OUTBOX_WORKLIST Instance method Public Method Returns the worklist for a user / folder 20130220
14 GET_SWWLOGHIST_METHODS Instance method Public Method 20130326
15 GET_USE_SWWLOGHIST_FOR_SELECT Instance method Public Method Old Selection for Outbox Active 20130326
16 INSERT_DATABASE_ENTRIES Instance method Public Method Memory mt_db_entries in database 20130215
17 IS_DATABASE_AVAILABLE Instance method Public Method Checks whether table exists 20130215
18 IS_DATABASE_READY_FOR_USER Instance method Public Method Checks whether table exists and is filled for a user 20130215
19 IS_MIGRATION_IN_PROCESS Instance method Public Method Migration already started? 20130326
20 SET_ENTRY Instance method Public Method Sets a record to add to the table 20130220
21 SET_LOGHIST_ENTRY Instance method Public Method Sets a record from the log history 20130225
22 SET_MIGRATION_CANCELLED Instance method Public Method Migration canceled, write log entry 20130222
23 SET_MIGRATION_COMPLETED Instance method Public Method End of Migration, write log entry 20130220
24 SET_MIGRATION_IN_PROCESS Instance method Public Method Start of Migration, write log entry 20130220
25 SET_MIGRATION_REGISTERED Instance method Public Method Registers migration for tRFC 20130327
26 _SELECT_WI_ID Instance method Private Method Returns the WI_IDs 20130215
Events
Class CL_SWF_RUN_OUTBOX_PERSISTENCE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 OUTBOX_READY_FOR_USER Private See coding 20131104 BEGIN OF outbox_ready_for_user. TYPES: uname TYPE syuname. TYPES: timestamp TYPE timestampl. TYPES: END OF outbox_ready_for_user
2 TT_OUTB_ATTR Public See coding 20130225 TT_OUTB_ATTR type table of SWL_OUTB_ATTR
3 TT_SWWOUTBOX Private See coding 20130215 TT_SWWOUTBOX type table of T_SWWOUTBOX
4 TT_WI_TSTP Public See coding Table Type WI_ID + Timestamp 20130220 TT_WI_TSTP type table of T_WI_TSTP
5 T_OUTBOX_READY_FOR_USER Private See coding 20131104 t_outbox_ready_for_user TYPE SORTED TABLE OF outbox_ready_for_user WITH UNIQUE KEY uname
6 T_STATUS_FILTER Public See coding Range of WI Status 20130220 T_STATUS_FILTER type range of SWW_WISTAT
7 T_SWWOUTBOX Private See coding Database Structure SWWOUTBOX 20130215 begin of T_SWWOUTBOX, CLIENT type MANDT, GUID type GUID_16, CATEGORY type CHAR1, WI_ID type SWW_WIID, WI_TYPE type SWW_WITYPE, WI_RH_TASK type SWW_TASK, WI_AAGENT type SWW_AAGENT, TIMESTAMP type SWFRCRETS, end of T_SWWOUTBOX
8 T_TASK_FILTER Public See coding Range of WI Task 20130215 T_TASK_FILTER type range of SWW_TASK
9 T_TYPE_FILTER Public See coding Range of WI type 20130215 T_TYPE_FILTER type range of SWW_WITYPE
10 T_WI_RANGE Public See coding Range of WI_IDs 20130220 T_WI_RANGE type range of SWW_WIID
11 T_WI_TSTP Public See coding WI_ID + Timestamp 20130220 begin of T_WI_TSTP, WI_ID type SWW_WIID, TIMESTAMP type SWFRCRETS, end of T_WI_TSTP
Method Signatures

Method CLASS_CONSTRUCTOR Signature

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

Method DELETE_ENTRIES_FOR_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMMIT Call by reference Type reference (TYPE) XFLAG 'X' commit flag 20130222
2 Importing IM_USER Call by reference Type reference (TYPE) SYUNAME Benutzername 20130222
3 Returning RE_RCODE Value transfer Type reference (TYPE) SYSUBRC Rückgabewert 20130222

Method DELETE_ENTRIES_FOR_USER on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method DELETE_ENTRIES_WI_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMMIT Call by reference Type reference (TYPE) XFLAG 'X' commit flag 20130225
2 Importing IT_WI_RANGE Call by reference Type reference (TYPE) SWFARTWIID 20130225
3 Returning RE_COUNT Value transfer Type reference (TYPE) SYST_DBCNT 20130225

Method DELETE_ENTRIES_WI_RANGE on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method DO_MIGRATION_FOR_USER 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 Benutzername 20130222

Method DO_MIGRATION_FOR_USER on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method GET_DATABASE_TABLE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_TABLENAME Value transfer Type reference (TYPE) STRING 20130225

Method GET_DATABASE_TABLE_NAME on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_INSTANCE Value transfer Object reference (TYPE REF TO) CL_SWF_RUN_OUTBOX_PERSISTENCE Workflow: Persistenz Outbox Daten 20130215

Method GET_INSTANCE on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method GET_MIGRATION_ON_DEMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_MIGRATION_ON_DEMAND Value transfer Type reference (TYPE) XFELD 20130326

Method GET_MIGRATION_ON_DEMAND on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method GET_OUTBOX_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_METHOD Call by reference Type reference (TYPE) SWW_LOGACT 20130326
2 Returning RE_CATEGORY Value transfer Type reference (TYPE) CHAR1 20130326

Method GET_OUTBOX_CATEGORY on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method GET_OUTBOX_EXEC_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WI Call by reference Type reference (TYPE) TT_WI_TSTP 20130220
2 Importing IM_TASK_FILTER Call by reference Type reference (TYPE) T_TASK_FILTER Range of WI Task 20130215
3 Importing IM_TIMESTAMP Call by reference Type reference (TYPE) SWFRCRETS UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20130215
4 Importing IM_USER Call by reference Type reference (TYPE) SYUNAME Benutzername 20130215

Method GET_OUTBOX_EXEC_WORKITEM on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method GET_OUTBOX_FORW_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WI Call by reference Type reference (TYPE) TT_WI_TSTP 20130220
2 Importing IM_TASK_FILTER Call by reference Type reference (TYPE) T_TASK_FILTER Range of WI Task 20130215
3 Importing IM_TIMESTAMP Call by reference Type reference (TYPE) SWFRCRETS UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20130215
4 Importing IM_USER Call by reference Type reference (TYPE) SYUNAME Benutzername 20130215

Method GET_OUTBOX_FORW_WORKITEM on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method GET_OUTBOX_WI_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WI_RANGE Call by reference Type reference (TYPE) T_WI_RANGE Range of WI_IDs 20130220
2 Importing IM_CATEGORY Call by reference Type reference (TYPE) CHAR1 Einstelliges Kennzeichen 20130220
3 Importing IM_TASK_FILTER Call by reference Type reference (TYPE) T_TASK_FILTER Range of WI Task 20130220
4 Importing IM_TIMESTAMP Call by reference Type reference (TYPE) SWFRCRETS UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20130220
5 Importing IM_TYPE_FILTER Call by reference Type reference (TYPE) T_TYPE_FILTER Range of WI type 20130220
6 Importing IM_USER Call by reference Type reference (TYPE) SYUNAME Benutzername 20130220

Method GET_OUTBOX_WI_RANGE on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method GET_OUTBOX_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WI Call by reference Type reference (TYPE) TT_WI_TSTP 20130220
2 Importing IM_TASK_FILTER Call by reference Type reference (TYPE) T_TASK_FILTER Range of WI Task 20130215
3 Importing IM_TIMESTAMP Call by reference Type reference (TYPE) SWFRCRETS UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20130215
4 Importing IM_USER Call by reference Type reference (TYPE) SYUNAME Benutzername 20130215

Method GET_OUTBOX_WORKITEM on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method GET_OUTBOX_WORKLIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WORKLIST Call by reference Type reference (TYPE) SWWWLHEADT 20130220
2 Exporting ET_WORKLIST_ATTR Call by reference Type reference (TYPE) TT_OUTB_ATTR 20130225
3 Importing IM_CATEGORY Call by reference Type reference (TYPE) CHAR1 Kategorie /Folder 20130220
4 Importing IM_STATUS_FILTER Call by reference Type reference (TYPE) T_STATUS_FILTER 20130220
5 Importing IM_TASK_FILTER Call by reference Type reference (TYPE) T_TASK_FILTER Range of WI Task 20130220
6 Importing IM_TIMESTAMP Call by reference Type reference (TYPE) SWFRCRETS UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20130220
7 Importing IM_USER Call by reference Type reference (TYPE) SYUNAME Benutzername 20130220
# Exception Resumable Description Created on
1 ERROR Fehler 20130220
2 NOT_AVAILABLE DB ist nicht verfügbar 20130220

Method GET_SWWLOGHIST_METHODS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_METHODS Value transfer Type reference (TYPE) SWFSTRTAB 20130326

Method GET_SWWLOGHIST_METHODS on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method GET_USE_SWWLOGHIST_FOR_SELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_USE_SWWLOGHIST Value transfer Type reference (TYPE) XFELD 20130326

Method GET_USE_SWWLOGHIST_FOR_SELECT on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method INSERT_DATABASE_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMMIT Call by reference Type reference (TYPE) XFLAG SPACE commit flag 20130215
2 Returning RE_RCODE Value transfer Type reference (TYPE) SYSUBRC Rückgabewert 20130222

Method INSERT_DATABASE_ENTRIES on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method IS_DATABASE_AVAILABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_DATABASE_AVAILABLE Value transfer Type reference (TYPE) XFELD Feld zum Ankreuzen 20130215

Method IS_DATABASE_AVAILABLE on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method IS_DATABASE_READY_FOR_USER 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 Benutzername 20130215
2 Returning RE_IS_READY Value transfer Type reference (TYPE) XFELD Feld zum Ankreuzen 20130215

Method IS_DATABASE_READY_FOR_USER on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method IS_MIGRATION_IN_PROCESS 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 20130326
2 Returning RE_IS_STARTED Value transfer Type reference (TYPE) XFLAG 20130326

Method IS_MIGRATION_IN_PROCESS on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method SET_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CATEGORY Call by reference Type reference (TYPE) CHAR1 20130220
2 Importing IM_TIMESTAMP Call by reference Type reference (TYPE) SWFRCRETS Workflow: Erzeugungs-Timestamp 20130220
3 Importing IM_WI_AAGENT Call by reference Type reference (TYPE) SWW_AAGENT 20130220
4 Importing IM_WI_ID Call by reference Type reference (TYPE) SWW_WIID 20130220
5 Importing IM_WI_RH_TASK Call by reference Type reference (TYPE) SWW_TASK 20130220
6 Importing IM_WI_TYPE Call by reference Type reference (TYPE) SWW_WITYPE 20130220

Method SET_ENTRY on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method SET_LOGHIST_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LOGHIST Call by reference Type reference (TYPE) SWWLOGHIST 20130225
2 Importing IM_TASK Call by reference Type reference (TYPE) SWW_TASK 20130326
3 Importing IM_WI_TYPE Call by reference Type reference (TYPE) SWW_WITYPE 20130326

Method SET_LOGHIST_ENTRY on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method SET_MIGRATION_CANCELLED 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 Benutzername 20130222
2 Returning RE_IS_READY Value transfer Type reference (TYPE) XFLAG neue Eingabewerte 20130222

Method SET_MIGRATION_CANCELLED on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method SET_MIGRATION_COMPLETED 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 Benutzername 20130220
2 Returning RE_IS_READY Value transfer Type reference (TYPE) XFLAG neue Eingabewerte 20130220

Method SET_MIGRATION_COMPLETED on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method SET_MIGRATION_IN_PROCESS 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 Benutzername 20130220
2 Returning RE_IS_READY Value transfer Type reference (TYPE) XFLAG neue Eingabewerte 20130220

Method SET_MIGRATION_IN_PROCESS on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method SET_MIGRATION_REGISTERED 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 20130327
2 Returning RE_IS_READY Value transfer Type reference (TYPE) XFLAG 20130327

Method SET_MIGRATION_REGISTERED on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.

Method _SELECT_WI_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WI Call by reference Type reference (TYPE) TT_WI_TSTP 20130220
2 Importing IM_CATEGORY Call by reference Type reference (TYPE) CHAR1 Einstelliges Kennzeichen 20130215
3 Importing IM_TASK_FILTER Call by reference Type reference (TYPE) T_TASK_FILTER Range of WI Task 20130215
4 Importing IM_TIMESTAMP Call by reference Type reference (TYPE) SWFRCRETS UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20130215
5 Importing IM_TYPE_FILTER Call by reference Type reference (TYPE) T_TYPE_FILTER Range of WI type 20130215
6 Importing IM_USER Call by reference Type reference (TYPE) SYUNAME Benutzername 20130215

Method _SELECT_WI_ID on class CL_SWF_RUN_OUTBOX_PERSISTENCE has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740