C_WorkCenterHeader

DDL: C_WORKCENTERHEADER Type: view_entity CONSUMPTION Package: ODATA_PP_WORKCENTER_API

Work Center

C_WorkCenterHeader is a Consumption CDS View that provides data about "Work Center" in SAP S/4HANA. It reads from 1 data source (I_WorkCenterCategoryAppl) and exposes 29 fields with key fields WorkCenterInternalID, WorkCenterTypeCode. It has 5 associations to related views. It is exposed through 2 OData services (ASQL_F6175, UI_WORKCENTERS). It is used in 2 Fiori applications: Manage Work Centers, Manage Resources. Part of development package ODATA_PP_WORKCENTER_API.

Data Sources (1)

SourceAliasJoin Type
I_WorkCenterCategoryAppl _WrkCtrAppl inner

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_WorkCenterCategoryText _WorkCenterCategoryText _WrkCtr.WorkCenterCategoryCode = _WorkCenterCategoryText.WorkCenterCategoryCode and _WorkCenterCategoryText.Language = $session.system_language
[0..1] I_WorkCenterGroupObjectCount _ObjectCount _ObjectCount.ObjectTypeCode = 'A' and _ObjectCount.ObjectInternalID = _WrkCtr.WorkCenterInternalID
[0..*] C_MassMaintCapWrkCtrGrpAggrgn _WrkCtrGroup _WrkCtrGroup.WorkCenterInternalID = _WrkCtr.WorkCenterInternalID
[1..1] I_Plant _Plant _Plant.Plant = _WrkCtr.Plant
[0..*] C_WorkCenterCostCenter _CostCenter _CostCenter.WorkCenterTypeCode = _WrkCtr.WorkCenterTypeCode and _CostCenter.WorkCenterInternalID = _WrkCtr.WorkCenterInternalID

Annotations (8)

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

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F6175 ASQL_F6175 C2 NOT_RELEASED
UI_WORKCENTERS UI_WORKCENTERS V2 C1 NOT_RELEASED

Fiori Apps (2)

App IDApp NameTypeDescription
F6175 Manage Work Centers Transactional With this app, you can perform all operations related to work centers from one central app. As a Production Engineer in the Discrete Manufacturing Industry, you can navigate to all the relevant apps to view work centers, create new work centers, change work centers, perform mass maintenance of work center capacities and so on.
F6176 Manage Resources Transactional With this app, you can perform all operations related to resources from one central app. As a Production Engineer in the Process Manufacturing Industry, you can navigate to all the relevant apps to view resources, create new resources, change resources, and perform mass maintenance of work center capacities.

Manage Work Centers

Business Role: Others

With this app, you can perform all operations related to work centers from one central app. As a Production Engineer in the Discrete Manufacturing Industry, you can navigate to all the relevant apps to view work centers, create new work centers, change work centers, and perform mass maintenance of work center capacities and so on.

Key Features: You can use this app to do the following: View the list of work centers with details such as Work Center, Plant, Description, Person Responsible,Work Center Category, Usage, Standard Value Key, Control Key and so on. Filter the list of work centers using basic filter conditions such as Work Center, Description, Work Center Category, and so on. Filter the list of work centers using advanced filter conditions. Select a work center in the list to navigate to the Display Work Center app to view the details of the selected work center. Select Create to navigate to the Create Work Center app to create a new work center. Select a work center and choose Change to navigate to the Change Work Centers app and make edits to the selected Work Center. Select a work center and choose Check Usage to navigate to the Usage of Work Centers - In Routings app to understand the usage of the selected work center. Select multiple work centers and choose Mass maintenance of Capacitiesto navigate to Mass Maintenance of Work Center Capacities app to view the list of capacities for the selected work centers. Note Discrete Engineers can view the work centers only for those with application type maintained as P(Routings for Production) and R(Repettive Manufacturing) in Work center category.

Manage Resources

Business Role: Others

With this app, you can perform all operations related to work centers from one central app. As a Production Engineer in the Discrete Manufacturing Industry, you can navigate to all the relevant apps to view work centers, create new work centers, change work centers, and perform mass maintenance of work center capacities and so on.

