SAP ABAP Class CL_SWF_CNT_PX_CONTAINER (Workflow Container: WF 3.0-Compatible Persistence)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM (Application Component) SAP Business Workflow
     SWF_CNT (Package) Workflow: Container
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SWF_CNT_BASE_PERSISTENCE Container: Implementation of General XML Persistence 20001012
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SWF_CNT_MASS_DATA_HANDLING Mass Interface for Loading and Saving Containers 20050809
Properties
Class CL_SWF_CNT_PX_CONTAINER  
Short Description Workflow Container: WF 3.0-Compatible Persistence    
Super Class CL_SWF_CNT_BASE_PERSISTENCE Container: Implementation of General XML Persistence 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWF_CNT   Workflow: Container 
Created 20000706   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_SWF_CNT_FACTORY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 SWFCN Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SWFEX Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SWF_CNT_MASS_DATA_HANDLING Mass Interface for Loading and Saving Containers 20050809
Friends
Class CL_SWF_CNT_PX_CONTAINER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 M_CONTOB_BI Instance attribute Protected Type reference (TYPE) SWW_CONT_KEY_TAB 20110914
2 M_CONTOB_LINES Instance attribute Protected Type reference (TYPE) SYTABIX -1 Number of Rows in SWW_CONTOB 20110914
3 M_CONT_BI Instance attribute Protected Type reference (TYPE) SWW_CONT_KEY_TAB 20110914
4 M_CONT_LINES Instance attribute Protected Type reference (TYPE) SYTABIX -1 Number of Rows in SWW_CONT 20110914
5 M_EVT_EVENT Instance attribute Private Type reference (TYPE) SWO_EVENT In Wait Steps: Name of Event 20031204
6 M_EVT_OBJECT Instance attribute Private Type reference (TYPE) SIBFOTYPE In Wait Steps: Type of Triggering Object 20031204
7 M_WFD_KEY Instance attribute Protected Type reference (TYPE) SWD_WFDKEY Key Structure for All Workflow Definition Tables 20010620
8 M_WI_ID Instance attribute Protected Type reference (TYPE) SWW_WIID Work Item ID 20010620
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_CONTOB_DATA Static method Private Method Transfer data in SWW_CONTOB format to BOR container 20050809
2 CONSTRUCTOR Instance method Public Constructor Constructor 20001012
3 CREATE_WF_CONTAINER_GUID Static method Public Method Generates a GUID from WI-ID and WFDKEY 20000706
4 GET_WFD_KEY Instance method Public Method Delivers Workflow Definition Key (Using WI Header) 20000706
5 GET_WI_ID Instance method Public Method Delivers Work Item ID (from Container BUS_KEY) 20000706
6 INSERT_VALUES Instance method Private Method 20110914
7 INSTANTIATE_CONTAINER Static method Private Method Instantiation of a Container 20050809
8 INSTANTIATE_OBJ_CONTAINERS Static method Private Method Instantiate Multiple Containers Only Containing Objects 20050809
9 UPDATE_SWWCONT Instance method Private Method 20110914
10 UPDATE_SWWCONTOB Instance method Private Method 20110914
11 _CONTAINER_READ_VALUES Instance method Protected Method Internal Read Routine 20000829
12 _CONTAINER_WRITE_VALUES Instance method Protected Method Internal Update/Insert Routine 20000829
13 _LOG_WRITE_EXCEPTION Instance method Protected Method Internal Routine for Writing the Log 20000829
Events
Class CL_SWF_CNT_PX_CONTAINER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 KEYMAPPING Protected See coding Hast Table for Container Keys 20050809 keymapping TYPE HASHED TABLE OF swf_cnt_wi_keystruct WITH UNIQUE KEY wi_id
2 SWF_CNTKEY Protected See coding SWF_CNTKEY 20000831 BEGIN OF swf_cntkey, wi_id TYPE sww_wiid, wfd_key TYPE swd_wfdkey, END OF swf_cntkey
3 SWW_CONT_KEY Protected See coding 20110914 begin of sww_cont_key, wi_id type sww_wiid, element type swc_elem, tab_index type swc_index, end of sww_cont_key
4 SWW_CONT_KEY_TAB Protected See coding 20110914 sww_cont_key_tab type standard table of sww_cont_key
Method Signatures

