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 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | 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 | Instance attribute | Protected | Type reference (TYPE) | SWW_CONT_KEY_TAB | 20110914 | ||||
| 2 | Instance attribute | Protected | Type reference (TYPE) | SYTABIX | -1 | Number of Rows in SWW_CONTOB | 20110914 | ||
| 3 | Instance attribute | Protected | Type reference (TYPE) | SWW_CONT_KEY_TAB | 20110914 | ||||
| 4 | Instance attribute | Protected | Type reference (TYPE) | SYTABIX | -1 | Number of Rows in SWW_CONT | 20110914 | ||
| 5 | Instance attribute | Private | Type reference (TYPE) | SWO_EVENT | In Wait Steps: Name of Event | 20031204 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | SIBFOTYPE | In Wait Steps: Type of Triggering Object | 20031204 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | SWD_WFDKEY | Key Structure for All Workflow Definition Tables | 20010620 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | SWW_WIID | Work Item ID | 20010620 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Transfer data in SWW_CONTOB format to BOR container | 20050809 | |
| 2 | Instance method | Public | Constructor | Constructor | 20001012 | |
| 3 | Static method | Public | Method | Generates a GUID from WI-ID and WFDKEY | 20000706 | |
| 4 | Instance method | Public | Method | Delivers Workflow Definition Key (Using WI Header) | 20000706 | |
| 5 | Instance method | Public | Method | Delivers Work Item ID (from Container BUS_KEY) | 20000706 | |
| 6 | Instance method | Private | Method | 20110914 | ||
| 7 | Static method | Private | Method | Instantiation of a Container | 20050809 | |
| 8 | Static method | Private | Method | Instantiate Multiple Containers Only Containing Objects | 20050809 | |
| 9 | Instance method | Private | Method | 20110914 | ||
| 10 | Instance method | Private | Method | 20110914 | ||
| 11 | Instance method | Protected | Method | Internal Read Routine | 20000829 | |
| 12 | Instance method | Protected | Method | Internal Update/Insert Routine | 20000829 | |
| 13 | 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 | CONTAINER | Call by reference | Type reference (TYPE) | SWCONTTAB | Workflow: Tabelle mit SWW_CONT Einträgen | 20050809 | |||
| 2 | CONTOB_DATA | Call by reference | Type reference (TYPE) | SWWTCONTOB | Workflow Runtime: Workitem-Datencontainer (nur Objekte) | 20050809 | |||
| 3 | CONTOB_INDEX | Call by reference | Type reference (TYPE) | INT4 | Aktueller Leseindex für CONTOB-Tabelle | 20050809 | |||
| 4 | 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 | GUID | Value transfer | Type reference (TYPE) | GUID_32 | GUID im 'CHAR' Format in Großschreibung | 20000706 | |||
| 2 | WFD_KEY | Call by reference | Type reference (TYPE) | SWD_WFDKEY | Workflow-Definition: Keystruktur fuer alle DB-Tabellen | 20000706 | |||
| 3 | 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 | 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 | 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 | DO_COMMIT | Call by reference | Type reference (TYPE) | XFELD | 20110914 | ||||
| 2 | IM_SWW_CONT | Call by reference | Type reference (TYPE) | SWWTCONT | 20110914 | ||||
| 3 | IM_SWW_CONTOB | Call by reference | Type reference (TYPE) | SWWTCONTOB | 20110914 | ||||
| 4 | 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 | CONTAINER | Call by reference | Type reference (TYPE) | SWCONTTAB | Tabellendaten im DB-Format, sortiert, keine Doubletten | 20050809 | |||
| 2 | CONT_ID | Call by reference | Type reference (TYPE) | SWW_WIID | Workitem-Kennung | 20050809 | |||
| 3 | ERROR_LIST | Call by reference | Type reference (TYPE) | SWF_UTL_EXCP_TAB | Liste der aufgetretenen Ausnahmen (IF_SWF_IFS_EXCEPTION) | 20050809 | |||
| 4 | ERROR_OCCURED | Call by reference | Type reference (TYPE) | XFLAG | 'X' - Instanz konnte nicht erzeugt werden | 20050809 | |||
| 5 | INSTANCE_LIST | Call by reference | Type reference (TYPE) | SWF_UTL_OBJECT_LIST | Liste der instanzierten Objektinstanzen | 20050809 | |||
| 6 | 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 | CONTOB_LINE_INDEX | Call by reference | Type reference (TYPE) | I | Aktueller Zeilenindex für SWW_CONTOB | 20050809 | |||
| 2 | CONTOB_MAX_LINE_INDEX | Call by reference | Type reference (TYPE) | I | 0 | Maximaler Index | 20050809 | ||
| 3 | CONTOB_STOP_KEY | Call by reference | Type reference (TYPE) | SWW_WIID | Index, über den nicht hinausgelesen werden darf | 20050809 | |||
| 4 | CONTOB_TAB | Call by reference | Type reference (TYPE) | SWWTCONTOB | SWW_CONTOB-Daten | 20050809 | |||
| 5 | ERROR_LIST | Call by reference | Type reference (TYPE) | SWF_UTL_EXCP_TAB | Liste der aufgetretenen Ausnahmen (IF_SWF_IFS_EXCEPTION) | 20050809 | |||
| 6 | INSTANCE_LIST | Call by reference | Type reference (TYPE) | SWF_UTL_OBJECT_LIST | Liste der instanzierten Objektinstanzen | 20050809 | |||
| 7 | KEYMAP | Call by reference | Type reference (TYPE) | KEYMAPPING | Liste der Objektschlüssel | 20050809 | |||
| 8 | 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 | DO_COMMIT | Call by reference | Type reference (TYPE) | XFELD | 20110914 | ||||
| 2 | IM_SWW_CONT | Call by reference | Type reference (TYPE) | SWWTCONT | 20110914 | ||||
| 3 | IM_SWW_CONT_KEY | Call by reference | Type reference (TYPE) | SWW_CONT_KEY_TAB | 20110914 | ||||
| 4 | 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 | DO_COMMIT | Call by reference | Type reference (TYPE) | XFELD | 20110914 | ||||
| 2 | IM_SWW_CONTOB | Call by reference | Type reference (TYPE) | SWWTCONTOB | 20110914 | ||||
| 3 | IM_SWW_CONTOB_KEY | Call by reference | Type reference (TYPE) | SWW_CONT_KEY_TAB | 20110914 | ||||
| 4 | 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 | READ_FOR_UPDATE | Call by reference | Type reference (TYPE) | XFLAG | SPACE | Lesen mit Sperre | 20000829 | ||
| 2 | RETCODE | Call by reference | Type reference (TYPE) | SYSUBRC | Rückgabewert, Rückgabewert nach ABAP-Anweisungen | 20000829 | |||
| 3 | T_CONTAINER | Call by reference | Type reference (TYPE) | SWCONTTAB | Container-Tabelle | 20000829 | |||
| 4 | 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 | DO_COMMIT | Call by reference | Type reference (TYPE) | XFLAG | SPACE | commit work | 20000829 | ||
| 2 | MODE | Call by reference | Type reference (TYPE) | SWF_SAVMOD | insert /update | 20000829 | |||
| 3 | RETCODE | Value transfer | Type reference (TYPE) | SYSUBRC | Rückgabewert, Rückgabewert nach ABAP-Anweisungen | 20000829 | |||
| 4 | T_CONTAINER | Value transfer | Type reference (TYPE) | SWCONTTAB | Container-Tabelle | 20000829 | |||
| 5 | 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 | DO_COMMIT | Call by reference | Type reference (TYPE) | XFLAG | SPACE | db commit | 20000829 | ||
| 2 | FB_NAME | Call by reference | Type reference (TYPE) | FUNCNAME | Funktionsname | 20000829 | |||
| 3 | MSGNO | Call by reference | Type reference (TYPE) | C | 20000829 | ||||
| 4 | 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 |