A_EngmntProjWrkPckg
Work Package
A_EngmntProjWrkPckg is a Consumption CDS View that provides data about "Work Package" in SAP S/4HANA. It reads from 1 data source (I_EngmntProjWrkPckg) and exposes 24 fields with key field WorkPackage. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EngmntProjWrkPckg | A | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_EngagementProject | _EngagementProject | $projection.EngagementProject = _EngagementProject.EngagementProject |
| [0..*] | A_EngmntProjWrkPckgWrkItm | _WorkPackageWorkItem | $projection.WorkPackage = _WorkPackageWorkItem.WorkPackage |
| [0..*] | A_EngmntProjWrkPckgFunc | _WorkPackageFunctions | $projection.WorkPackage = _WorkPackageFunctions.WorkPackage |
| [0..*] | A_EngmntProjRsceDmnd | _ResourceDemand | $projection.WorkPackage = _ResourceDemand.WorkPackage |
| [0..1] | E_Workpackage | _Extension | $projection.WorkPackageUUID = _Extension.WorkPackageUUID |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | AEPWORKPACKAGE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Work Package | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkPackage | I_EngmntProjWrkPckg | WorkPackage | Plan Item |
| EngagementProject | I_EngmntProjWrkPckg | EngagementProject | Engmnt Project ID | |
| WorkPackageUUID | I_EngmntProjWrkPckg | WorkPackageUUID | Work Package UUID | |
| WorkPackageName | I_EngmntProjWrkPckg | WorkPackageName | Plan Item Desc. | |
| WorkPackageStartDate | I_EngmntProjWrkPckg | WorkPackageStartDate | Start Date | |
| WorkPackageEndDate | I_EngmntProjWrkPckg | WorkPackageEndDate | End Date | |
| LastChangeDateTime | I_EngmntProjWrkPckg | LastChangeDateTime | Timestamp | |
| CreationDateTime | I_EngmntProjWrkPckg | CreationDateTime | Timestamp | |
| WorkPackageType | I_EngmntProjWrkPckg | WorkPackageType | ||
| EngagementProjectType | I_EngmntProjWrkPckg | EngagementProjectType | ||
| EngagementProjectServiceOrg | I_EngmntProjWrkPckg | EngagementProjectServiceOrg | Service Org. | |
| EngagementProjectCategory | I_EngmntProjWrkPckg | EngagementProjectCategory | ||
| ProjectProfileCode | I_EngmntProjWrkPckg | ProjectProfileCode | Project Profile | |
| ProjectVisibility | I_EngmntProjWrkPckg | ProjectVisibility | ||
| CompanyCode | I_EngmntProjWrkPckg | CompanyCode | Receiver Company Code | |
| CostCenter | I_EngmntProjWrkPckg | CostCenter | Cost Center | |
| ProfitCenter | I_EngmntProjWrkPckg | ProfitCenter | Profit Center | |
| WorkPackageUnit | I_EngmntProjWrkPckg | WorkPackageUnit | ||
| WorkPackageUnitUoM | I_EngmntProjWrkPckg | WorkPackageUnitUoM | ||
| PlanUnitQuantity | I_EngmntProjWrkPckg | PlanUnitQuantity | ||
| _EngagementProject | _EngagementProject | |||
| _WorkPackageFunctions | _WorkPackageFunctions | |||
| _WorkPackageWorkItem | _WorkPackageWorkItem | |||
| _ResourceDemand | _ResourceDemand |
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 A_EngmntProjWrkPckg.
-- 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: AEPWORKPACKAGE
CREATE VIEW A_EngmntProjWrkPckg AS
SELECT
A.WorkPackage AS WorkPackage,
A.EngagementProject AS EngagementProject,
A.WorkPackageUUID AS WorkPackageUUID,
A.WorkPackageName AS WorkPackageName,
A.WorkPackageStartDate AS WorkPackageStartDate,
A.WorkPackageEndDate AS WorkPackageEndDate,
A.LastChangeDateTime AS LastChangeDateTime,
A.CreationDateTime AS CreationDateTime,
A.WorkPackageType AS WorkPackageType,
A.EngagementProjectType AS EngagementProjectType,
A.EngagementProjectServiceOrg AS EngagementProjectServiceOrg,
A.EngagementProjectCategory AS EngagementProjectCategory,
A.ProjectProfileCode AS ProjectProfileCode,
A.ProjectVisibility AS ProjectVisibility,
A.CompanyCode AS CompanyCode,
A.CostCenter AS CostCenter,
A.ProfitCenter AS ProfitCenter,
A.WorkPackageUnit AS WorkPackageUnit,
A.WorkPackageUnitUoM AS WorkPackageUnitUoM,
A.PlanUnitQuantity AS PlanUnitQuantity
FROM I_EngmntProjWrkPckg AS A
LEFT OUTER JOIN A_EngagementProject AS _EngagementProject ON EngagementProject = _EngagementProject.EngagementProject -- association [1..1]
LEFT OUTER JOIN A_EngmntProjWrkPckgWrkItm AS _WorkPackageWorkItem ON WorkPackage = _WorkPackageWorkItem.WorkPackage -- association [0..*]
LEFT OUTER JOIN A_EngmntProjWrkPckgFunc AS _WorkPackageFunctions ON WorkPackage = _WorkPackageFunctions.WorkPackage -- association [0..*]
LEFT OUTER JOIN A_EngmntProjRsceDmnd AS _ResourceDemand ON WorkPackage = _ResourceDemand.WorkPackage -- association [0..*]
LEFT OUTER JOIN E_Workpackage AS _Extension ON WorkPackageUUID = _Extension.WorkPackageUUID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA