I_SrcgProjItmDemandDistr
Demand Distribution for Srcg Proj Item
I_SrcgProjItmDemandDistr is a Basic CDS View that provides data about "Demand Distribution for Srcg Proj Item" in SAP S/4HANA. It reads from 1 data source (R_SrcgProjItmDemandDistr) and exposes 18 fields with key field SrcgProjDmndDistributionUUID. It has 5 associations to related views. Part of development package VDM_MM_PUR_SRCGPROJ.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_SrcgProjItmDemandDistr | R_SrcgProjItmDemandDistr | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SourcingProject | _SourcingProject | $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID |
| [1..1] | I_SourcingProjectItem | _SourcingProjectItem | $projection.SourcingProjectItemUUID = _SourcingProjectItem.SourcingProjectItemUUID |
| [0..1] | I_PurchasingDocumentType | _PurchasingDocumentType | $projection.SrcgProjFollowOnDocumentCat = _PurchasingDocumentType.PurchasingDocumentCategory and $projection.SrcgProjFollowOnDocumentType = _PurchasingDocumentType.PurchasingDocumentType |
| [0..1] | I_PurchasingDocumentCategory | _PurchasingDocumentCategory | $projection.SrcgProjFollowOnDocumentCat = _PurchasingDocumentCategory.PurchasingDocumentCategory |
| [1..1] | E_SrcgProjItmDemandDistr | _Extension | $projection.SrcgProjDmndDistributionUUID = _Extension.SrcgProjDmndDistributionUUID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | SrcgProjDmndDistributionUUID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Demand Distribution for Srcg Proj Item | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SrcgProjDmndDistributionUUID | SrcgProjDmndDistributionUUID | Demand Distribution UUID | |
| SourcingProjectUUID | SourcingProjectUUID | Sourcing Project UUID | ||
| SourcingProjectItemUUID | SourcingProjectItemUUID | Item UUID | ||
| ProcurementProject | ProcurementProject | Project | ||
| Plant | Plant | Valuation Area | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| ProcurementHubSourceSystem | ProcurementHubSourceSystem | Connected System ID | ||
| MaxAnnualRequestedQuantity | MaxAnnualRequestedQuantity | Max. Requested Quantity | ||
| RequestedQuantityUnit | _SourcingProjectItem | RequestedQuantityUnit | Requested Quantity Unit | |
| StorageLocation | StorageLocation | StorageLocation | ||
| SrcgProjFollowOnDocumentCat | SrcgProjFollowOnDocumentCat | Follow-On Document Category | ||
| SrcgProjFollowOnDocumentType | SrcgProjFollowOnDocumentType | Follow-On Document Type | ||
| _SourcingProject | _SourcingProject | |||
| _SourcingProjectItem | _SourcingProjectItem | |||
| _PurchasingDocumentCategory | _PurchasingDocumentCategory | |||
| _PurchasingDocumentType | _PurchasingDocumentType |
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_SrcgProjItmDemandDistr.
-- 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 I_SrcgProjItmDemandDistr AS
SELECT
SrcgProjDmndDistributionUUID,
SourcingProjectUUID,
SourcingProjectItemUUID,
ProcurementProject,
Plant,
CompanyCode,
PurchasingGroup,
PurchasingOrganization,
ProcurementHubSourceSystem,
MaxAnnualRequestedQuantity,
_SourcingProjectItem.RequestedQuantityUnit AS RequestedQuantityUnit,
StorageLocation,
SrcgProjFollowOnDocumentCat,
SrcgProjFollowOnDocumentType
FROM R_SrcgProjItmDemandDistr
LEFT OUTER JOIN I_SourcingProject AS _SourcingProject ON SourcingProjectUUID = _SourcingProject.SourcingProjectUUID -- association [1..1]
LEFT OUTER JOIN I_SourcingProjectItem AS _SourcingProjectItem ON SourcingProjectItemUUID = _SourcingProjectItem.SourcingProjectItemUUID -- association [1..1]
LEFT OUTER JOIN I_PurchasingDocumentType AS _PurchasingDocumentType ON SrcgProjFollowOnDocumentCat = _PurchasingDocumentType.PurchasingDocumentCategory AND SrcgProjFollowOnDocumentType = _PurchasingDocumentType.PurchasingDocumentType -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentCategory AS _PurchasingDocumentCategory ON SrcgProjFollowOnDocumentCat = _PurchasingDocumentCategory.PurchasingDocumentCategory -- association [0..1]
LEFT OUTER JOIN E_SrcgProjItmDemandDistr AS _Extension ON SrcgProjDmndDistributionUUID = _Extension.SrcgProjDmndDistributionUUID -- 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