GSEG_W_OT_DS
Segmentation Object Data Source
GSEG_W_OT_DS is an SAP database table in S/4HANA. Segmentation Object Data Source. It contains 11 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| CDS_GSEG_OT_KEY | view_entity | left_outer | Segmentation Objects with Keys |
Fields (11)
| Key | Field | Data Element | Description |
|---|---|---|---|
| KEY | ot_id | GSEG_V_OBJ_TYPE | Segm. Object |
| KEY | appl_id | GSEG_V_APPL_ID | Application ID |
| KEY | version | GSEG_V_MD_VERSION | Meta Data Version |
| KEY | ds_alias | GSEG_V_DS_ALIAS | DS Alias |
| layer | GSEG_V_MD_LAYER | Meta Data Layer | |
| ds_seq | GSEG_V_OT_DS_SEQUENCE | Sequence | |
| ds_sync | GSEG_V_LAST_SYNC | Last Synch. | |
| ds_default | GSEG_V_DEFAULT_DS_ALIAS | Default D. S. Alias | |
| lcs | GSEG_V_MD_LCS | State | |
| lmi | GSEG_V_LMI | Change Indicator for Layers | |
| sw_release | GSEG_V_MD_SW_RELEASE | Software Release |
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.
-- Segmentation Object Data Source
-- Category TRANSPARENT · Delivery class W
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE GSEG_W_OT_DS (
OT_ID, -- Segm. Object [GSEG_V_OBJ_TYPE]
APPL_ID, -- Application ID [GSEG_V_APPL_ID]
VERSION, -- Meta Data Version [GSEG_V_MD_VERSION]
DS_ALIAS, -- DS Alias [GSEG_V_DS_ALIAS]
LAYER, -- Meta Data Layer [GSEG_V_MD_LAYER]
DS_SEQ, -- Sequence [GSEG_V_OT_DS_SEQUENCE]
DS_SYNC, -- Last Synch. [GSEG_V_LAST_SYNC]
DS_DEFAULT, -- Default D. S. Alias [GSEG_V_DEFAULT_DS_ALIAS]
LCS, -- State [GSEG_V_MD_LCS]
LMI, -- Change Indicator for Layers [GSEG_V_LMI]
SW_RELEASE, -- Software Release [GSEG_V_MD_SW_RELEASE]
PRIMARY KEY (OT_ID, APPL_ID, VERSION, DS_ALIAS)
);
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