SHDM_RELATION_D
HDM Relation Draft
SHDM_RELATION_D is an SAP database table in S/4HANA. HDM Relation Draft. It contains 18 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| R_HDMRELATION_DRAFT | view_entity | from | BASIC | HDM Relation - Draft |
Fields (18)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | MANDT | Client | |||
| KEY | sapobjectnodetype | SHDM_SAPOBJECTNODETYPE | SAP Obj Node Type | |||
| KEY | linkedsapobjectkey | SHDM_LINKEDSAPOBJECTKEY | Linkd SAP Obj Key | |||
| KEY | baseobjecttype | SHDM_BASEOBJECTTYPE | Base Obj Type | |||
| KEY | baseobjectkey | SHDM_BASEOBJECTKEY | Base Obj Key | |||
| KEY | draftuuid | SHDM_DRAFTUUID | Draft Document ID | |||
| hrmnzddocdraftuuid | SHDM_DRAFTUUID | Draft Document ID | ||||
| hdmrelationislocked | SHDM_RELATIONSHIPSTATUS | Relshp Sts | ||||
| createdbyusername | SHDM_CREATEDBY | Created By | ||||
| hdmcreatedatdatetime | TIMESTAMPL | Time Stamp | ||||
| changedbyusername | SHDM_CHANGEDBY | Modified By | ||||
| hdmchangedatdatetime | TIMESTAMPL | Time Stamp | ||||
| draftentitycreationdatetime | SYCH_BDL_DRAFT_CREATED_AT | Draft Created | ||||
| draftentitylastchangedatetime | SYCH_BDL_DRAFT_LAST_CHANGED_AT | Draft Changed | ||||
| draftadministrativedatauuid | SYCH_BDL_DRAFT_ADMIN_UUID | Admin. UUID | ||||
| draftentityoperationcode | SYCH_BDL_DRAFT_OPERATION_CODE | Operation Code | ||||
| hasactiveentity | SYCH_BDL_DRAFT_HASACTIVE | Has active | ||||
| draftfieldchanges | SYCH_BDL_DRAFT_FIELD_CHANGES | Draft Changes |
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.
-- HDM Relation Draft
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE SHDM_RELATION_D (
MANDT, -- Client [MANDT]
SAPOBJECTNODETYPE, -- SAP Obj Node Type [SHDM_SAPOBJECTNODETYPE]
LINKEDSAPOBJECTKEY, -- Linkd SAP Obj Key [SHDM_LINKEDSAPOBJECTKEY]
BASEOBJECTTYPE, -- Base Obj Type [SHDM_BASEOBJECTTYPE]
BASEOBJECTKEY, -- Base Obj Key [SHDM_BASEOBJECTKEY]
DRAFTUUID, -- Draft Document ID [SHDM_DRAFTUUID]
HRMNZDDOCDRAFTUUID, -- Draft Document ID [SHDM_DRAFTUUID]
HDMRELATIONISLOCKED, -- Relshp Sts [SHDM_RELATIONSHIPSTATUS]
CREATEDBYUSERNAME, -- Created By [SHDM_CREATEDBY]
HDMCREATEDATDATETIME, -- Time Stamp [TIMESTAMPL]
CHANGEDBYUSERNAME, -- Modified By [SHDM_CHANGEDBY]
HDMCHANGEDATDATETIME, -- Time Stamp [TIMESTAMPL]
DRAFTENTITYCREATIONDATETIME, -- Draft Created [SYCH_BDL_DRAFT_CREATED_AT]
DRAFTENTITYLASTCHANGEDATETIME, -- Draft Changed [SYCH_BDL_DRAFT_LAST_CHANGED_AT]
DRAFTADMINISTRATIVEDATAUUID, -- Admin. UUID [SYCH_BDL_DRAFT_ADMIN_UUID]
DRAFTENTITYOPERATIONCODE, -- Operation Code [SYCH_BDL_DRAFT_OPERATION_CODE]
HASACTIVEENTITY, -- Has active [SYCH_BDL_DRAFT_HASACTIVE]
DRAFTFIELDCHANGES, -- Draft Changes [SYCH_BDL_DRAFT_FIELD_CHANGES]
PRIMARY KEY (MANDT, SAPOBJECTNODETYPE, LINKEDSAPOBJECTKEY, BASEOBJECTTYPE, BASEOBJECTKEY, DRAFTUUID)
);
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