SWF_CPWF_INST
CPWF Instance
SWF_CPWF_INST is an SAP database table in S/4HANA. CPWF Instance. It contains 20 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| R_CPWF_INST | view_entity | from | Cloud Platform Workflow Instances | |
| SWF_CPWF_MON_MAIN | view | from | Cloud Platform Workflow Instances |
Fields (20)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | client | mandt | Client | |||
| KEY | cp_wf_handle | swf_cpwf_handle | WF Handle ID | |||
| cp_wf_def_id | swf_cpwf_defid_long | Ext Workflow ID | ||||
| context | abap.rawstring | Start Context (data) | ||||
| cp_wf_id | swf_cpwf_runid | CPWF Instance ID | ||||
| callback_class | swf_cpwf_callback_class | Callback Class | ||||
| status | swf_cpwf_handle_state | CPWF Handle Status | ||||
| cp_wf_log | abap.rawstring | Workflow log | ||||
| operation | swf_cpwf_operation | Operation | ||||
| retry_counter | swf_cpwf_retry | Retry Counter | ||||
| bgrfc_unit_id | bgrfc_unit_id | Unit ID | ||||
| retention_time | swf_cpwf_retention | Retention In Days | ||||
| disposal_time | swf_cpwf_dispose_on | Dispose on | ||||
| created_by | swf_cpwf_crea_by | Created by | ||||
| last_changed_by | swf_cpwf_chng_by | Changed by | ||||
| crea_on | swf_cpwf_crea_on | Created on | ||||
| last_chng_on | swf_cpwf_chng_on | Changed on | ||||
| consumer | swf_cpwf_consumer | Consumer Type | ||||
| cp_wf_user_tasks | abap.rawstring | |||||
| outcome | swf_cpwf_workflow_outcome |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- CPWF Instance
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE SWF_CPWF_INST (
CLIENT, -- Client [mandt]
CP_WF_HANDLE, -- WF Handle ID [swf_cpwf_handle]
CP_WF_DEF_ID, -- Ext Workflow ID [swf_cpwf_defid_long]
CONTEXT, -- Start Context (data) [abap.rawstring]
CP_WF_ID, -- CPWF Instance ID [swf_cpwf_runid]
CALLBACK_CLASS, -- Callback Class [swf_cpwf_callback_class]
STATUS, -- CPWF Handle Status [swf_cpwf_handle_state]
CP_WF_LOG, -- Workflow log [abap.rawstring]
OPERATION, -- Operation [swf_cpwf_operation]
RETRY_COUNTER, -- Retry Counter [swf_cpwf_retry]
BGRFC_UNIT_ID, -- Unit ID [bgrfc_unit_id]
RETENTION_TIME, -- Retention In Days [swf_cpwf_retention]
DISPOSAL_TIME, -- Dispose on [swf_cpwf_dispose_on]
CREATED_BY, -- Created by [swf_cpwf_crea_by]
LAST_CHANGED_BY, -- Changed by [swf_cpwf_chng_by]
CREA_ON, -- Created on [swf_cpwf_crea_on]
LAST_CHNG_ON, -- Changed on [swf_cpwf_chng_on]
CONSUMER, -- Consumer Type [swf_cpwf_consumer]
CP_WF_USER_TASKS, -- abap.rawstring
OUTCOME, -- swf_cpwf_workflow_outcome
PRIMARY KEY (CLIENT, CP_WF_HANDLE)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA