GSEG_OT_KEY
Segmentation Object Key
GSEG_OT_KEY is an SAP database table in S/4HANA. Segmentation Object Key. It contains 10 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 (10)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | client | mandt | Client | |||
| KEY | appl_id | gseg_v_appl_id | ||||
| KEY | ot_id | gseg_v_obj_type | ||||
| KEY | ot_key | gseg_v_ot_key_name | ||||
| ot_key_data_type | gseg_v_ot_key_data_type | |||||
| ot_key_len | gseg_v_ot_key_len | |||||
| ot_key_dec | gseg_v_ot_key_dec | |||||
| ot_key_derived | gseg_v_ot_key_derived | |||||
| ot_key_sem_type | gseg_v_sem_type_ot_key | |||||
| ot_key_business_object | hpa_generic_object_type |
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 Key
-- Category TRANSPARENT · Delivery class G
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE GSEG_OT_KEY (
CLIENT, -- Client [mandt]
APPL_ID, -- gseg_v_appl_id
OT_ID, -- gseg_v_obj_type
OT_KEY, -- gseg_v_ot_key_name
OT_KEY_DATA_TYPE, -- gseg_v_ot_key_data_type
OT_KEY_LEN, -- gseg_v_ot_key_len
OT_KEY_DEC, -- gseg_v_ot_key_dec
OT_KEY_DERIVED, -- gseg_v_ot_key_derived
OT_KEY_SEM_TYPE, -- gseg_v_sem_type_ot_key
OT_KEY_BUSINESS_OBJECT, -- hpa_generic_object_type
PRIMARY KEY (CLIENT, APPL_ID, OT_ID, OT_KEY)
);
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