I_UserToExplicitAsstmtModule_2

DDL: I_USERTOEXPLICITASSTMTMODULE_2 SQL: IUSRSTOASMMDL2 Type: view COMPOSITE Package: RFM_ASSORTMENT_VDM

Assortment User Assignment to Assortment Module

I_UserToExplicitAsstmtModule_2 is a Composite CDS View that provides data about "Assortment User Assignment to Assortment Module" in SAP S/4HANA. It reads from 1 data source (I_ExplicitAssortmentModule) and exposes 12 fields with key fields AssortmentModuleUUID, AssortmentModuleUser, ValidityStartDate. It has 1 association to related views. Part of development package RFM_ASSORTMENT_VDM.

Data Sources (1)

SourceAliasJoin Type
I_ExplicitAssortmentModule ExplicitModule inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ExclsnRatioForAsstmtMdlUser _ExclusionRatio $projection.AssortmentModuleUUID = _ExclusionRatio.AssortmentModuleUUID and $projection.AssortmentModuleUser = _ExclusionRatio.AssortmentModuleUser

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IUSRSTOASMMDL2 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Assortment User Assignment to Assortment Module 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 (12)

KeyFieldSource TableSource FieldDescription
KEY AssortmentModuleUUID I_ExplicitAssortmentModule AssortmentModuleUUID Assortment UUID
KEY AssortmentModuleUser AssortmentModuleUser
KEY ValidityStartDate AssortmentModuleUser ValidityStartDate Validity Start Date
AssortmentModuleName AssortmentModuleName Assortment Module
ValidityEndDate AssortmentModuleUser ValidityEndDate ValidTo
LastChangeDate AssortmentModuleUser LastChangeDate Time Stamp
LastChangeDateTime AssortmentModuleUser LastChangeDateTime Timestamp
LastChangedByUserName AssortmentModuleUser LastChangedByUserName User Name
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
_Site _Site
_ExclusionRatio _ExclusionRatio

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_UserToExplicitAsstmtModule_2.
-- 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: IUSRSTOASMMDL2

CREATE VIEW I_UserToExplicitAsstmtModule_2 AS
SELECT
  ExplicitModule.AssortmentModuleUUID AS AssortmentModuleUUID,
  AssortmentModuleUser,
  AssortmentModuleUser.ValidityStartDate AS ValidityStartDate,
  AssortmentModuleName,
  AssortmentModuleUser.ValidityEndDate AS ValidityEndDate,
  AssortmentModuleUser.LastChangeDate AS LastChangeDate,
  AssortmentModuleUser.LastChangeDateTime AS LastChangeDateTime,
  AssortmentModuleUser.LastChangedByUserName AS LastChangedByUserName,
  SalesOrganization,
  DistributionChannel
INNER JOIN I_ExplicitAssortmentModule AS ExplicitModule ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ExclsnRatioForAsstmtMdlUser AS _ExclusionRatio ON AssortmentModuleUUID = _ExclusionRatio.AssortmentModuleUUID AND AssortmentModuleUser = _ExclusionRatio.AssortmentModuleUser  -- association [0..1]
;