R_ProjectDemandDraft
Project Demand Draft
R_ProjectDemandDraft is a Basic CDS View that provides data about "Project Demand Draft" in SAP S/4HANA. It reads from 1 data source (projdemand_d) and exposes 45 fields with key field ProjectDemandUUID. It has 4 associations to related views. Part of development package PS_DMND_VDM_ROOT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| projdemand_d | ProjectDemandDraft | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_EnterpriseProject | _Project | $projection.ProjectUUID = _Project.ProjectUUID |
| [0..1] | I_EnterpriseProjectElement | _WorkPackage | $projection.ReferencedObjectUUID = _WorkPackage.ProjectElementUUID |
| [1..1] | E_ProjectDemandDraft | _ProjectDemandExtension | $projection.ProjectDemandUUID = _ProjectDemandExtension.ProjectDemandUUID |
| [0..1] | I_EnterpriseProjectForUser | _EnterpriseProjectForUser | $projection.ProjectUUID = _EnterpriseProjectForUser.ProjectUUID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| AbapCatalog.dataMaintenance | #RESTRICTED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | PDM | view | |
| AbapCatalog.extensibility.allowNewDatasources | false | view | |
| AbapCatalog.extensibility.quota.maximumFields | 300 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 45000 | view | |
| EndUserText.label | Project Demand Draft | view |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectDemandUUID | projectdemanduuid | Entity GUID | |
| ProjectDemand | projectdemand | Demand ID | ||
| ProjectDemandName | projectdemandname | Demand Name | ||
| ProjectDemandDescription | projectdemanddescription | Description | ||
| ProjectDemandCategory | projectdemandcategory | Demand Category | ||
| ProjectDemandType | projectdemandtype | Demand Type | ||
| ProjectUUID | projectuuid | Project UUID | ||
| ReferencedObjectUUID | referencedobjectuuid | Referenced Object | ||
| ProjectDemandStatus | projectdemandstatus | Demand Status | ||
| ProjectDemandDateMaintenance | projectdemanddatemaintenance | Date Alignment | ||
| ProjectDemandStartDate | projectdemandstartdate | Demand Start Date | ||
| ProjectDemandEndDate | projectdemandenddate | Demand End Date | ||
| ProjectDemandReleasedDateTime | projectdemandreleaseddatetime | Requested On | ||
| ProjDmndActualSupplyDate | projdmndactualsupplydate | Demand Delivery | ||
| ProjectDemandPerUnitAmount | projectdemandperunitamount | Price Per Unit | ||
| ProjectDemandRequestCurrency | projectdemandrequestcurrency | Demand Currency | ||
| ProjectDemandRequestNetAmount | projectdemandrequestnetamount | Net Value | ||
| ProjDmndReqNetAmountCurrency | projdmndreqnetamountcurrency | Demand Currency | ||
| ProjectDemandOverallAmount | projectdemandoverallamount | Overall Limit | ||
| ProjDmndRequestedQuantity | projdmndrequestedquantity | Required Quantity | ||
| ProjDmndRequestedQuantityUnit | projdmndrequestedquantityunit | Quantity Unit | ||
| PriceUnitQty | priceunitqty | Price unit | ||
| Plant | plant | Valuation Area | ||
| PurchasingGroup | purchasinggroup | Purchasing Group | ||
| PurchasingOrganization | purchasingorganization | Purchasing Organization | ||
| ProjectDemandLastUpdateSource | projectdemandlastupdatesource | Source of Update | ||
| CreatedByUser | createdbyuser | User Name | ||
| CreationDateTime | creationdatetime | Timestamp | ||
| LastChangedByUser | lastchangedbyuser | User Name | ||
| LastChangeDateTime | lastchangedatetime | Timestamp | ||
| ProjDemandLastChangeDateTime | projdemandlastchangedatetime | Demand Changed On | ||
| ProjectDemandLastChangedByUser | projectdemandlastchangedbyuser | Demand Changed By | ||
| ProjDmndExternalReferenceUUID | projdmndexternalreferenceuuid | External Reference | ||
| DraftEntityCreationDateTime | draftentitycreationdatetime | Draft Created On | ||
| DraftEntityLastChangeDateTime | draftentitylastchangedatetime | Draft Last Changed On | ||
| DraftAdministrativeDataUUID | draftadministrativedatauuid | UUID | ||
| DraftEntityOperationCode | draftentityoperationcode | Draft - Operation Code | ||
| HasActiveEntity | hasactiveentity | TRUE | ||
| DraftFieldChanges | draftfieldchanges | Field Changes | ||
| ProjectDemandOverallRevenue | projectdemandoverallrevenue | |||
| ProjDmndOverallRevenueCurrency | projdmndoverallrevenuecurrency | Demand Currency | ||
| ProjDmndDataModelVersion | projdmnddatamodelversion | |||
| _Project | _Project | |||
| _WorkPackage | _WorkPackage | |||
| _EnterpriseProjectForUser | _EnterpriseProjectForUser |
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 R_ProjectDemandDraft.
-- 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 R_ProjectDemandDraft AS
SELECT
ProjectDemandUUID,
ProjectDemand,
ProjectDemandName,
ProjectDemandDescription,
ProjectDemandCategory,
ProjectDemandType,
ProjectUUID,
ReferencedObjectUUID,
ProjectDemandStatus,
ProjectDemandDateMaintenance,
ProjectDemandStartDate,
ProjectDemandEndDate,
ProjectDemandReleasedDateTime,
ProjDmndActualSupplyDate,
ProjectDemandPerUnitAmount,
ProjectDemandRequestCurrency,
ProjectDemandRequestNetAmount,
ProjDmndReqNetAmountCurrency,
ProjectDemandOverallAmount,
ProjDmndRequestedQuantity,
ProjDmndRequestedQuantityUnit,
PriceUnitQty,
Plant,
PurchasingGroup,
PurchasingOrganization,
ProjectDemandLastUpdateSource,
CreatedByUser,
CreationDateTime,
LastChangedByUser,
LastChangeDateTime,
ProjDemandLastChangeDateTime,
ProjectDemandLastChangedByUser,
ProjDmndExternalReferenceUUID,
DraftEntityCreationDateTime,
DraftEntityLastChangeDateTime,
DraftAdministrativeDataUUID,
DraftEntityOperationCode,
HasActiveEntity,
DraftFieldChanges,
ProjectDemandOverallRevenue,
ProjDmndOverallRevenueCurrency,
ProjDmndDataModelVersion
FROM projdemand_d AS ProjectDemandDraft
LEFT OUTER JOIN I_EnterpriseProject AS _Project ON ProjectUUID = _Project.ProjectUUID -- association [1..1]
LEFT OUTER JOIN I_EnterpriseProjectElement AS _WorkPackage ON ReferencedObjectUUID = _WorkPackage.ProjectElementUUID -- association [0..1]
LEFT OUTER JOIN E_ProjectDemandDraft AS _ProjectDemandExtension ON ProjectDemandUUID = _ProjectDemandExtension.ProjectDemandUUID -- association [1..1]
LEFT OUTER JOIN I_EnterpriseProjectForUser AS _EnterpriseProjectForUser ON ProjectUUID = _EnterpriseProjectForUser.ProjectUUID -- 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