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
KEY ObjectInternalID ObjectInternalID
KEY WorkCenterTypeCode WorkCenterTypeCode
KEY WorkCenterInternalID WorkCenterInternalID
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
@AbapCatalog.sqlViewName: 'CWRKCTRGRPSTR'
@VDM.viewType: #CONSUMPTION
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Work Center Group Structure'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: { dataClass: #TRANSACTIONAL, serviceQuality: #C , sizeCategory: #L }
define view C_WorkCenterGroupStructure
  as select from I_WorkCenterGroupStructure

  association [0..1] to I_WorkCenterGroupObjectCount as _ObjectCount on  $projection.ObjectTypeCode   = _ObjectCount.ObjectTypeCode
                                                                     and $projection.ObjectInternalID = _ObjectCount.ObjectInternalID
                                                                     
 { 
      @UI.hidden: true
      @ObjectModel.readOnly: true
  key WorkCenterGroupTypeCode,

      //@UI.lineItem.position: 20

      @UI.hidden: true
      @ObjectModel.readOnly: true
  key WorkCenterGroupInternalID,

      @UI.hidden: true
      @ObjectModel.readOnly: true
  key ObjectTypeCode,

      @UI.hidden: true
      @ObjectModel.readOnly: true
  key ObjectInternalID,

      @UI.hidden: true
      @ObjectModel.readOnly: true
  key WorkCenterTypeCode,

      @UI.hidden: true
      @ObjectModel.readOnly: true
  key WorkCenterInternalID,

      @UI.lineItem.position: 10
      @EndUserText.label: 'Object Name'
      @ObjectModel.readOnly: true
      ObjectName,

      @UI.lineItem.position: 20
      @EndUserText.label: 'Object Description'
      @ObjectModel.readOnly: true
      ObjectDescription,

      @UI.lineItem.position: 30
      @EndUserText.label: 'Plant'
      @ObjectModel.readOnly: true
      Plant,
      
      @UI.hidden: true
      @EndUserText.label: 'Work Center Group Type'
      WorkCenterGroupType,//Added for Manage Cap Group App.

      
      @UI.hidden:true
      @EndUserText.label: 'Work Center Group Name'
      WorkCenterGroup,//Added for Manage Cap Group App.

      
      @UI.lineItem.position: 40
      @EndUserText.label: 'Object Type'
      ObjectTypeText,

      //@UI.lineItem.position: 50

      @UI.hidden: true
      @EndUserText.label: 'Where Used'
      @ObjectModel.readOnly: true
      _ObjectCount.WorkCenterGroupObjectCount as WorkCenterGroupObjectCount

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_WORKCENTERGROUPOBJECTCOUNT",
"I_WORKCENTERGROUPSTRUCTURE"
],
"ASSOCIATED":
[
"I_WORKCENTERGROUPOBJECTCOUNT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/