P_EWM_Slotting
P_EWM_Slotting is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_EWM_WarehouseProductSlotting) and exposes 28 fields with key fields EWMWarehouse, Product, EntitledToDisposeParty. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_EWM_WarehouseProductSlotting | P_EWM_WarehouseProductSlotting | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_EWM_SltgRqmtInd03 | _SltgRqmtInd | $projection.EWMWarehouse = _SltgRqmtInd.EWMWarehouse and $projection.Product = _SltgRqmtInd.Product and $projection.EntitledToDisposeParty = _SltgRqmtInd.EntitledToDisposeParty |
| [0..1] | P_EWM_SltgDimnInd05 | _SltgDimnInd | $projection.EWMWarehouse = _SltgDimnInd.EWMWarehouse and $projection.Product = _SltgDimnInd.Product and $projection.EntitledToDisposeParty = _SltgDimnInd.EntitledToDisposeParty |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EWMWarehouse | EWMWarehouse | Warehouse No. | |
| KEY | Product | Product | Product Sold | |
| KEY | EntitledToDisposeParty | EntitledToDisposeParty | Disposal Party | |
| ProdSupChnMgmtUUID22 | ProdSupChnMgmtUUID22 | |||
| SupplyChainUnitUUID | SupplyChainUnitUUID | |||
| BusinessPartnerUUID | BusinessPartnerUUID | UUID | ||
| WarehouseStorageCondition | WarehouseStorageCondition | Stor. Condition | ||
| HandlingIndicator | HandlingIndicator | Handling Ind. | ||
| IsPilferable | IsPilferable | Pilferable | ||
| ProductGroup | ProductGroup | Product Sold Group | ||
| WarehouseProductGroup | WarehouseProductGroup | WH Mat.Grp | ||
| EWMPtwyControlStrategy | EWMPtwyControlStrategy | |||
| EWMStorageSectionMethod | EWMStorageSectionMethod | |||
| EWMStockRemovalControlStrategy | EWMStockRemovalControlStrategy | |||
| EWMBulkStorageMethod | EWMBulkStorageMethod | |||
| PreferredUnitOfMeasure | PreferredUnitOfMeasure | |||
| BaseUnit | BaseUnit | Unit of Measure | ||
| EWMSltgRequirementQuantity | EWMSltgRequirementQuantity | |||
| EWMSltgNumberOfSalesOrderItems | EWMSltgNumberOfSalesOrderItems | |||
| EWMSltgRecmddStorageQuantity | EWMSltgRecmddStorageQuantity | |||
| EWMSltgNrOfSlsOrdItmsIndCode | _SltgRqmtInd | EWMSltgNrOfSlsOrdItmsIndCode | ||
| EWMSltgRqmtQuantityIndCode | _SltgRqmtInd | EWMSltgRqmtQuantityIndCode | ||
| EWMSltgRecmddStorQtyIndCode | _SltgRqmtInd | EWMSltgRecmddStorQtyIndCode | ||
| EWMSlottingWeightSizeCode | _SltgDimnInd | EWMSlottingWeightSizeCode | ||
| EWMSlottingVolumeSizeCode | _SltgDimnInd | EWMSlottingVolumeSizeCode | ||
| EWMSlottingLengthSizeCode | _SltgDimnInd | EWMSlottingLengthSizeCode | ||
| EWMSlottingWidthSizeCode | _SltgDimnInd | EWMSlottingWidthSizeCode | ||
| EWMSlottingHeightSizeCode | _SltgDimnInd | EWMSlottingHeightSizeCode |
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_EWM_Slotting.
-- 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_EWM_Slotting AS
SELECT
EWMWarehouse,
Product,
EntitledToDisposeParty,
ProdSupChnMgmtUUID22,
SupplyChainUnitUUID,
BusinessPartnerUUID,
WarehouseStorageCondition,
HandlingIndicator,
IsPilferable,
ProductGroup,
WarehouseProductGroup,
EWMPtwyControlStrategy,
EWMStorageSectionMethod,
EWMStockRemovalControlStrategy,
EWMBulkStorageMethod,
PreferredUnitOfMeasure,
BaseUnit,
EWMSltgRequirementQuantity,
EWMSltgNumberOfSalesOrderItems,
EWMSltgRecmddStorageQuantity,
_SltgRqmtInd.EWMSltgNrOfSlsOrdItmsIndCode AS EWMSltgNrOfSlsOrdItmsIndCode,
_SltgRqmtInd.EWMSltgRqmtQuantityIndCode AS EWMSltgRqmtQuantityIndCode,
_SltgRqmtInd.EWMSltgRecmddStorQtyIndCode AS EWMSltgRecmddStorQtyIndCode,
_SltgDimnInd.EWMSlottingWeightSizeCode AS EWMSlottingWeightSizeCode,
_SltgDimnInd.EWMSlottingVolumeSizeCode AS EWMSlottingVolumeSizeCode,
_SltgDimnInd.EWMSlottingLengthSizeCode AS EWMSlottingLengthSizeCode,
_SltgDimnInd.EWMSlottingWidthSizeCode AS EWMSlottingWidthSizeCode,
_SltgDimnInd.EWMSlottingHeightSizeCode AS EWMSlottingHeightSizeCode
FROM P_EWM_WarehouseProductSlotting
LEFT OUTER JOIN P_EWM_SltgRqmtInd03 AS _SltgRqmtInd ON EWMWarehouse = _SltgRqmtInd.EWMWarehouse AND Product = _SltgRqmtInd.Product AND EntitledToDisposeParty = _SltgRqmtInd.EntitledToDisposeParty -- association [0..1]
LEFT OUTER JOIN P_EWM_SltgDimnInd05 AS _SltgDimnInd ON EWMWarehouse = _SltgDimnInd.EWMWarehouse AND Product = _SltgDimnInd.Product AND EntitledToDisposeParty = _SltgDimnInd.EntitledToDisposeParty -- association [0..1]
;
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