SWF_SDM_STATE
Workflow: SDM state
SWF_SDM_STATE is an SAP database table in S/4HANA. Workflow: SDM state. It contains 8 fields. 4 CDS views read from this table.
CDS Views using this table (4)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| SWF_SDM_SWF_FLEX_PROC | view | left_outer | Workflow: SWF_FLEX_PROC & SDM state | |
| SWF_SDM_SWF_FLEX_TDRAFT | view | left_outer | Workflow: SWF_FLEX_TDRAFT & SDM state | |
| swf_sdm_swf_flex_templat | view | left_outer | Workflow: SWF_FLEX_TEMPLAT & SDM state | |
| SWF_SDM_SWWWIHEAD | view | left_outer | Workflow: join SDM state to SWWWIHEAD |
Fields (8)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | client | mandt | Client | |||
| KEY | scenario_id | swd_wfd_id | Workflow definition | |||
| KEY | scenario_version | swd_versio | Version | |||
| KEY | wf_def_id | sysuuid_c | UUID | |||
| KEY | appl_obj_id | sibfboriid | Instance ID | |||
| KEY | wi_id | sww_wiid | Work Item ID | |||
| KEY | tablename | tabname | Table Name | |||
| sdm_state | swf_sdm_status | SDM State |
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.
-- Workflow: SDM state
-- Category TRANSPARENT · Delivery class S
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE SWF_SDM_STATE (
CLIENT, -- Client [mandt]
SCENARIO_ID, -- Workflow definition [swd_wfd_id]
SCENARIO_VERSION, -- Version [swd_versio]
WF_DEF_ID, -- UUID [sysuuid_c]
APPL_OBJ_ID, -- Instance ID [sibfboriid]
WI_ID, -- Work Item ID [sww_wiid]
TABLENAME, -- Table Name [tabname]
SDM_STATE, -- SDM State [swf_sdm_status]
PRIMARY KEY (CLIENT, SCENARIO_ID, SCENARIO_VERSION, WF_DEF_ID, APPL_OBJ_ID, WI_ID, TABLENAME)
);
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