C_SupDmndAllDocPurgContrRefQ

DDL: C_SUPDMNDALLDOCPURGCONTRREFQ Type: view CONSUMPTION

Query View for Purchasing Contract Reference Details

C_SupDmndAllDocPurgContrRefQ is a Consumption CDS View that provides data about "Query View for Purchasing Contract Reference Details" in SAP S/4HANA. It reads from 1 data source (I_SupDmndAllDocPurgContrRefC) and exposes 48 fields with key fields Material, Plant, Batch, StorageLocation, SupplyNumber.

Data Sources (1)

SourceAliasJoin Type
I_SupDmndAllDocPurgContrRefC I_SupDmndAllDocPurgContrRefC from

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName CSUPDMNDADPCRQ view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
EndUserText.label Query View for Purchasing Contract Reference Details view

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY Batch Batch Lot No.
KEY StorageLocation StorageLocation StorageLocation
KEY SupplyNumber SupplyNumber
KEY SupplyItem SupplyItem
KEY SupplyScheduleLine SupplyScheduleLine
KEY ProductAvailabilityDate ProductAvailabilityDate Mat.Avail.Date
KEY AssignedSupplyType AssignedSupplyType
KEY PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
RequestedDeliveryDate RequestedDeliveryDate Requested Delivery Date
SupAssgmtSource SupAssgmtSource
ReleasedQuantity ReleasedQuantity
BaseUnit BaseUnit Unit of Measure
CalendarYear CalendarYear Year
CalendarMonth CalendarMonth Calendar Month
CalendarMonthName CalendarMonthName
CalendarWeek CalendarWeek Calendar Week
CalendarDay CalendarDay Occur Day in a Month
MaterialGroup MaterialGroup Product Group
MaterialType MaterialType Material Type
CrossPlantConfigurableProduct CrossPlantConfigurableProduct Cross-plant CP
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesDistrict SalesDistrict Sales District
Customer Customer Sold-to Party
CompanyCode CompanyCode Receiver Company Code
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
NetPriceAmount NetPriceAmount Net Price
DocumentCurrency DocumentCurrency Document Currency
_BaseUnit _BaseUnit
_CatText _CatText
_CompanyCode _CompanyCode
_Customer _Customer
_DistrChnl _DistrChnl
_Divn _Divn
_Plant _Plant
_ProductGroupText _ProductGroupText
_ProductTypeText _ProductTypeText
_ProductText _ProductText
_PurchasingGroup _PurchasingGroup
_PurchasingOrganization _PurchasingOrganization
_SalesDist _SalesDist
_SalesOrgText _SalesOrgText
_SupSrceText _SupSrceText
_SupText _SupText

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_SupDmndAllDocPurgContrRefQ.
-- 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_SupDmndAllDocPurgContrRefQ AS
SELECT
  Material,
  Plant,
  Batch,
  StorageLocation,
  SupplyNumber,
  SupplyItem,
  SupplyScheduleLine,
  ProductAvailabilityDate,
  AssignedSupplyType,
  PurchasingDocumentCategory,
  RequestedDeliveryDate,
  SupAssgmtSource,
  ReleasedQuantity,
  BaseUnit,
  CalendarYear,
  CalendarMonth,
  CalendarMonthName,
  CalendarWeek,
  CalendarDay,
  MaterialGroup,
  MaterialType,
  CrossPlantConfigurableProduct,
  SalesOrganization,
  DistributionChannel,
  Division,
  SalesDistrict,
  Customer,
  CompanyCode,
  PurchasingOrganization,
  PurchasingGroup,
  NetPriceAmount,
  DocumentCurrency
FROM I_SupDmndAllDocPurgContrRefC
;