C_DFS_RelocationProject
Consumption for Relocation Project
C_DFS_RelocationProject is a Consumption CDS View that provides data about "Consumption for Relocation Project" in SAP S/4HANA. It reads from 1 data source (I_ProjectData) and exposes 18 fields with key fields ProjectInternalID, StatusCode, StatusObject, Language. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProjectData | RelocationProject | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_DFS_RelocationProjectStatus | _RelProjStatus | $projection.ProjectObject = _RelProjStatus.StatusObject |
| [0..*] | C_DFS_RelocProjWBSElmntHierTP | _RelocProjWBSElmntHierTP | $projection.ProjectInternalID = _RelocProjWBSElmntHierTP.ProjectInternalID |
| [0..1] | C_DFS_RelocationProjectVH | _RelocProjVH | $projection.ProjectInternalID = _RelocProjVH.ProjectInternalID |
| [0..1] | I_DFS_RelocationProjectProfile | _RelocProjPro | $projection.ProjectProfileCode = _RelocProjPro.ProjectProfileCode |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Consumption for Relocation Project | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectInternalID | ProjectInternalID | Project Def. | |
| KEY | StatusCode | _RelProjStatus | StatusCode | Statuscode |
| KEY | StatusObject | _RelProjStatus | StatusObject | Status Object |
| KEY | Language | _RelProjStatus | Language | Report Text Language |
| ProjectExternalID | ProjectExternalID | Project def. | ||
| ProjectDescription | ProjectDescription | Project Name | ||
| PlannedStartDate | PlannedStartDate | Latest Planned Start | ||
| PlannedEndDate | PlannedEndDate | Ltst Planned Finish | ||
| ProjectProfileCode | I_ProjectData | ProjectProfileCode | Project Profile | |
| ProjectObject | ProjectObject | Object number | ||
| FreeDefinedTableFieldSemantic | FreeDefinedTableFieldSemantic | Field key PS | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| SystemStatusName | _RelProjStatus | SystemStatusName | ||
| _RelProjStatus | _RelProjStatus | |||
| _RelocProjWBSElmntHierTP | _RelocProjWBSElmntHierTP | |||
| _RelocProjVH | _RelocProjVH | |||
| _RelocProjPro | _RelocProjPro |
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_DFS_RelocationProject.
-- 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.
CREATE VIEW C_DFS_RelocationProject AS
SELECT
ProjectInternalID,
_RelProjStatus.StatusCode AS StatusCode,
_RelProjStatus.StatusObject AS StatusObject,
_RelProjStatus.Language AS Language,
ProjectExternalID,
ProjectDescription,
PlannedStartDate,
PlannedEndDate,
RelocationProject.ProjectProfileCode AS ProjectProfileCode,
ProjectObject,
FreeDefinedTableFieldSemantic,
ControllingArea,
ProfitCenter,
_RelProjStatus.SystemStatusName AS SystemStatusName
FROM I_ProjectData AS RelocationProject
LEFT OUTER JOIN I_DFS_RelocationProjectStatus AS _RelProjStatus ON ProjectObject = _RelProjStatus.StatusObject -- association [0..1]
LEFT OUTER JOIN C_DFS_RelocProjWBSElmntHierTP AS _RelocProjWBSElmntHierTP ON ProjectInternalID = _RelocProjWBSElmntHierTP.ProjectInternalID -- association [0..*]
LEFT OUTER JOIN C_DFS_RelocationProjectVH AS _RelocProjVH ON ProjectInternalID = _RelocProjVH.ProjectInternalID -- association [0..1]
LEFT OUTER JOIN I_DFS_RelocationProjectProfile AS _RelocProjPro ON ProjectProfileCode = _RelocProjPro.ProjectProfileCode -- 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