I_LoglProductAssgmtDCToDC

DDL: I_LOGLPRODUCTASSGMTDCTODC Type: view COMPOSITE Package: RFM_ASSG_PROCMT_PROD

Logistical Product DC DC Assignment

I_LoglProductAssgmtDCToDC is a Composite CDS View that provides data about "Logistical Product DC DC Assignment" in SAP S/4HANA. It reads from 1 data source (I_MPPurchasingSourceItem) and exposes 13 fields with key fields Material, ReceivingDistributionCenter, SourceListRecord. It has 3 associations to related views. Part of development package RFM_ASSG_PROCMT_PROD.

Data Sources (1)

SourceAliasJoin Type
I_MPPurchasingSourceItem SourceList from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Plant _ReceivingDistributionCenter $projection.ReceivingDistributionCenter = _ReceivingDistributionCenter.Plant
[0..1] I_Plant _SupplyingDistributionCenter $projection.SupplyingDistributionCenter = _SupplyingDistributionCenter.Plant
[1..1] I_ActiveLogisticalProduct _ActiveLogisticalProduct $projection.Material = _ActiveLogisticalProduct.Product

Annotations (11)

NameValueLevelField
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
AbapCatalog.sqlViewName ILOGLPRODASSDCDC 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 DC Assignment view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY Material I_MPPurchasingSourceItem Material Vehicle Model
KEY ReceivingDistributionCenter
KEY SourceListRecord I_MPPurchasingSourceItem SourceListRecord Number
SupplierendasSupplier
SupplyingDistributionCenter
PurchasingOrganization I_MPPurchasingSourceItem PurchasingOrganization Purchasing Organization
ValidityStartDate
ValidityEndDate
LastChangeDateTime I_MPPurchasingSourceItem LastChangeDateTime Timestamp
_ReceivingDistributionCenter _ReceivingDistributionCenter
_SupplyingDistributionCenter _SupplyingDistributionCenter
_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_LoglProductAssgmtDCToDC.
-- 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_LoglProductAssgmtDCToDC AS
SELECT
  SourceList.Material AS Material,
  cast(SourceList.Plant as receivingdistributioncenter preserving type) AS ReceivingDistributionCenter,
  SourceList.SourceListRecord AS SourceListRecord,
  case I_Supplier.IsBusinessPurposeCompleted when 'X' then '*****' else SourceList.Supplier end as Supplier AS SupplierendasSupplier,
  cast(SupplyingPlant.Plant as supplyingdistributioncenter preserving type) AS SupplyingDistributionCenter,
  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
FROM I_MPPurchasingSourceItem AS SourceList
LEFT OUTER JOIN I_Plant AS _ReceivingDistributionCenter ON ReceivingDistributionCenter = _ReceivingDistributionCenter.Plant  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _SupplyingDistributionCenter ON SupplyingDistributionCenter = _SupplyingDistributionCenter.Plant  -- association [0..1]
LEFT OUTER JOIN I_ActiveLogisticalProduct AS _ActiveLogisticalProduct ON Material = _ActiveLogisticalProduct.Product  -- association [1..1]
;