I_LoglProductAssgmtDCToStore
Logistical Product DC Store Assignment
I_LoglProductAssgmtDCToStore is a Composite CDS View that provides data about "Logistical Product DC Store Assignment" in SAP S/4HANA. It reads from 2 data sources (P_StoreGrpFromClfnStore, I_MPPurchasingSourceItem) and exposes 14 fields with key fields Material, Store, SourceListRecord. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_StoreGrpFromClfnStore | P_StoreGrpFromClfnStore | left_outer |
| I_MPPurchasingSourceItem | SourceList | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Plant | _Store | $projection.Store = _Store.Plant |
| [0..1] | I_Plant | _DistributionCenter | $projection.DistributionCenter = _DistributionCenter.Plant |
| [1..1] | I_ActiveLogisticalProduct | _ActiveLogisticalProduct | $projection.Material = _ActiveLogisticalProduct.Product |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| AbapCatalog.sqlViewName | ILOGLPRODASSDCST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Logistical Product DC Store Assignment | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | I_MPPurchasingSourceItem | Material | Vehicle Model |
| KEY | Store | |||
| KEY | SourceListRecord | I_MPPurchasingSourceItem | SourceListRecord | Number |
| SupplierendasSupplier | ||||
| DistributionCenter | ||||
| PurchasingOrganization | I_MPPurchasingSourceItem | PurchasingOrganization | Purchasing Organization | |
| ValidityStartDate | ||||
| ValidityEndDate | ||||
| LastChangeDateTime | I_MPPurchasingSourceItem | LastChangeDateTime | Timestamp | |
| StoreGroupInternalID | _AssgdStoreGroup | StoreGroupInternalID | ||
| _Store | _Store | |||
| _DistributionCenter | _DistributionCenter | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _ActiveLogisticalProduct | _ActiveLogisticalProduct |
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 I_LoglProductAssgmtDCToStore.
-- 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 I_LoglProductAssgmtDCToStore AS
SELECT
SourceList.Material AS Material,
cast(SourceList.Plant as store) AS Store,
SourceList.SourceListRecord AS SourceListRecord,
case I_Supplier.IsBusinessPurposeCompleted when 'X' then '*****' else SourceList.Supplier end as Supplier AS SupplierendasSupplier,
cast(I_Plant.Plant as distributioncenter) AS DistributionCenter,
SourceList.PurchasingOrganization AS PurchasingOrganization,
cast(SourceList.ValidityStartDate as validitystartdate preserving type) AS ValidityStartDate,
cast(SourceList.ValidityEndDate as validityenddate preserving type) AS ValidityEndDate,
SourceList.LastChangeDateTime AS LastChangeDateTime,
_AssgdStoreGroup.StoreGroupInternalID AS StoreGroupInternalID
FROM I_MPPurchasingSourceItem AS SourceList
LEFT OUTER JOIN P_StoreGrpFromClfnStore ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS _Store ON Store = _Store.Plant -- association [0..1]
LEFT OUTER JOIN I_Plant AS _DistributionCenter ON DistributionCenter = _DistributionCenter.Plant -- association [0..1]
LEFT OUTER JOIN I_ActiveLogisticalProduct AS _ActiveLogisticalProduct ON Material = _ActiveLogisticalProduct.Product -- association [1..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