I_ExplicitAsstmtMdlVersionTP

DDL: I_EXPLICITASSTMTMDLVERSIONTP Type: view_entity TRANSACTIONAL

Assortment Module Version

I_ExplicitAsstmtMdlVersionTP is a Transactional CDS View that provides data about "Assortment Module Version" in SAP S/4HANA. It reads from 1 data source (I_ExplicitAsstmtModuleVersion) and exposes 15 fields with key field AssortmentModuleVersionUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ExplicitAsstmtModuleVersion Version from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_ProdToExplctAsstmtMdlVersTP _Product _Product.AssortmentModuleUUID = $projection.AssortmentModuleVersionUUID
[0..*] I_ExplctAssMdlUsrProdExclsnTP _Exclusion _Exclusion.AssortmentModuleObjectUUID = $projection.AssortmentModuleUUID
[1..1] I_ExplicitAssortmentModuleTP _Module _Module.AssortmentModuleUUID = $projection.AssortmentModuleUUID
[0..1] I_UserContactCard _User _User.ContactCardID = $projection.LastChangedByUserName
[0..*] I_ExplicitAsstmtMdlVersionTTP _Text

Annotations (8)

NameValueLevelField
EndUserText.label Assortment Module Version view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.sapObjectNodeType.name AssortmentModule view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY AssortmentModuleVersionUUID AssortmentModuleVersionUUID
AssortmentModuleName AssortmentModuleName Assortment Module
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
AssortmentModuleUUID I_ExplicitAsstmtModuleVersion AssortmentModuleUUID Assortment UUID
LastChangeDate I_ExplicitAsstmtModuleVersion LastChangeDate Time Stamp
LastChangeDateTime I_ExplicitAsstmtModuleVersion LastChangeDateTime Timestamp
LastChangedByUserName I_ExplicitAsstmtModuleVersion LastChangedByUserName User Name
IsExpired
AssortmentModuleVersionDescILL
_Text _Text
_Product _Product
_Exclusion _Exclusion
_Module _Module
_User _User

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_ExplicitAsstmtMdlVersionTP.
-- 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_ExplicitAsstmtMdlVersionTP AS
SELECT
  AssortmentModuleVersionUUID,
  AssortmentModuleName,
  ValidityStartDate,
  ValidityEndDate,
  Version.AssortmentModuleUUID AS AssortmentModuleUUID,
  Version.LastChangeDate AS LastChangeDate,
  Version.LastChangeDateTime AS LastChangeDateTime,
  Version.LastChangedByUserName AS LastChangedByUserName,
  cast(case when ValidityEndDate < $session.user_date then 'X' else '' end as boolean ) AS IsExpired,
  _Descriptions[1: Language=$session.system_language].AssortmentModuleObjectDesc AS AssortmentModuleVersionDescILL
FROM I_ExplicitAsstmtModuleVersion AS Version
LEFT OUTER JOIN I_ProdToExplctAsstmtMdlVersTP AS _Product ON _Product.AssortmentModuleUUID = AssortmentModuleVersionUUID  -- association [0..*]
LEFT OUTER JOIN I_ExplctAssMdlUsrProdExclsnTP AS _Exclusion ON _Exclusion.AssortmentModuleObjectUUID = AssortmentModuleUUID  -- association [0..*]
LEFT OUTER JOIN I_ExplicitAssortmentModuleTP AS _Module ON _Module.AssortmentModuleUUID = AssortmentModuleUUID  -- association [1..1]
LEFT OUTER JOIN I_UserContactCard AS _User ON _User.ContactCardID = LastChangedByUserName  -- association [0..1]
LEFT OUTER JOIN I_ExplicitAsstmtMdlVersionTTP AS _Text ON /* condition not available in parsed metadata */  -- association [0..*]
;