C_MassMaintCapWrkCtrGrpUsage

DDL: C_MASSMAINTCAPWRKCTRGRPUSAGE Type: view_entity CONSUMPTION

Work center group where used

C_MassMaintCapWrkCtrGrpUsage is a Consumption CDS View that provides data about "Work center group where used" in SAP S/4HANA. It reads from 1 data source (I_WorkCenterCapacity) and exposes 5 fields with key fields CapacityInternalID, WorkCenterGroupTypeCode, WorkCenterGroupInternalID, WorkCenterGroup, WorkCenterGroupDescription. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_WorkCenterCapacity _WrkCtrCap from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_WorkCenterGroupWhereUsed _Grp _Grp.ObjectInternalID = _WrkCtrCap.WorkCenterInternalID and _Grp.WorkCenterGroup <> ''

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Work center group where used view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CapacityInternalID I_WorkCenterCapacity CapacityInternalID Capacity ID
KEY WorkCenterGroupTypeCode _Grp WorkCenterGroupTypeCode
KEY WorkCenterGroupInternalID _Grp WorkCenterGroupInternalID
KEY WorkCenterGroup _Grp WorkCenterGroup Group
KEY WorkCenterGroupDescription _Grp WorkCenterGroupDescription Description

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 C_MassMaintCapWrkCtrGrpUsage.
-- 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.

CREATE VIEW C_MassMaintCapWrkCtrGrpUsage AS
SELECT
  _WrkCtrCap.CapacityInternalID AS CapacityInternalID,
  _Grp.WorkCenterGroupTypeCode AS WorkCenterGroupTypeCode,
  _Grp.WorkCenterGroupInternalID AS WorkCenterGroupInternalID,
  _Grp.WorkCenterGroup AS WorkCenterGroup,
  _Grp.WorkCenterGroupDescription AS WorkCenterGroupDescription
FROM I_WorkCenterCapacity AS _WrkCtrCap
LEFT OUTER JOIN C_WorkCenterGroupWhereUsed AS _Grp ON _Grp.ObjectInternalID = _WrkCtrCap.WorkCenterInternalID AND _Grp.WorkCenterGroup <> ''  -- association [0..*]
;