Method APPEND_CONTOB_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CONTAINER Call by reference Type reference (TYPE) SWCONTTAB Workflow: Tabelle mit SWW_CONT Einträgen 20050809
2 Importing CONTOB_DATA Call by reference Type reference (TYPE) SWWTCONTOB Workflow Runtime: Workitem-Datencontainer (nur Objekte) 20050809
3 Changing CONTOB_INDEX Call by reference Type reference (TYPE) INT4 Aktueller Leseindex für CONTOB-Tabelle 20050809
4 Importing CURRENT_KEY Call by reference Type reference (TYPE) SWW_WIID Schlüssel, zu dem die Objekte zu lesen sind 20050812

Method APPEND_CONTOB_DATA on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_SWF_CNT_PX_CONTAINER has no parameter.
Method CONSTRUCTOR on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method CREATE_WF_CONTAINER_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning GUID Value transfer Type reference (TYPE) GUID_32 GUID im 'CHAR' Format in Großschreibung 20000706
2 Importing WFD_KEY Call by reference Type reference (TYPE) SWD_WFDKEY Workflow-Definition: Keystruktur fuer alle DB-Tabellen 20000706
3 Importing WI_ID Call by reference Type reference (TYPE) SWW_WIID Workitem-Kennung 20000706

Method CREATE_WF_CONTAINER_GUID on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method GET_WFD_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning WFD_KEY Value transfer Type reference (TYPE) SWD_WFDKEY Workflow definition 20000706

Method GET_WFD_KEY on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method GET_WI_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning WI_ID Value transfer Type reference (TYPE) SWW_WIID Workitem ID 20000706

Method GET_WI_ID on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method INSERT_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DO_COMMIT Call by reference Type reference (TYPE) XFELD 20110914
2 Importing IM_SWW_CONT Call by reference Type reference (TYPE) SWWTCONT 20110914
3 Importing IM_SWW_CONTOB Call by reference Type reference (TYPE) SWWTCONTOB 20110914
4 Returning RE_RETCOD Value transfer Type reference (TYPE) SYSUBRC 20110914

Method INSERT_VALUES on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method INSTANTIATE_CONTAINER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTAINER Call by reference Type reference (TYPE) SWCONTTAB Tabellendaten im DB-Format, sortiert, keine Doubletten 20050809
2 Importing CONT_ID Call by reference Type reference (TYPE) SWW_WIID Workitem-Kennung 20050809
3 Changing ERROR_LIST Call by reference Type reference (TYPE) SWF_UTL_EXCP_TAB Liste der aufgetretenen Ausnahmen (IF_SWF_IFS_EXCEPTION) 20050809
4 Exporting ERROR_OCCURED Call by reference Type reference (TYPE) XFLAG 'X' - Instanz konnte nicht erzeugt werden 20050809
5 Changing INSTANCE_LIST Call by reference Type reference (TYPE) SWF_UTL_OBJECT_LIST Liste der instanzierten Objektinstanzen 20050809
6 Importing KEYMAP Call by reference Type reference (TYPE) KEYMAPPING Liste der Objektschlüssel 20050809

