I_CustomerProjectWorkPackage
Customer Project Work Package
I_CustomerProjectWorkPackage is a Basic CDS View that provides data about "Customer Project Work Package" in SAP S/4HANA. It reads from 1 data source (I_WorkPackage) and exposes 19 fields with key field CustProjWorkPackageUUID. It has 2 associations to related views. Part of development package CPD_CDS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkPackage | CustomerProjectWorkpackage | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CustomerProject | _CustomerProject | $projection.CustProjFinancialPlanUUID = _CustomerProject.CustProjFinancialPlanUUID |
| [1..1] | E_CustomerProjectWorkPackage | _Extension | CustomerProjectWorkpackage.WorkPackageUUID = _Extension.CustProjWorkPackageUUID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICPWORKPACKAGE | view | |
| EndUserText.label | Customer Project Work Package | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustProjWorkPackageUUID | |||
| CustProjFinancialPlanUUID | ||||
| CustomerProjectWorkPackage | ||||
| CustProjWorkPackageName | ||||
| CustProjWorkPackageStartDate | I_WorkPackage | WorkPackageStartDate | Start Date | |
| CustProjWorkPackageEndDate | I_WorkPackage | WorkPackageEndDate | End Date | |
| CustomerProject | _CustomerProject | CustomerProject | Engmnt Project ID | |
| CustomerProjectType | _CustomerProject | CustomerProjectType | ||
| CustomerProjectServiceOrg | _CustomerProject | CustomerProjectServiceOrg | ||
| Currency | _CustomerProject | Currency | Valuation Crcy | |
| CustomerProjectUUID | ||||
| CustomerProjectName | ||||
| WBSElementObject | I_WorkPackage | WBSElementObject | Object number | |
| SalesOrderItem | ||||
| SalesOrder | I_WorkPackage | SalesOrder | SD Document | |
| WBSDescription | I_WorkPackage | WBSDescription | WBS Element Name | |
| LastChangeDateTime | I_WorkPackage | LastChangeDateTime | Timestamp | |
| LastChangedByUser | I_WorkPackage | LastChangedByUser | User Name | |
| _CustomerProject | _CustomerProject |
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_CustomerProjectWorkPackage.
-- 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: ICPWORKPACKAGE
CREATE VIEW I_CustomerProjectWorkPackage AS
SELECT
cast(CustomerProjectWorkpackage.WorkPackageUUID as /cpd/ss_cp_wp_uuid ) AS CustProjWorkPackageUUID,
cast(CustomerProjectWorkpackage.EngagementProjFinPlanUUID as /cpd/cust_pfp_db_key preserving type) AS CustProjFinancialPlanUUID,
cast(CustomerProjectWorkpackage.WorkPackage as /cpd/ss_cp_wp ) AS CustomerProjectWorkPackage,
cast(CustomerProjectWorkpackage.WorkPackageName as /cpd/ss_cp_wp_name ) AS CustProjWorkPackageName,
CustomerProjectWorkpackage.WorkPackageStartDate AS CustProjWorkPackageStartDate,
CustomerProjectWorkpackage.WorkPackageEndDate AS CustProjWorkPackageEndDate,
_CustomerProject.CustomerProject AS CustomerProject,
_CustomerProject.CustomerProjectType AS CustomerProjectType,
_CustomerProject.CustomerProjectServiceOrg AS CustomerProjectServiceOrg,
_CustomerProject.Currency AS Currency,
cast(_CustomerProject.CustomerProjectUUID as /cpd/ss_cp_uuid ) AS CustomerProjectUUID,
cast(_CustomerProject.CustomerProjectName as /cpd/ss_cp_desc ) AS CustomerProjectName,
CustomerProjectWorkpackage.WBSElementObject AS WBSElementObject,
cast(CustomerProjectWorkpackage.SalesOrderItem as /cpd/so_item_id preserving type) AS SalesOrderItem,
CustomerProjectWorkpackage.SalesOrder AS SalesOrder,
CustomerProjectWorkpackage.WBSDescription AS WBSDescription,
CustomerProjectWorkpackage.LastChangeDateTime AS LastChangeDateTime,
CustomerProjectWorkpackage.LastChangedByUser AS LastChangedByUser
FROM I_WorkPackage AS CustomerProjectWorkpackage
LEFT OUTER JOIN I_CustomerProject AS _CustomerProject ON CustProjFinancialPlanUUID = _CustomerProject.CustProjFinancialPlanUUID -- association [0..1]
LEFT OUTER JOIN E_CustomerProjectWorkPackage AS _Extension ON CustomerProjectWorkpackage.WorkPackageUUID = _Extension.CustProjWorkPackageUUID -- association [1..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