GSEG_W_DS
Segmentation Data Source
GSEG_W_DS is an SAP database table in S/4HANA. Segmentation 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_w_ds_all | view_entity | from | Union of all segmentation data sources |
Fields (11)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | ds_alias | gseg_v_ds_alias | ||||
| KEY | appl_id | gseg_v_appl_id | ||||
| KEY | version | gseg_v_md_version | ||||
| layer | gseg_v_md_layer | |||||
| created_by | syuname | User Name | ||||
| created_at | timestampl | Time Stamp | ||||
| last_changed_by | syuname | User Name | ||||
| last_changed_at | timestampl | Time Stamp | ||||
| ds_path | gseg_v_ds_path_db | |||||
| lmi | gseg_v_lmi | |||||
| sw_release | gseg_v_md_sw_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 Data Source
-- Category TRANSPARENT · Delivery class W
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE GSEG_W_DS (
DS_ALIAS, -- gseg_v_ds_alias
APPL_ID, -- gseg_v_appl_id
VERSION, -- gseg_v_md_version
LAYER, -- gseg_v_md_layer
CREATED_BY, -- User Name [syuname]
CREATED_AT, -- Time Stamp [timestampl]
LAST_CHANGED_BY, -- User Name [syuname]
LAST_CHANGED_AT, -- Time Stamp [timestampl]
DS_PATH, -- gseg_v_ds_path_db
LMI, -- gseg_v_lmi
SW_RELEASE, -- gseg_v_md_sw_release
PRIMARY KEY (DS_ALIAS, APPL_ID, VERSION)
);
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