Method INSTANTIATE_CONTAINER on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method INSTANTIATE_OBJ_CONTAINERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CONTOB_LINE_INDEX Call by reference Type reference (TYPE) I Aktueller Zeilenindex für SWW_CONTOB 20050809
2 Importing CONTOB_MAX_LINE_INDEX Call by reference Type reference (TYPE) I 0 Maximaler Index 20050809
3 Importing CONTOB_STOP_KEY Call by reference Type reference (TYPE) SWW_WIID Index, über den nicht hinausgelesen werden darf 20050809
4 Importing CONTOB_TAB Call by reference Type reference (TYPE) SWWTCONTOB SWW_CONTOB-Daten 20050809
5 Changing ERROR_LIST Call by reference Type reference (TYPE) SWF_UTL_EXCP_TAB Liste der aufgetretenen Ausnahmen (IF_SWF_IFS_EXCEPTION) 20050809
6 Changing INSTANCE_LIST Call by reference Type reference (TYPE) SWF_UTL_OBJECT_LIST Liste der instanzierten Objektinstanzen 20050809
7 Importing KEYMAP Call by reference Type reference (TYPE) KEYMAPPING Liste der Objektschlüssel 20050809
8 Importing QUIT_ON_FIRST_ERROR Call by reference Type reference (TYPE) XFLAG 'X' - Beim ersten Fehler die Verarbeitung abbrechen 20050809

Method INSTANTIATE_OBJ_CONTAINERS on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method UPDATE_SWWCONT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DO_COMMIT Call by reference Type reference (TYPE) XFELD 20110914
2 Importing IM_SWW_CONT Call by reference Type reference (TYPE) SWWTCONT 20110914
3 Importing IM_SWW_CONT_KEY Call by reference Type reference (TYPE) SWW_CONT_KEY_TAB 20110914
4 Returning RE_RETCOD Value transfer Type reference (TYPE) SYSUBRC 20110914

Method UPDATE_SWWCONT on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method UPDATE_SWWCONTOB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DO_COMMIT Call by reference Type reference (TYPE) XFELD 20110914
2 Importing IM_SWW_CONTOB Call by reference Type reference (TYPE) SWWTCONTOB 20110914
3 Importing IM_SWW_CONTOB_KEY Call by reference Type reference (TYPE) SWW_CONT_KEY_TAB 20110914
4 Returning RE_RETCOD Value transfer Type reference (TYPE) SYSUBRC 20110914

Method UPDATE_SWWCONTOB on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method _CONTAINER_READ_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing READ_FOR_UPDATE Call by reference Type reference (TYPE) XFLAG SPACE Lesen mit Sperre 20000829
2 Exporting RETCODE Call by reference Type reference (TYPE) SYSUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen 20000829
3 Exporting T_CONTAINER Call by reference Type reference (TYPE) SWCONTTAB Container-Tabelle 20000829
4 Importing WI_ID Call by reference Type reference (TYPE) SWW_WIID Workitem-Kennung 20000829

Method _CONTAINER_READ_VALUES on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method _CONTAINER_WRITE_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DO_COMMIT Call by reference Type reference (TYPE) XFLAG SPACE commit work 20000829
2 Importing MODE Call by reference Type reference (TYPE) SWF_SAVMOD insert /update 20000829
3 Returning RETCODE Value transfer Type reference (TYPE) SYSUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen 20000829
4 Importing T_CONTAINER Value transfer Type reference (TYPE) SWCONTTAB Container-Tabelle 20000829
5 Importing WI_ID Call by reference Type reference (TYPE) SWW_WIID Workitem-Kennung 20000829

Method _CONTAINER_WRITE_VALUES on class CL_SWF_CNT_PX_CONTAINER has no exception.

Method _LOG_WRITE_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DO_COMMIT Call by reference Type reference (TYPE) XFLAG SPACE db commit 20000829
2 Importing FB_NAME Call by reference Type reference (TYPE) FUNCNAME Funktionsname 20000829
3 Importing MSGNO Call by reference Type reference (TYPE) C 20000829
4 Importing RETCODE Call by reference Type reference (TYPE) SYSUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen 20000829

Method _LOG_WRITE_EXCEPTION on class CL_SWF_CNT_PX_CONTAINER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 610