/UCOM/C_MCM_Master_Data
Instance Master Data
/UCOM/C_MCM_Master_Data is a Consumption CDS View that provides data about "Instance Master Data" in SAP S/4HANA. It reads from 1 data source (/UCOM/C_MCM_Inst_Pod_Rel) and exposes 8 fields with key fields InstanceGuid, InternalPoD, ParentPod. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /UCOM/C_MCM_Inst_Pod_Rel | /UCOM/C_MCM_Inst_Pod_Rel | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | /APEU/I_MCM_Inst_Data | _InstData | _InstData.INSTANCE_GUID = $projection.InstanceGuid and _InstData.POD_ID = $projection.PoD |
| [0..1] | /UCOM/C_MCM_Connobj_VH | _ConnObj | _ConnObj.UtilitiesConnectionObject = $projection.ConnectionObject |
| [0..1] | /UCOM/C_MCM_Premise_VH | _Premise | _Premise.UtilitiesPremise = $projection.UtilitiesPremise |
| [1..*] | /UCOM/C_MCM_Inst_Meas | _InstMeas | _InstMeas.InstanceGuid = $projection.InstanceGuid and _InstMeas.PodId = $projection.PoD |
| [0..*] | /UCOM/C_MCM_Device | _Device | _Device.InstanceGuid = $projection.InstanceGuid and _Device.PodId = $projection.PoD |
| [0..*] | /UCOM/C_MCM_FORMULA | _Formula | _Formula.InstanceGuid = $projection.InstanceGuid and _Formula.PointOfDelivery = $projection.PoD |
| [0..*] | /UCOM/C_MCM_ACTORS | _Actors | _Actors.InstanceGuid = $projection.InstanceGuid and _Actors.PointOfDelivery = $projection.PoD |
| [0..*] | /UCOM/C_MCM_POD_SERVICE_DETAIL | _PoDService | _PoDService.UtilsExternalPointOfDelivery = $projection.PoD and ( _PoDService.ServiceStartDate <= $projection.ValidTo and _PoDService.ServiceEndDate >= $projection.ValidFrom ) |
| [1..1] | /UCOM/I_UTILSINSTLN | _UtilsInstln | _UtilsInstln.INSTANCE_GUID = $projection.InstanceGuid and _UtilsInstln.POD_ID = $projection.PoD |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Instance Master Data | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InstanceGuid | InstanceGuid | ||
| KEY | InternalPoD | InternalPoD | ||
| KEY | ParentPod | ParentPod | ||
| PoD | PoD | Point of Delivery | ||
| LocCatDesc | LocCatDesc | Type | ||
| LocClassId | LocClassId | |||
| DirectionDescription | DirectionDescription | Direction | ||
| LocClassDesc | LocClassDesc | Location Classification |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view /UCOM/C_MCM_Master_Data.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: /UCOM/CMASTDAT
CREATE VIEW /UCOM/C_MCM_Master_Data AS
SELECT
InstanceGuid,
InternalPoD,
ParentPod,
PoD,
LocCatDesc,
LocClassId,
DirectionDescription,
LocClassDesc
FROM /UCOM/C_MCM_Inst_Pod_Rel
LEFT OUTER JOIN /APEU/I_MCM_Inst_Data AS _InstData ON _InstData.INSTANCE_GUID = InstanceGuid AND _InstData.POD_ID = PoD -- association [1..1]
LEFT OUTER JOIN /UCOM/C_MCM_Connobj_VH AS _ConnObj ON _ConnObj.UtilitiesConnectionObject = ConnectionObject -- association [0..1]
LEFT OUTER JOIN /UCOM/C_MCM_Premise_VH AS _Premise ON _Premise.UtilitiesPremise = UtilitiesPremise -- association [0..1]
LEFT OUTER JOIN /UCOM/C_MCM_Inst_Meas AS _InstMeas ON _InstMeas.InstanceGuid = InstanceGuid AND _InstMeas.PodId = PoD -- association [1..*]
LEFT OUTER JOIN /UCOM/C_MCM_Device AS _Device ON _Device.InstanceGuid = InstanceGuid AND _Device.PodId = PoD -- association [0..*]
LEFT OUTER JOIN /UCOM/C_MCM_FORMULA AS _Formula ON _Formula.InstanceGuid = InstanceGuid AND _Formula.PointOfDelivery = PoD -- association [0..*]
LEFT OUTER JOIN /UCOM/C_MCM_ACTORS AS _Actors ON _Actors.InstanceGuid = InstanceGuid AND _Actors.PointOfDelivery = PoD -- association [0..*]
LEFT OUTER JOIN /UCOM/C_MCM_POD_SERVICE_DETAIL AS _PoDService ON _PoDService.UtilsExternalPointOfDelivery = PoD AND ( _PoDService.ServiceStartDate <= ValidTo AND _PoDService.ServiceEndDate >= ValidFrom ) -- association [0..*]
LEFT OUTER JOIN /UCOM/I_UTILSINSTLN AS _UtilsInstln ON _UtilsInstln.INSTANCE_GUID = InstanceGuid AND _UtilsInstln.POD_ID = PoD -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- 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
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA