P_SupDmndAllDocRetDelivAssgmt
View for Returns Delivery
P_SupDmndAllDocRetDelivAssgmt is a Composite CDS View that provides data about "View for Returns Delivery" in SAP S/4HANA. It reads from 1 data source (I_SupDmndAllDocRetDeliv) and exposes 29 fields. Part of development package VDM_ARUN_ANALYTICS_ALL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupDmndAllDocRetDeliv | _SupDmndAllDocRetDeliv | 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 | PSUPDMNDRETDELAS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| SupplyNumber | I_SupDmndAllDocRetDeliv | SupplyNumber | ||
| SupplyItem | I_SupDmndAllDocRetDeliv | SupplyItem | ||
| SupplyScheduleLine | I_SupDmndAllDocRetDeliv | SupplyScheduleLine | ||
| AssignedSupplyType | I_SupDmndAllDocRetDeliv | AssignedSupplyType | ||
| SupAssgmtSource | I_SupDmndAllDocRetDeliv | SupAssgmtSource | ||
| SupplyDeliveryDate | I_SupDmndAllDocRetDeliv | SupplyDeliveryDate | Mat.Avail.Date | |
| ProductAvailabilityDate | I_SupDmndAllDocRetDeliv | ProductAvailabilityDate | Mat.Avail.Date | |
| RequestedDeliveryDate | I_SupDmndAllDocRetDeliv | RequestedDeliveryDate | Requested Delivery Date | |
| TotalQuantity | I_SupDmndAllDocRetDeliv | TotalQuantity | Activity Quantity | |
| OpenSupplyQuantity | ||||
| BaseUnit | I_SupDmndAllDocRetDeliv | BaseUnit | Unit of Measure | |
| Material | I_SupDmndAllDocRetDeliv | Material | Vehicle Model | |
| MaterialGroup | I_SupDmndAllDocRetDeliv | MaterialGroup | Product Group | |
| Plant | I_SupDmndAllDocRetDeliv | Plant | Valuation Area | |
| OrderType | I_SupDmndAllDocRetDeliv | OrderType | Order Type | |
| PurchasingOrganization | I_SupDmndAllDocRetDeliv | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | I_SupDmndAllDocRetDeliv | PurchasingGroup | Purchasing Group | |
| SalesOrganization | I_SupDmndAllDocRetDeliv | SalesOrganization | Sales Organization | |
| SalesDistrict | I_SupDmndAllDocRetDeliv | SalesDistrict | Sales District | |
| Batch | I_SupDmndAllDocRetDeliv | Batch | Lot No. | |
| StorageLocation | I_SupDmndAllDocRetDeliv | StorageLocation | StorageLocation | |
| MaterialType | I_SupDmndAllDocRetDeliv | MaterialType | Material Type | |
| StockSegment | I_SupDmndAllDocRetDeliv | StockSegment | Stock Segment | |
| CrossPlantConfigurableProduct | I_SupDmndAllDocRetDeliv | CrossPlantConfigurableProduct | Cross-plant CP | |
| Customer | I_SupDmndAllDocRetDeliv | Customer | Sold-to Party | |
| Supplier | I_SupDmndAllDocRetDeliv | Supplier | Supplier | |
| CompanyCode | I_SupDmndAllDocRetDeliv | CompanyCode | Receiver Company Code | |
| NetPriceAmount | I_SupDmndAllDocRetDeliv | NetPriceAmount | Net Price | |
| DocumentCurrency | I_SupDmndAllDocRetDeliv | 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_SupDmndAllDocRetDelivAssgmt.
-- 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_SupDmndAllDocRetDelivAssgmt AS
SELECT
_SupDmndAllDocRetDeliv.SupplyNumber AS SupplyNumber,
_SupDmndAllDocRetDeliv.SupplyItem AS SupplyItem,
_SupDmndAllDocRetDeliv.SupplyScheduleLine AS SupplyScheduleLine,
_SupDmndAllDocRetDeliv.AssignedSupplyType AS AssignedSupplyType,
_SupDmndAllDocRetDeliv.SupAssgmtSource AS SupAssgmtSource,
_SupDmndAllDocRetDeliv.SupplyDeliveryDate AS SupplyDeliveryDate,
_SupDmndAllDocRetDeliv.ProductAvailabilityDate AS ProductAvailabilityDate,
_SupDmndAllDocRetDeliv.RequestedDeliveryDate AS RequestedDeliveryDate,
_SupDmndAllDocRetDeliv.TotalQuantity AS TotalQuantity,
( _SupDmndAllDocRetDeliv.OpenSupplyQuantity - coalesce( _ARunAssgmtSup.AssignedQuantityInBaseUnit , 0 ) ) AS OpenSupplyQuantity,
_SupDmndAllDocRetDeliv.BaseUnit AS BaseUnit,
_SupDmndAllDocRetDeliv.Material AS Material,
_SupDmndAllDocRetDeliv.MaterialGroup AS MaterialGroup,
_SupDmndAllDocRetDeliv.Plant AS Plant,
_SupDmndAllDocRetDeliv.OrderType AS OrderType,
_SupDmndAllDocRetDeliv.PurchasingOrganization AS PurchasingOrganization,
_SupDmndAllDocRetDeliv.PurchasingGroup AS PurchasingGroup,
_SupDmndAllDocRetDeliv.SalesOrganization AS SalesOrganization,
_SupDmndAllDocRetDeliv.SalesDistrict AS SalesDistrict,
_SupDmndAllDocRetDeliv.Batch AS Batch,
_SupDmndAllDocRetDeliv.StorageLocation AS StorageLocation,
_SupDmndAllDocRetDeliv.MaterialType AS MaterialType,
_SupDmndAllDocRetDeliv.StockSegment AS StockSegment,
_SupDmndAllDocRetDeliv.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
_SupDmndAllDocRetDeliv.Customer AS Customer,
_SupDmndAllDocRetDeliv.Supplier AS Supplier,
_SupDmndAllDocRetDeliv.CompanyCode AS CompanyCode,
_SupDmndAllDocRetDeliv.NetPriceAmount AS NetPriceAmount,
_SupDmndAllDocRetDeliv.DocumentCurrency AS DocumentCurrency
FROM I_SupDmndAllDocRetDeliv AS _SupDmndAllDocRetDeliv
;
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