GSEG_OT_DS
Segmentation Object Data Source
GSEG_OT_DS is an SAP database table in S/4HANA. Segmentation Object Data Source. It contains 8 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| cds_gseg_ot_ds_at | view_entity | left_outer | Segm. Objects and Attributes with Labels |
Fields (8)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | client | MANDT | Client | |||
| KEY | appl_id | GSEG_V_APPL_ID | Application ID | |||
| KEY | ot_id | GSEG_V_OBJ_TYPE | Segm. Object | |||
| KEY | ds_alias | GSEG_V_DS_ALIAS | DS Alias | |||
| 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 |
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 L
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE GSEG_OT_DS (
CLIENT, -- Client [MANDT]
APPL_ID, -- Application ID [GSEG_V_APPL_ID]
OT_ID, -- Segm. Object [GSEG_V_OBJ_TYPE]
DS_ALIAS, -- DS Alias [GSEG_V_DS_ALIAS]
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]
PRIMARY KEY (CLIENT, APPL_ID, OT_ID, 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