P_SupDmndAllDocPurgContrAssgmt
View for Purchasing COntract
P_SupDmndAllDocPurgContrAssgmt is a Composite CDS View that provides data about "View for Purchasing COntract" in SAP S/4HANA. It reads from 1 data source (I_SupDmndAllDocPurgContr) and exposes 31 fields. Part of development package VDM_ARUN_ANALYTICS_ALL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupDmndAllDocPurgContr | _SupDmndAddDocPurgContr | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PSUPDMNDPURCONAS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| SupplyNumber | I_SupDmndAllDocPurgContr | SupplyNumber | ||
| SupplyItem | I_SupDmndAllDocPurgContr | SupplyItem | ||
| SupplyScheduleLine | I_SupDmndAllDocPurgContr | SupplyScheduleLine | ||
| AssignedSupplyType | I_SupDmndAllDocPurgContr | AssignedSupplyType | ||
| SupAssgmtSource | I_SupDmndAllDocPurgContr | SupAssgmtSource | ||
| SupplyDeliveryDate | I_SupDmndAllDocPurgContr | SupplyDeliveryDate | Start date | |
| ProductAvailabilityDate | I_SupDmndAllDocPurgContr | ProductAvailabilityDate | Mat.Avail.Date | |
| RequestedDeliveryDate | I_SupDmndAllDocPurgContr | RequestedDeliveryDate | Requested Delivery Date | |
| TotalQuantity | I_SupDmndAllDocPurgContr | TotalQuantity | Activity Quantity | |
| OpenSupplyQuantity | ||||
| ReleasedQuantity | I_SupDmndAllDocPurgContr | ReleasedQuantity | ||
| AssignedQuantityInBaseUnit | I_SupDmndAllDocPurgContr | AssignedQuantityInBaseUnit | ||
| NormalAssignedQuantityInBsUnt | I_SupDmndAllDocPurgContr | NormalAssignedQuantityInBsUnt | ||
| PreviewAssignedQuantityInBsUnt | I_SupDmndAllDocPurgContr | PreviewAssignedQuantityInBsUnt | ||
| BaseUnit | I_SupDmndAllDocPurgContr | BaseUnit | Unit of Measure | |
| Material | I_SupDmndAllDocPurgContr | Material | Vehicle Model | |
| MaterialGroup | I_SupDmndAllDocPurgContr | MaterialGroup | Product Group | |
| Plant | I_SupDmndAllDocPurgContr | Plant | Valuation Area | |
| MaterialType | I_SupDmndAllDocPurgContr | MaterialType | Material Type | |
| StockSegment | I_SupDmndAllDocPurgContr | StockSegment | Stock Segment | |
| CrossPlantConfigurableProduct | I_SupDmndAllDocPurgContr | CrossPlantConfigurableProduct | Cross-plant CP | |
| OrderType | I_SupDmndAllDocPurgContr | OrderType | Order Type | |
| PurchasingOrganization | I_SupDmndAllDocPurgContr | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | I_SupDmndAllDocPurgContr | PurchasingGroup | Purchasing Group | |
| Batch | I_SupDmndAllDocPurgContr | Batch | Lot No. | |
| StorageLocation | I_SupDmndAllDocPurgContr | StorageLocation | StorageLocation | |
| Customer | I_SupDmndAllDocPurgContr | Customer | Sold-to Party | |
| Supplier | I_SupDmndAllDocPurgContr | Supplier | Supplier | |
| CompanyCode | I_SupDmndAllDocPurgContr | CompanyCode | Receiver Company Code | |
| NetPriceAmount | I_SupDmndAllDocPurgContr | NetPriceAmount | Net Price | |
| DocumentCurrency | I_SupDmndAllDocPurgContr | DocumentCurrency | Document Currency |
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 P_SupDmndAllDocPurgContrAssgmt.
-- 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 P_SupDmndAllDocPurgContrAssgmt AS
SELECT
_SupDmndAddDocPurgContr.SupplyNumber AS SupplyNumber,
_SupDmndAddDocPurgContr.SupplyItem AS SupplyItem,
_SupDmndAddDocPurgContr.SupplyScheduleLine AS SupplyScheduleLine,
_SupDmndAddDocPurgContr.AssignedSupplyType AS AssignedSupplyType,
_SupDmndAddDocPurgContr.SupAssgmtSource AS SupAssgmtSource,
_SupDmndAddDocPurgContr.SupplyDeliveryDate AS SupplyDeliveryDate,
_SupDmndAddDocPurgContr.ProductAvailabilityDate AS ProductAvailabilityDate,
_SupDmndAddDocPurgContr.RequestedDeliveryDate AS RequestedDeliveryDate,
_SupDmndAddDocPurgContr.TotalQuantity AS TotalQuantity,
( _SupDmndAddDocPurgContr.OpenSupplyQuantity - coalesce( _ARunAssgmtSup.AssignedQuantityInBaseUnit , 0 ) ) AS OpenSupplyQuantity,
_SupDmndAddDocPurgContr.ReleasedQuantity AS ReleasedQuantity,
_SupDmndAddDocPurgContr.AssignedQuantityInBaseUnit AS AssignedQuantityInBaseUnit,
_SupDmndAddDocPurgContr.NormalAssignedQuantityInBsUnt AS NormalAssignedQuantityInBsUnt,
_SupDmndAddDocPurgContr.PreviewAssignedQuantityInBsUnt AS PreviewAssignedQuantityInBsUnt,
_SupDmndAddDocPurgContr.BaseUnit AS BaseUnit,
_SupDmndAddDocPurgContr.Material AS Material,
_SupDmndAddDocPurgContr.MaterialGroup AS MaterialGroup,
_SupDmndAddDocPurgContr.Plant AS Plant,
_SupDmndAddDocPurgContr.MaterialType AS MaterialType,
_SupDmndAddDocPurgContr.StockSegment AS StockSegment,
_SupDmndAddDocPurgContr.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
_SupDmndAddDocPurgContr.OrderType AS OrderType,
_SupDmndAddDocPurgContr.PurchasingOrganization AS PurchasingOrganization,
_SupDmndAddDocPurgContr.PurchasingGroup AS PurchasingGroup,
_SupDmndAddDocPurgContr.Batch AS Batch,
_SupDmndAddDocPurgContr.StorageLocation AS StorageLocation,
_SupDmndAddDocPurgContr.Customer AS Customer,
_SupDmndAddDocPurgContr.Supplier AS Supplier,
_SupDmndAddDocPurgContr.CompanyCode AS CompanyCode,
_SupDmndAddDocPurgContr.NetPriceAmount AS NetPriceAmount,
_SupDmndAddDocPurgContr.DocumentCurrency AS DocumentCurrency
FROM I_SupDmndAllDocPurgContr AS _SupDmndAddDocPurgContr
;
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