I_LoglProdAssgmtSuplrToStore

DDL: I_LOGLPRODASSGMTSUPLRTOSTORE Type: view COMPOSITE Package: RFM_ASSG_PROCMT_PROD

Logistical Product Supplier Store Assgmt

I_LoglProdAssgmtSuplrToStore is a Composite CDS View that provides data about "Logistical Product Supplier Store Assgmt" in SAP S/4HANA. It reads from 3 data sources (P_StoreGrpFromClfnStore, I_Plant, I_MPPurchasingSourceItem) and exposes 13 fields with key fields Material, Store, SourceListRecord. It has 3 associations to related views. Part of development package RFM_ASSG_PROCMT_PROD.

Data Sources (3)

SourceAliasJoin Type
P_StoreGrpFromClfnStore P_StoreGrpFromClfnStore left_outer
I_Plant Plant2 left_outer
I_MPPurchasingSourceItem SourceList from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_Plant _Store $projection.Store = _Store.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 ILOGLPRODSUPLRST 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 Supplier Store Assgmt view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY Material I_MPPurchasingSourceItem Material Vehicle Model
KEY Store
KEY SourceListRecord I_MPPurchasingSourceItem SourceListRecord Number
SupplierendasSupplier
PurchasingOrganization I_MPPurchasingSourceItem PurchasingOrganization Purchasing Organization
ValidityStartDate
ValidityEndDate
LastChangeDateTime I_MPPurchasingSourceItem LastChangeDateTime Timestamp
StoreGroupInternalID _AssgdStoreGroup StoreGroupInternalID
_Supplier _Supplier
_Store _Store
_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_LoglProdAssgmtSuplrToStore.
-- 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_LoglProdAssgmtSuplrToStore AS
SELECT
  SourceList.Material AS Material,
  cast(SourceList.Plant as store preserving type) AS Store,
  SourceList.SourceListRecord AS SourceListRecord,
  case I_Supplier.IsBusinessPurposeCompleted when 'X' then '*****' else SourceList.Supplier end as Supplier AS SupplierendasSupplier,
  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 I_Plant AS Plant2 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_StoreGrpFromClfnStore ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Store ON Store = _Store.Plant  -- association [0..1]
LEFT OUTER JOIN I_ActiveLogisticalProduct AS _ActiveLogisticalProduct ON Material = _ActiveLogisticalProduct.Product  -- association [1..1]
;