P_EngmntProjWrkPckgActl

DDL: P_ENGMNTPROJWRKPCKGACTL SQL: PENGWPACT Type: view COMPOSITE

P_EngmntProjWrkPckgActl is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_EngmntProjActCostAndRevn) and exposes 32 fields.

Data Sources (1)

SourceAliasJoin Type
P_EngmntProjActCostAndRevn P_EngmntProjActCostAndRevn from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PENGWPACT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (32)

KeyFieldSource TableSource FieldDescription
EngagementProject EngagementProject Engmnt Project ID
WorkPackage WorkPackage Plan Item
EngagementProjFinPlanUUID EngagementProjFinPlanUUID Engagement Project
WorkItem WorkItem Work Item ID
Confirmed Confirmed Confirmed
PersonnelNumber PersonnelNumber Personnel No.
FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Tax period
EngagementProjectResource EngagementProjectResource Resource ID
EngagementProjectResourceType EngagementProjectResourceType ResourceTypeID
IsMyProject IsMyProject
GLAccountendasGLAccount
CompanyCodeCurrency CompanyCodeCurrency Local Currency
Currency Currency Valuation Crcy
ActlCostAmtInCoCodeCrcy ActlCostAmtInCoCodeCrcy
ActlCostAmtInPlanCrcy ActlCostAmtInPlanCrcy
ActlEffortQty ActlEffortQty
Unit Unit UoM
EngagementProjectServiceOrg EngagementProjectServiceOrg Service Org.
EngagementProjectCategory EngagementProjectCategory
CustomerProjectServiceOrg CustomerProjectServiceOrg
Customer Customer Sold-to Party
ProjectVisibility ProjectVisibility
EngagementProjectStage EngagementProjectStage
ProjectProfileCode ProjectProfileCode Project Profile
EngagementProjectType EngagementProjectType
EngmntProjectHeaderCompanyCode EngmntProjectHeaderCompanyCode
EngagementProjectCostCenter EngagementProjectCostCenter
ControllingArea EngmntProjectControllingArea
LastChangeDateTime LastChangeDateTime Timestamp
ProfitCenter ProfitCenter Profit Center
ResourceDemandUUID

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_EngmntProjWrkPckgActl.
-- 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: PENGWPACT

CREATE VIEW P_EngmntProjWrkPckgActl AS
SELECT
  EngagementProject,
  WorkPackage,
  EngagementProjFinPlanUUID,
  WorkItem,
  Confirmed,
  PersonnelNumber,
  FiscalYear,
  FiscalPeriod,
  EngagementProjectResource,
  EngagementProjectResourceType,
  IsMyProject,
  case when P_EngmntProjActCostAndRevn.EngagementProjectResourceType = '0ACT' or P_EngmntProjActCostAndRevn.EngagementProjectResourceType = '0EXP' or P_EngmntProjActCostAndRevn.EngagementProjectResourceType = '0SRV' or P_EngmntProjActCostAndRevn.EngagementProjectResourceType = '0ADL' then '' else P_EngmntProjActCostAndRevn.GLAccount end as GLAccount AS GLAccountendasGLAccount,
  CompanyCodeCurrency,
  Currency,
  ActlCostAmtInCoCodeCrcy,
  ActlCostAmtInPlanCrcy,
  ActlEffortQty,
  Unit,
  EngagementProjectServiceOrg,
  EngagementProjectCategory,
  CustomerProjectServiceOrg,
  Customer,
  ProjectVisibility,
  EngagementProjectStage,
  ProjectProfileCode,
  EngagementProjectType,
  EngmntProjectHeaderCompanyCode,
  EngagementProjectCostCenter,
  EngmntProjectControllingArea AS ControllingArea,
  LastChangeDateTime,
  ProfitCenter,
  cast( hextobin('00000000000000000000000000000000') as /cpd/demand_key preserving type) AS ResourceDemandUUID
FROM P_EngmntProjActCostAndRevn
;