SWF_FLEX_PROC
Process definition
SWF_FLEX_PROC is an SAP database table in S/4HANA. Process definition. It contains 17 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| SWF_FLEX_I_PROC | view | from | SWF_FLEX_PROC - Subject Search View | |
| SWF_FLEX_I_SCEN_VERSION_USAGE | view | left_outer | Flexible Workflow Scenario Version Usage | |
| SWF_SDM_SWF_FLEX_PROC | view | from | Workflow: SWF_FLEX_PROC & SDM state |
Fields (17)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | client | mandt | Client | |||
| KEY | id | sysuuid_c | UUID | |||
| scenario_id | swd_wfd_id | Workflow definition | ||||
| scenario_version | swd_versio | Version | ||||
| subject | swf_flex_subject | Subject | ||||
| valid_from | timestamp | Time Stamp | ||||
| valid_to | timestamp | Time Stamp | ||||
| stream | abap.rawstring | Process Definition as XML resource | ||||
| format_version | char16 | Field of length 16 | ||||
| status | swf_flex_workflow_status | Flexible Workflow Status | ||||
| predelivered | swf_flex_predelivered | PredelivereRead Only | ||||
| read_only | swf_flex_readonly | Read Only | ||||
| logically_deleted | boolean | Boolean Variable (X = True, - = False, Space = Unknown) | ||||
| langu | langu | Language | ||||
| transported | swf_flex_transported | Transport Flag | ||||
| scenario_uuid | swd_orig_id | Original ID | ||||
| has_review_flow | boolean | Boolean Variable (X = True, - = False, Space = Unknown) |
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.
-- Process definition
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE SWF_FLEX_PROC (
CLIENT, -- Client [mandt]
ID, -- UUID [sysuuid_c]
SCENARIO_ID, -- Workflow definition [swd_wfd_id]
SCENARIO_VERSION, -- Version [swd_versio]
SUBJECT, -- Subject [swf_flex_subject]
VALID_FROM, -- Time Stamp [timestamp]
VALID_TO, -- Time Stamp [timestamp]
STREAM, -- Process Definition as XML resource [abap.rawstring]
FORMAT_VERSION, -- Field of length 16 [char16]
STATUS, -- Flexible Workflow Status [swf_flex_workflow_status]
PREDELIVERED, -- PredelivereRead Only [swf_flex_predelivered]
READ_ONLY, -- Read Only [swf_flex_readonly]
LOGICALLY_DELETED, -- Boolean Variable (X = True, - = False, Space = Unknown) [boolean]
LANGU, -- Language [langu]
TRANSPORTED, -- Transport Flag [swf_flex_transported]
SCENARIO_UUID, -- Original ID [swd_orig_id]
HAS_REVIEW_FLOW, -- Boolean Variable (X = True, - = False, Space = Unknown) [boolean]
PRIMARY KEY (CLIENT, ID)
);
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