I_AsstmtMdlUsrToAsstmtMdl

DDL: I_ASSTMTMDLUSRTOASSTMTMDL SQL: IASMUSERTOMOD Type: view COMPOSITE

Assortment User Assignment to Assortment Module

I_AsstmtMdlUsrToAsstmtMdl is a Composite CDS View that provides data about "Assortment User Assignment to Assortment Module" in SAP S/4HANA. It reads from 2 data sources (P_MaximumSiteValidityStartDate, I_AsstmtMdlUsrToAsstmtMdl_2) and exposes 10 fields with key fields AssortmentModuleObjectUUID, AssortmentModuleUser. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
P_MaximumSiteValidityStartDate max_assignment inner
I_AsstmtMdlUsrToAsstmtMdl_2 site_assignment from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Site _Site _Site.SiteCustomer = site_assignment.AssortmentModuleUser and( _Site.SiteCategory = 'A' or _Site.SiteCategory = 'B' )

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IASMUSERTOMOD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Assortment User Assignment to Assortment Module view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #NONE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY AssortmentModuleObjectUUID I_AsstmtMdlUsrToAsstmtMdl_2 AssortmentModuleObjectUUID Recipe GUID
KEY AssortmentModuleUser I_AsstmtMdlUsrToAsstmtMdl_2 AssortmentModuleUser Plant
ValidityStartDate I_AsstmtMdlUsrToAsstmtMdl_2 ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
LastChangedByUserName LastChangedByUserName User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangeDate LastChangeDate Time Stamp
_Site _Site

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_AsstmtMdlUsrToAsstmtMdl.
-- 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.
-- SQL view name: IASMUSERTOMOD

CREATE VIEW I_AsstmtMdlUsrToAsstmtMdl AS
SELECT
  site_assignment.AssortmentModuleObjectUUID AS AssortmentModuleObjectUUID,
  site_assignment.AssortmentModuleUser AS AssortmentModuleUser,
  site_assignment.ValidityStartDate AS ValidityStartDate,
  ValidityEndDate,
  SalesOrganization,
  DistributionChannel,
  LastChangedByUserName,
  LastChangeDateTime,
  LastChangeDate
FROM I_AsstmtMdlUsrToAsstmtMdl_2 AS site_assignment
INNER JOIN P_MaximumSiteValidityStartDate AS max_assignment ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Site AS _Site ON _Site.SiteCustomer = site_assignment.AssortmentModuleUser AND( _Site.SiteCategory = 'A' OR _Site.SiteCategory = 'B' )  -- association [0..1]
;