P_PlndEffortForDmnd

DDL: P_PLNDEFFORTFORDMND SQL: PLNDEFFORTDMND Type: view COMPOSITE

P_PlndEffortForDmnd is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_TimeShtPartialDmndKey, I_EngmntProjectSupplyData) and exposes 7 fields.

Data Sources (2)

SourceAliasJoin Type
P_TimeShtPartialDmndKey P_TimeShtPartialDmndKey from
I_EngmntProjectSupplyData SupplyData inner

Parameters (1)

NameTypeDefault
P_WorkflowTaskInternalID sww_wiid

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PLNDEFFORTDMND view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (7)

KeyFieldSource TableSource FieldDescription
EngagementProjectUUID I_EngmntProjectSupplyData EngagementProjectUUID Engmnt Project UUID
PersonWorkAgreement I_EngmntProjectSupplyData EmploymentInternalID WorkForce Assgmt ID
WorkPackage I_EngmntProjectSupplyData WorkPackage Plan Item
WorkItem I_EngmntProjectSupplyData WorkItem Work Item ID
ActivityType I_EngmntProjectSupplyData EngagementProjectResource Resource ID
BillingControlCategory I_EngmntProjectSupplyData BillingControlCategory Billing Category
PlndEffortQty I_EngmntProjectSupplyData PlndEffortQty Total Quantity

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_PlndEffortForDmnd.
-- 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: PLNDEFFORTDMND
-- Parameters: P_WorkflowTaskInternalID : sww_wiid

CREATE VIEW P_PlndEffortForDmnd AS
SELECT
  SupplyData.EngagementProjectUUID AS EngagementProjectUUID,
  SupplyData.EmploymentInternalID AS PersonWorkAgreement,
  SupplyData.WorkPackage AS WorkPackage,
  SupplyData.WorkItem AS WorkItem,
  SupplyData.EngagementProjectResource AS ActivityType,
  SupplyData.BillingControlCategory AS BillingControlCategory,
  SupplyData.PlndEffortQty AS PlndEffortQty
FROM P_TimeShtPartialDmndKey
INNER JOIN I_EngmntProjectSupplyData AS SupplyData ON /* join condition not captured in parsed metadata */
;