I_WrkCtrCapByAreaOfRespy

DDL: I_WRKCTRCAPBYAREAOFRESPY SQL: IWCCAPBYAOR Type: view COMPOSITE Package: PPH_VDM_CAP_EVAL

Work Center By Area Of Responsibility

I_WrkCtrCapByAreaOfRespy is a Composite CDS View that provides data about "Work Center By Area Of Responsibility" in SAP S/4HANA. It reads from 17 data sources and exposes 30 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation, CapacityInternalID, WorkCenterTypeCode. Part of development package PPH_VDM_CAP_EVAL.

Data Sources (17)

SourceAliasJoin Type
I_Capacity _Capacity inner
I_Capacity _Capacity inner
P_WrkCtrCapAreaOfRespyHrzn _Horizon inner
I_BOOMaterialAssgmtChangeState _MaterialTaskList inner
I_MaterialPlant _MaterialVH inner
I_BOOSqncOperationAssgmtChgSt _OperationActivities inner
I_BillOfOperationsOpBasic _OperationActTasks inner
I_OperationControlProfile _OperationControlProfile inner
I_ProductionVersion _ProductionVersions inner
I_WrkCtrUtilznPrsnlzn _prsnlzn inner
I_WrkCtrUtilznPrsnlzn _prsnlzn inner
I_WorkCenter _WorkCenter inner
I_WorkCenter _WorkCenter inner
I_WorkCenterCapacity _WorkCenterCapacity from
I_WorkCenterCapacity _WorkCenterCapacity inner
I_WorkCenterCapacity _WorkCenterCapacity union
I_CapPlngWrkCtrGrpRespyArea _wrkgrpaor inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IWCCAPBYAOR view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Work Center By Area Of Responsibility view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterInternalID I_WorkCenterCapacity WorkCenterInternalID Work Center
KEY WorkCenterTypeCode I_WorkCenterCapacity WorkCenterTypeCode Object Type
KEY CapacityCategoryAllocation I_WorkCenterCapacity CapacityCategoryAllocation
KEY CapacityInternalID I_WorkCenterCapacity CapacityInternalID Capacity ID
Plant I_WorkCenterCapacity Plant Valuation Area
WorkCenter I_WorkCenterCapacity WorkCenter Work Center
CapacityCategoryCode I_WorkCenterCapacity CapacityCategoryCode Capacity cat.
Capacity I_WorkCenterCapacity Capacity Engine Capacity
CapacityActiveVersion I_Capacity CapacityActiveVersion RA Version
WorkCenterResponsible I_WorkCenter WorkCenterResponsible Responsible
CapacityResponsiblePlanner I_Capacity CapacityResponsiblePlanner Plng Segmnt No.
WorkCenterDesc
LastChangeDateTime
CapacityLastChangeDateTime I_Capacity CapacityLastChangeDateTime
PlantName
KEY WorkCenterTypeCode I_WorkCenterCapacity WorkCenterTypeCode Object Type
KEY CapacityCategoryAllocation I_WorkCenterCapacity CapacityCategoryAllocation
KEY CapacityInternalID I_WorkCenterCapacity CapacityInternalID Capacity ID
Plant I_WorkCenterCapacity Plant Valuation Area
WorkCenter I_WorkCenterCapacity WorkCenter Work Center
CapacityCategoryCode I_WorkCenterCapacity CapacityCategoryCode Capacity cat.
Capacity I_WorkCenterCapacity Capacity Engine Capacity
CapacityActiveVersion I_Capacity CapacityActiveVersion RA Version
WorkCenterResponsible I_WorkCenter WorkCenterResponsible Responsible
CapacityResponsiblePlanner I_Capacity CapacityResponsiblePlanner Plng Segmnt No.
WorkCenterDesc
LastChangeDateTime
CapacityLastChangeDateTime I_Capacity CapacityLastChangeDateTime
PlantName
AreaOfRespyUserPreference

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 I_WrkCtrCapByAreaOfRespy.
-- 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: IWCCAPBYAOR

CREATE VIEW I_WrkCtrCapByAreaOfRespy AS
SELECT
  _WorkCenterCapacity.WorkCenterInternalID AS WorkCenterInternalID,
  _WorkCenterCapacity.WorkCenterTypeCode AS WorkCenterTypeCode,
  _WorkCenterCapacity.CapacityCategoryAllocation AS CapacityCategoryAllocation,
  _WorkCenterCapacity.CapacityInternalID AS CapacityInternalID,
  _WorkCenterCapacity.Plant AS Plant,
  _WorkCenterCapacity.WorkCenter AS WorkCenter,
  _WorkCenterCapacity.CapacityCategoryCode AS CapacityCategoryCode,
  _WorkCenterCapacity.Capacity AS Capacity,
  _Capacity.CapacityActiveVersion AS CapacityActiveVersion,
  _WorkCenter.WorkCenterResponsible AS WorkCenterResponsible,
  _Capacity.CapacityResponsiblePlanner AS CapacityResponsiblePlanner,
  _WorkCenterCapacity._WorkCenter._Text[1:Language=$session.system_language].WorkCenterText AS WorkCenterDesc,
  cast( _WorkCenterCapacity.CapacityInternalID as abap.dec(15,0) ) AS LastChangeDateTime,
  _Capacity.CapacityLastChangeDateTime AS CapacityLastChangeDateTime,
  _WorkCenterCapacity._Plant.PlantName AS PlantName,
  cast('W' as abap.char( 1 )) AS AreaOfRespyUserPreference
FROM I_WorkCenterCapacity AS _WorkCenterCapacity
INNER JOIN I_WrkCtrUtilznPrsnlzn AS _prsnlzn ON /* join condition not captured in parsed metadata */
INNER JOIN I_MaterialPlant AS _MaterialVH ON /* join condition not captured in parsed metadata */
INNER JOIN P_WrkCtrCapAreaOfRespyHrzn AS _Horizon ON /* join condition not captured in parsed metadata */
INNER JOIN I_ProductionVersion AS _ProductionVersions ON /* join condition not captured in parsed metadata */
INNER JOIN I_BOOMaterialAssgmtChangeState AS _MaterialTaskList ON /* join condition not captured in parsed metadata */
INNER JOIN I_BOOSqncOperationAssgmtChgSt AS _OperationActivities ON /* join condition not captured in parsed metadata */
INNER JOIN I_BillOfOperationsOpBasic AS _OperationActTasks ON /* join condition not captured in parsed metadata */
INNER JOIN I_OperationControlProfile AS _OperationControlProfile ON /* join condition not captured in parsed metadata */
INNER JOIN I_WorkCenterCapacity AS _WorkCenterCapacity ON /* join condition not captured in parsed metadata */
INNER JOIN I_WorkCenter AS _WorkCenter ON /* join condition not captured in parsed metadata */
INNER JOIN I_Capacity AS _Capacity ON /* join condition not captured in parsed metadata */
INNER JOIN I_CapPlngWrkCtrGrpRespyArea AS _wrkgrpaor ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): I_WorkCenterCapacity
;