SWF_CPWF_INST
CPWF Instance
SWF_CPWF_INST is an SAP database table in S/4HANA. CPWF Instance. It contains 19 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 (19)
| 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.rstr | |||||
| 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.rstr | |||||
| 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.rstr |
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, -- abap.rstr
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, -- abap.rstr
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.rstr
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