I_ExplicitAssortmentModule

DDL: I_EXPLICITASSORTMENTMODULE Type: view_entity BASIC

Assortment Module

I_ExplicitAssortmentModule is a Basic CDS View that provides data about "Assortment Module" in SAP S/4HANA. It reads from 1 data source (rfm_asm_exp_mod) and exposes 12 fields with key field AssortmentModuleUUID. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
rfm_asm_exp_mod rfm_asm_exp_mod from

Associations (7)

CardinalityTargetAliasCondition
[1..*] I_ExplicitAsstmtModuleVersion _Versions $projection.AssortmentModuleUUID = _Versions.AssortmentModuleUUID
[0..*] I_AssortmentModuleText _Descriptions $projection.AssortmentModuleUUID = _Descriptions.AssortmentModuleUUID
[0..*] I_ProdToExplicitAsstmtModule _Product _Product.AssortmentModuleUUID = $projection.AssortmentModuleUUID
[0..*] I_AsstmtMdlUserProductExclsn _Exclusion _Exclusion.AssortmentModuleObjectUUID = $projection.AssortmentModuleUUID
[0..1] I_AsstmtMdlMaxVersValidityEnd _MaxVersionValidityEnd _MaxVersionValidityEnd.AssortmentModuleUUID = $projection.AssortmentModuleUUID
[0..1] I_NrOfFutrVersionsForAsstmtMdl _NrOfFutureVersions _NrOfFutureVersions.AssortmentModuleUUID = $projection.AssortmentModuleUUID
[0..1] I_NrOfAsstmtUsersForAsstmtMdl _NrOfAssortmentUsers _NrOfAssortmentUsers.AssortmentModuleUUID = $projection.AssortmentModuleUUID

Annotations (7)

NameValueLevelField
EndUserText.label Assortment Module view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
AccessControl.authorizationCheck #CHECK view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY AssortmentModuleUUID module_guid Assortment UUID
AssortmentModuleName module_name Assortment Module
LastChangeDate
LastChangeDateTime last_changed_at Timestamp
LastChangedByUserName last_changed_by Username
_Product _Product
_Descriptions _Descriptions
_Exclusion _Exclusion
_Versions _Versions
_MaxVersionValidityEnd _MaxVersionValidityEnd
_NrOfFutureVersions _NrOfFutureVersions
_NrOfAssortmentUsers _NrOfAssortmentUsers

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_ExplicitAssortmentModule.
-- 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_ExplicitAssortmentModule AS
SELECT
  module_guid AS AssortmentModuleUUID,
  module_name AS AssortmentModuleName,
  tstmp_to_dats( last_changed_at, $session.user_timezone, $session.client, 'NULL' ) AS LastChangeDate,
  last_changed_at AS LastChangeDateTime,
  last_changed_by AS LastChangedByUserName
FROM rfm_asm_exp_mod
LEFT OUTER JOIN I_ExplicitAsstmtModuleVersion AS _Versions ON AssortmentModuleUUID = _Versions.AssortmentModuleUUID  -- association [1..*]
LEFT OUTER JOIN I_AssortmentModuleText AS _Descriptions ON AssortmentModuleUUID = _Descriptions.AssortmentModuleUUID  -- association [0..*]
LEFT OUTER JOIN I_ProdToExplicitAsstmtModule AS _Product ON _Product.AssortmentModuleUUID = AssortmentModuleUUID  -- association [0..*]
LEFT OUTER JOIN I_AsstmtMdlUserProductExclsn AS _Exclusion ON _Exclusion.AssortmentModuleObjectUUID = AssortmentModuleUUID  -- association [0..*]
LEFT OUTER JOIN I_AsstmtMdlMaxVersValidityEnd AS _MaxVersionValidityEnd ON _MaxVersionValidityEnd.AssortmentModuleUUID = AssortmentModuleUUID  -- association [0..1]
LEFT OUTER JOIN I_NrOfFutrVersionsForAsstmtMdl AS _NrOfFutureVersions ON _NrOfFutureVersions.AssortmentModuleUUID = AssortmentModuleUUID  -- association [0..1]
LEFT OUTER JOIN I_NrOfAsstmtUsersForAsstmtMdl AS _NrOfAssortmentUsers ON _NrOfAssortmentUsers.AssortmentModuleUUID = AssortmentModuleUUID  -- association [0..1]
;