P_SupDmndAllDocPhysStkAssg
View for Physical Stock Assignment Details
P_SupDmndAllDocPhysStkAssg is a Composite CDS View that provides data about "View for Physical Stock Assignment Details" in SAP S/4HANA. It reads from 2 data sources (I_SupDmndAllDocBatStkAssgC, I_SupDmndAllDocNonBatStkAssgC) and exposes 68 fields with key fields Material, Plant, Batch, StorageLocation, SupplyNumber. Part of development package VDM_ARUN_ANALYTICS_ALL.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SupDmndAllDocBatStkAssgC | I_SupDmndAllDocBatStkAssgC | from |
| I_SupDmndAllDocNonBatStkAssgC | I_SupDmndAllDocNonBatStkAssgC | union_all |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.sqlViewName | PSUPDMNDADSTKA | 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 |
Fields (68)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | RequirementType | RequirementType | RequirementType | |
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| AssignedQuantityInBaseUnit | AssignedQuantityInBaseUnit | |||
| NormalAssignedQuantityInBsUnt | NormalAssignedQuantityInBsUnt | |||
| PreviewAssignedQuantityInBsUnt | PreviewAssignedQuantityInBsUnt | |||
| ARunTmpAssignedQuantityInBsUnt | ARunTmpAssignedQuantityInBsUnt | |||
| 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 | ||
| SupAssgmtSource | SupAssgmtSource | |||
| 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 | ||
| 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 | RequirementType | RequirementType | RequirementType | |
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| AssignedQuantityInBaseUnit | AssignedQuantityInBaseUnit | |||
| NormalAssignedQuantityInBsUnt | NormalAssignedQuantityInBsUnt | |||
| PreviewAssignedQuantityInBsUnt | PreviewAssignedQuantityInBsUnt | |||
| ARunTmpAssignedQuantityInBsUnt | ARunTmpAssignedQuantityInBsUnt | |||
| 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 | ||
| SupAssgmtSource | SupAssgmtSource | |||
| 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 |
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_SupDmndAllDocPhysStkAssg.
-- 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_SupDmndAllDocPhysStkAssg AS
SELECT
Material,
Plant,
Batch,
StorageLocation,
SupplyNumber,
SupplyItem,
SupplyScheduleLine,
ProductAvailabilityDate,
AssignedSupplyType,
RequirementType,
RequestedDeliveryDate,
AssignedQuantityInBaseUnit,
NormalAssignedQuantityInBsUnt,
PreviewAssignedQuantityInBsUnt,
ARunTmpAssignedQuantityInBsUnt,
BaseUnit,
CalendarYear,
CalendarMonth,
CalendarMonthName,
CalendarWeek,
CalendarDay,
MaterialGroup,
MaterialType,
SupAssgmtSource,
CrossPlantConfigurableProduct,
SalesOrganization,
DistributionChannel,
Division,
SalesDistrict,
Customer,
CompanyCode,
PurchasingOrganization,
PurchasingGroup,
NetPriceAmount,
DocumentCurrency
FROM I_SupDmndAllDocBatStkAssgC
-- UNION ALL with additional select branch(es): I_SupDmndAllDocNonBatStkAssgC
;
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