A_WorkCenterCapacity_2

DDL: A_WORKCENTERCAPACITY_2 Type: view_entity CONSUMPTION

Work Center Capacity

A_WorkCenterCapacity_2 is a Consumption CDS View that provides data about "Work Center Capacity" in SAP S/4HANA. It reads from 1 data source (R_WorkCenterCapacityTP) and exposes 39 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation, CapacityInternalID. It is exposed through 1 OData service (API_WORKCENTER).

Data Sources (1)

SourceAliasJoin Type
R_WorkCenterCapacityTP R_WorkCenterCapacityTP projection

Annotations (8)

NameValueLevelField
EndUserText.label Work Center Capacity view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
API_WORKCENTER API_WORK_CENTER V4 C2 C1

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterInternalID WorkCenterInternalID
KEY WorkCenterTypeCode WorkCenterTypeCode
KEY CapacityCategoryAllocation CapacityCategoryAllocation
KEY CapacityInternalID CapacityInternalID
LastChangeDate LastChangeDate
LastChangedByUser LastChangedByUser
WorkCenter WorkCenter
WorkCenterCategoryCode WorkCenterCategoryCode
SetupCapRequirementFormula SetupCapRequirementFormula
ProcgCapRequirementFormula ProcgCapRequirementFormula
TeardownCapRequirementFormula TeardownCapRequirementFormula
OtherCapRequirementFormula OtherCapRequirementFormula
ValidityStartDate ValidityStartDate
ValidityEndDate ValidityEndDate
WorkCenterLastChangeDateTime WorkCenterLastChangeDateTime
Capacity Capacity
CapacityCategoryCode CapacityCategoryCode
CapacityActiveVersion CapacityActiveVersion
CapacityIsFinite CapacityIsFinite
CapacityIsPooled CapacityIsPooled
CapacityHasIndivCapacities CapacityHasIndivCapacities
CapacityIsExcldFrmLongTermPlng CapacityIsExcldFrmLongTermPlng
CapacityNumberOfCapacities CapacityNumberOfCapacities
CapacityResponsiblePlanner CapacityResponsiblePlanner
CapacityPlanUtilizationPercent CapacityPlanUtilizationPercent
CapacityBreakDuration CapacityBreakDuration
Plant Plant
FactoryCalendar FactoryCalendar
AuthorizationGroup AuthorizationGroup
ShiftGroup ShiftGroup
CapacityStartTimeID CapacityStartTimeID
CapacityEndTimeID CapacityEndTimeID
CapIsUsedInMultiOperations CapIsUsedInMultiOperations
ReferencedCapacityInternalID ReferencedCapacityInternalID
CapOverloadThresholdInPercent CapOverloadThresholdInPercent
CapacityQuantityUnit CapacityQuantityUnit
CapacityBaseQtyUnit CapacityBaseQtyUnit
CapacityLastChangeDateTime CapacityLastChangeDateTime
_HeaderredirectedtoparentA_WorkCenter
@EndUserText.label: 'Work Center Capacity'
@AccessControl.authorizationCheck: #CHECK
@VDM:{ viewType: #CONSUMPTION, usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE] }
@VDM.lifecycle.contract.type:#PUBLIC_REMOTE_API
@ObjectModel.usageType.serviceQuality:#C
@ObjectModel.usageType.sizeCategory:#M
@ObjectModel.usageType.dataClass:#MASTER
@Metadata.ignorePropagatedAnnotations:true
define view entity A_WorkCenterCapacity_2
  as projection on R_WorkCenterCapacityTP
{
  key WorkCenterInternalID,
  key WorkCenterTypeCode,
  key CapacityCategoryAllocation,
  key CapacityInternalID,

      // Capacity Alloc Attributes

      LastChangeDate,
      LastChangedByUser,
      WorkCenter,
      WorkCenterCategoryCode,
      SetupCapRequirementFormula,
      ProcgCapRequirementFormula,
      TeardownCapRequirementFormula,
      OtherCapRequirementFormula,
      ValidityStartDate,
      ValidityEndDate,
      WorkCenterLastChangeDateTime,

      //Capacity Attributes

      Capacity,
      CapacityCategoryCode,
      CapacityActiveVersion,
      CapacityIsFinite,
      CapacityIsPooled,
      CapacityHasIndivCapacities,
      CapacityIsExcldFrmLongTermPlng,
      CapacityNumberOfCapacities,
      CapacityResponsiblePlanner,
      CapacityPlanUtilizationPercent,
      CapacityBreakDuration,

      // Assignments

      Plant,
      FactoryCalendar,
      AuthorizationGroup,
      ShiftGroup,

      // Times

      @Semantics.durationInSeconds:true
      CapacityStartTimeID,
      @Semantics.durationInSeconds:true
      CapacityEndTimeID,

      CapIsUsedInMultiOperations,
      ReferencedCapacityInternalID,
      CapOverloadThresholdInPercent,

      // Unit of Measures

      @Semantics.unitOfMeasure: true
      CapacityQuantityUnit,
      @Semantics.unitOfMeasure: true
      CapacityBaseQtyUnit,

      CapacityLastChangeDateTime,

      /*Associations*/
      _Header         : redirected to parent A_WorkCenter,
      _Interval       : redirected to composition child A_WorkCenterCapacityInterval_3, 
      _CapDescription : redirected to composition child A_WorkCenterCapacityText_2
}