C_WorkCenterGroupStructure

DDL: C_WORKCENTERGROUPSTRUCTURE SQL: CWRKCTRGRPSTR Type: view CONSUMPTION

Work Center Group Structure

C_WorkCenterGroupStructure is a Consumption CDS View that provides data about "Work Center Group Structure" in SAP S/4HANA. It reads from 1 data source (I_WorkCenterGroupStructure) and exposes 13 fields with key fields WorkCenterGroupTypeCode, WorkCenterGroupInternalID, ObjectTypeCode, ObjectInternalID, WorkCenterTypeCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_WorkCenterGroupStructure I_WorkCenterGroupStructure from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_WorkCenterGroupObjectCount _ObjectCount $projection.ObjectTypeCode = _ObjectCount.ObjectTypeCode and $projection.ObjectInternalID = _ObjectCount.ObjectInternalID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CWRKCTRGRPSTR view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Work Center Group Structure view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterGroupTypeCode WorkCenterGroupTypeCode
KEY WorkCenterGroupInternalID WorkCenterGroupInternalID
KEY ObjectTypeCode ObjectTypeCode Object Type
KEY ObjectInternalID ObjectInternalID Object number
KEY WorkCenterTypeCode WorkCenterTypeCode Object Type
KEY WorkCenterInternalID WorkCenterInternalID Work Center
ObjectName ObjectName Object Name
ObjectDescription ObjectDescription Object Description
Plant Plant Plant
WorkCenterGroupType WorkCenterGroupType Work Center Group Type
WorkCenterGroup WorkCenterGroup Work Center Group Name
ObjectTypeText ObjectTypeText Object Type
WorkCenterGroupObjectCount _ObjectCount WorkCenterGroupObjectCount Where Used

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_WorkCenterGroupStructure.
-- 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: CWRKCTRGRPSTR

CREATE VIEW C_WorkCenterGroupStructure AS
SELECT
  WorkCenterGroupTypeCode,
  WorkCenterGroupInternalID,
  ObjectTypeCode,
  ObjectInternalID,
  WorkCenterTypeCode,
  WorkCenterInternalID,
  ObjectName,
  ObjectDescription,
  Plant,
  WorkCenterGroupType,
  WorkCenterGroup,
  ObjectTypeText,
  _ObjectCount.WorkCenterGroupObjectCount AS WorkCenterGroupObjectCount
FROM I_WorkCenterGroupStructure
LEFT OUTER JOIN I_WorkCenterGroupObjectCount AS _ObjectCount ON ObjectTypeCode = _ObjectCount.ObjectTypeCode AND ObjectInternalID = _ObjectCount.ObjectInternalID  -- association [0..1]
;