P_WorkAssgmtDetailsCostCenter

DDL: P_WORKASSGMTDETAILSCOSTCENTER Type: view_entity COMPOSITE Package: VDM_WFD_WORK_FORCE

Work Assignment Details Cost Center

P_WorkAssgmtDetailsCostCenter is a Composite CDS View that provides data about "Work Assignment Details Cost Center" in SAP S/4HANA. It reads from 1 data source (P_WorkAssignmentCostCenterDets) and exposes 8 fields with key fields WorkAssignment, WorkAssignmentStartDate. It has 1 association to related views. Part of development package VDM_WFD_WORK_FORCE.

Data Sources (1)

SourceAliasJoin Type
P_WorkAssignmentCostCenterDets AssgmtDets from

Associations (1)

CardinalityTargetAliasCondition
[1] I_CostCenterText _CostCenterText $projection.CostCenter = _CostCenterText.CostCenter and $projection.ControllingArea = _CostCenterText.ControllingArea and $projection.ValidityEndDate = _CostCenterText.ValidityEndDate and _CostCenterText.Language = $session.system_language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY WorkAssignment P_WorkAssignmentCostCenterDets WorkAssignment WorkForce Assgmt ID
KEY WorkAssignmentStartDate P_WorkAssignmentCostCenterDets WorkAssignmentStartDate Start Date
WorkAssignmentEndDate P_WorkAssignmentCostCenterDets WorkAssignmentEndDate End Date
CompanyCode P_WorkAssignmentCostCenterDets CompanyCode Receiver Company Code
CostCenter P_WorkAssignmentCostCenterDets CostCenter Cost Center
ControllingArea P_WorkAssignmentCostCenterDets ControllingArea Controlling Area
ValidityEndDate P_WorkAssignmentCostCenterDets ValidityEndDate ValidTo
CostCenterName _CostCenterText CostCenterName Name

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 P_WorkAssgmtDetailsCostCenter.
-- 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 P_WorkAssgmtDetailsCostCenter AS
SELECT
  AssgmtDets.WorkAssignment AS WorkAssignment,
  AssgmtDets.WorkAssignmentStartDate AS WorkAssignmentStartDate,
  AssgmtDets.WorkAssignmentEndDate AS WorkAssignmentEndDate,
  AssgmtDets.CompanyCode AS CompanyCode,
  AssgmtDets.CostCenter AS CostCenter,
  AssgmtDets.ControllingArea AS ControllingArea,
  AssgmtDets.ValidityEndDate AS ValidityEndDate,
  _CostCenterText.CostCenterName AS CostCenterName
FROM P_WorkAssignmentCostCenterDets AS AssgmtDets
LEFT OUTER JOIN I_CostCenterText AS _CostCenterText ON CostCenter = _CostCenterText.CostCenter AND ControllingArea = _CostCenterText.ControllingArea AND ValidityEndDate = _CostCenterText.ValidityEndDate AND _CostCenterText.Language = $session.system_language  -- association [1]
;