Key Features: You can use this app to do the following: View the list of work centers with details such as Work Center, Plant, Description, Person Responsible,Work Center Category, Usage, Standard Value Key, Control Key and so on. Filter the list of work centers using basic filter conditions such as Work Center, Description, Work Center Category, and so on. Filter the list of work centers using advanced filter conditions. Select a work center in the list to navigate to the Display Work Center app to view the details of the selected work center. Select Create to navigate to the Create Work Center app to create a new work center. Select a work center and choose Change to navigate to the Change Work Centers app and make edits to the selected Work Center. Select a work center and choose Check Usage to navigate to the Usage of Work Centers - In Routings app to understand the usage of the selected work center. Select multiple work centers and choose Mass maintenance of Capacitiesto navigate to Mass Maintenance of Work Center Capacities app to view the list of capacities for the selected work centers. Note Discrete Engineers can view the work centers only for those with application type maintained as P(Routings for Production) and R(Repettive Manufacturing) in Work center category.

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterInternalID _WrkCtr WorkCenterInternalID Work Center
KEY WorkCenterTypeCode _WrkCtr WorkCenterTypeCode Object Type
WorkCenter _WrkCtr WorkCenter Work Center
WorkCenterDesc _WrkCtr WorkCenterDesc
Plant _WrkCtr Plant Valuation Area
WorkCenterResponsible _WrkCtr WorkCenterResponsible
WorkCenterCategoryCode _WrkCtr WorkCenterCategoryCode Work Center Category
WorkCenterUsage _WrkCtr WorkCenterUsage
StandardWorkFormulaParamGroup _WrkCtr StandardWorkFormulaParamGroup
OperationControlProfile _WrkCtr OperationControlProfile Control Key
NmbrOfCostCtrAssgdToWorkCenter
WorkCenterGroup
WorkCenterGroupType
CostCenter
ControllingArea
CostCenterHierarchy
WorkCenterGroupObjectCount _ObjectCount WorkCenterGroupObjectCount
PlantName _Plant PlantName Plant Name
WorkCenterResponsibleName _WrkCtr WorkCenterResponsibleName
WorkCenterCategoryName _WorkCenterCategoryText WorkCenterCategoryName
WorkCenterLocation _WrkCtr WorkCenterLocation
SupplyArea _WrkCtr SupplyArea Supply Area
ShiftNoteType _WrkCtr ShiftNoteType
ShiftReportType _WrkCtr ShiftReportType
_WorkCenterCategoryText _WorkCenterCategoryText
_ObjectCount _ObjectCount
_WrkCtrGroup _WrkCtrGroup
_Plant _Plant
_CostCenter _CostCenter

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_WorkCenterHeader.
-- 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_WorkCenterHeader AS
SELECT
  _WrkCtr.WorkCenterInternalID AS WorkCenterInternalID,
  _WrkCtr.WorkCenterTypeCode AS WorkCenterTypeCode,
  _WrkCtr.WorkCenter AS WorkCenter,
  _WrkCtr.WorkCenterDesc AS WorkCenterDesc,
  _WrkCtr.Plant AS Plant,
  _WrkCtr.WorkCenterResponsible AS WorkCenterResponsible,
  _WrkCtr.WorkCenterCategoryCode AS WorkCenterCategoryCode,
  _WrkCtr.WorkCenterUsage AS WorkCenterUsage,
  _WrkCtr.StandardWorkFormulaParamGroup AS StandardWorkFormulaParamGroup,
  _WrkCtr.OperationControlProfile AS OperationControlProfile,
  _WrkCtr._CostCtrCount.NmbrOfCostCtrAssgdToWorkCenter AS NmbrOfCostCtrAssgdToWorkCenter,
  cast( cast( '0000000000' as abap.char(10) ) as cr_hname preserving type ) AS WorkCenterGroup,
  cast( cast( '0000000000' as abap.char(10) ) as cr_wrkctrgrptyp preserving type ) AS WorkCenterGroupType,
  cast( cast( '0000000000' as abap.char(10) ) as kostl preserving type ) AS CostCenter,
  cast( cast( '0000' as abap.char(4) ) as fis_kokrs preserving type ) AS ControllingArea,
  cast('' as fis_cctr_hryid_42) AS CostCenterHierarchy,
  _ObjectCount.WorkCenterGroupObjectCount AS WorkCenterGroupObjectCount,
  _Plant.PlantName AS PlantName,
  _WrkCtr.WorkCenterResponsibleName AS WorkCenterResponsibleName,
  _WorkCenterCategoryText.WorkCenterCategoryName AS WorkCenterCategoryName,
  _WrkCtr.WorkCenterLocation AS WorkCenterLocation,
  _WrkCtr.SupplyArea AS SupplyArea,
  _WrkCtr.ShiftNoteType AS ShiftNoteType,
  _WrkCtr.ShiftReportType AS ShiftReportType
INNER JOIN I_WorkCenterCategoryAppl AS _WrkCtrAppl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_WorkCenterCategoryText AS _WorkCenterCategoryText ON _WrkCtr.WorkCenterCategoryCode = _WorkCenterCategoryText.WorkCenterCategoryCode AND _WorkCenterCategoryText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_WorkCenterGroupObjectCount AS _ObjectCount ON _ObjectCount.ObjectTypeCode = 'A' AND _ObjectCount.ObjectInternalID = _WrkCtr.WorkCenterInternalID  -- association [0..1]
LEFT OUTER JOIN C_MassMaintCapWrkCtrGrpAggrgn AS _WrkCtrGroup ON _WrkCtrGroup.WorkCenterInternalID = _WrkCtr.WorkCenterInternalID  -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON _Plant.Plant = _WrkCtr.Plant  -- association [1..1]
LEFT OUTER JOIN C_WorkCenterCostCenter AS _CostCenter ON _CostCenter.WorkCenterTypeCode = _WrkCtr.WorkCenterTypeCode AND _CostCenter.WorkCenterInternalID = _WrkCtr.WorkCenterInternalID  -- association [0..*]
;