I_WorkAssignmentAlternateCost

DDL: I_WORKASSIGNMENTALTERNATECOST Type: view_entity COMPOSITE

Alternative cost for work assignment

I_WorkAssignmentAlternateCost is a Composite CDS View that provides data about "Alternative cost for work assignment" in SAP S/4HANA. It reads from 1 data source (P_WorkAssignmentAlternateCost) and exposes 12 fields with key fields WorkforceAssignment, WorkforceAssgmtStartDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_WorkAssignmentAlternateCost AltercostAssgmt from

Parameters (3)

NameTypeDefault
P_WorkforceAssignment wfd_workforce_assgmt
P_StartDate vdm_v_start_date
P_EndDate vdm_v_end_date

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_WorkforceAssignment _Assignment _Assignment.WorkforceAssignment = $projection.WorkforceAssignment

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Alternative cost for work assignment view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY WorkforceAssignment WorkforceAssignment WorkForce Assgmt ID
KEY WorkforceAssgmtStartDate WorkforceAssgmtStartDate Valn start date
WorkforceAssgmtEndDate WorkforceAssgmtEndDate Valn End date
IsDefaultValue IsDefaultValue Default
AlternateCostPercent AlternateCostPercent Percentage
CostCenter CostCenter Cost Center
BudgetPeriod BudgetPeriod Budget Period
FunctionalArea FunctionalArea Sendr Fctl Area
Fund Fund Sender Fund
FundsCenter FundsCenter Funds Center
GrantID GrantID Sender Grant
_Assignment _Assignment

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_WorkAssignmentAlternateCost.
-- 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.
-- Parameters: P_WorkforceAssignment : wfd_workforce_assgmt, P_StartDate : vdm_v_start_date, P_EndDate : vdm_v_end_date

CREATE VIEW I_WorkAssignmentAlternateCost AS
SELECT
  WorkforceAssignment,
  WorkforceAssgmtStartDate,
  WorkforceAssgmtEndDate,
  IsDefaultValue,
  AlternateCostPercent,
  CostCenter,
  BudgetPeriod,
  FunctionalArea,
  Fund,
  FundsCenter,
  GrantID
FROM P_WorkAssignmentAlternateCost AS AltercostAssgmt
LEFT OUTER JOIN I_WorkforceAssignment AS _Assignment ON _Assignment.WorkforceAssignment = WorkforceAssignment  -- association [1..1]
;