C_WorkPackageVH

DDL: C_WORKPACKAGEVH SQL: CWORKPCKVH Type: view CONSUMPTION

Work Package Value Help

C_WorkPackageVH is a Consumption CDS View that provides data about "Work Package Value Help" in SAP S/4HANA. It reads from 1 data source (I_WBSElementByExternalID) and exposes 13 fields with key field WBSElementExternalID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_WBSElementByExternalID I_WBSElementByExternalID from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ProjectByInternalKey _Project $projection.ProjectInternalID = _Project.ProjectInternalID
[0..1] I_CustomerProjectWorkPackage _CustProjectWorkPackage $projection.WBSElementObject = _CustProjectWorkPackage.WBSElementObject

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CWORKPCKVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Work Package Value Help view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.representativeKey WBSElementExternalID view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.dataCategory #VALUE_HELP view
AccessControl.personalData.blocking #REQUIRED view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY WBSElementExternalID WBSElementExternalID Work Package ID
WBSElementObject WBSElementObject Object number
CustProjWorkPackageFullName _CustProjectWorkPackage CustProjWorkPackageFullName Work Package
ProjectInternalID ProjectInternalID Project Def.
ProjectType ProjectType Project Type
ControllingArea ControllingArea Controlling Area
ResponsibleCostCenter ResponsibleCostCenter Responsible Cost Center
ProfitCenter ProfitCenter Profit Center
_Project _Project
CustomerProjectName
CustProjWorkPackageName _CustProjectWorkPackage CustProjWorkPackageName
_ProjectType _ProjectType
_ControllingArea _ControllingArea

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 C_WorkPackageVH.
-- 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: CWORKPCKVH

CREATE VIEW C_WorkPackageVH AS
SELECT
  WBSElementExternalID,
  WBSElementObject,
  _CustProjectWorkPackage.CustProjWorkPackageFullName AS CustProjWorkPackageFullName,
  ProjectInternalID,
  ProjectType,
  ControllingArea,
  ResponsibleCostCenter,
  ProfitCenter,
  _CustProjectWorkPackage._CustomerProject.CustomerProjectName AS CustomerProjectName,
  _CustProjectWorkPackage.CustProjWorkPackageName AS CustProjWorkPackageName
FROM I_WBSElementByExternalID
LEFT OUTER JOIN I_ProjectByInternalKey AS _Project ON ProjectInternalID = _Project.ProjectInternalID  -- association [1..1]
LEFT OUTER JOIN I_CustomerProjectWorkPackage AS _CustProjectWorkPackage ON WBSElementObject = _CustProjectWorkPackage.WBSElementObject  -- association [0..1]
;