R_SrcgProjQtnItmDmndDistrDraft

DDL: R_SRCGPROJQTNITMDMNDDISTRDRAFT Type: view_entity BASIC

DmndDistr for Itm in SrcgProjQtn - Draft

R_SrcgProjQtnItmDmndDistrDraft is a Basic CDS View that provides data about "DmndDistr for Itm in SrcgProjQtn - Draft" in SAP S/4HANA. It reads from 1 data source (mmspqtndddistr_d) and exposes 22 fields with key field SrcgProjQtnDmndDistrUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mmspqtndddistr_d SrcgProjQtnItmDmndDistrDraft from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_SourcingProjectQuotation _SourcingProjectQuotation $projection.SourcingProjectQuotationUUID = _SourcingProjectQuotation.SourcingProjectQuotationUUID
[1..1] E_SrcgProjQtnItmDmndDistrD _Extension $projection.SrcgProjQtnDmndDistrUUID = _Extension.SrcgProjQtnDmndDistrUUID

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label DmndDistr for Itm in SrcgProjQtn - Draft view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.elementSuffix SQD view
AbapCatalog.extensibility.quota.maximumFields 408 view
AbapCatalog.extensibility.quota.maximumBytes 8160 view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY SrcgProjQtnDmndDistrUUID srcgprojqtndmnddistruuid Demand Distribution UUID in Quotation
SourcingProjectQuotationUUID sourcingprojectquotationuuid Supplier Quotation UUID
SrcgProjQtnItemUUID srcgprojqtnitemuuid Supplier Quotation Item UUID
SrcgProjDmndDistributionUUID srcgprojdmnddistributionuuid Demand Distribution 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
ProcmtHubPlantUniqueID procmthubplantuniqueid Plant Unique ID
MaxAnnualRequestedQuantity maxannualrequestedquantity Max. Requested Quantity
SrcgProjQtnTotOfferedQuantity srcgprojqtntotofferedquantity Total Offered Quantity
RequestedQuantityUnit requestedquantityunit Requested Quantity Unit
StorageLocation storagelocation StorageLocation
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
_SourcingProjectQuotation _SourcingProjectQuotation

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_SrcgProjQtnItmDmndDistrDraft.
-- 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_SrcgProjQtnItmDmndDistrDraft AS
SELECT
  SrcgProjQtnDmndDistrUUID,
  SourcingProjectQuotationUUID,
  SrcgProjQtnItemUUID,
  SrcgProjDmndDistributionUUID,
  ProcurementProject,
  Plant,
  CompanyCode,
  PurchasingGroup,
  PurchasingOrganization,
  ProcurementHubSourceSystem,
  ProcmtHubPlantUniqueID,
  MaxAnnualRequestedQuantity,
  SrcgProjQtnTotOfferedQuantity,
  RequestedQuantityUnit,
  StorageLocation,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM mmspqtndddistr_d AS SrcgProjQtnItmDmndDistrDraft
LEFT OUTER JOIN R_SourcingProjectQuotation AS _SourcingProjectQuotation ON SourcingProjectQuotationUUID = _SourcingProjectQuotation.SourcingProjectQuotationUUID  -- association [1..1]
LEFT OUTER JOIN E_SrcgProjQtnItmDmndDistrD AS _Extension ON SrcgProjQtnDmndDistrUUID = _Extension.SrcgProjQtnDmndDistrUUID  -- association [1..1]
;