I_AsstmtMdlMDGenerationError

DDL: I_ASSTMTMDLMDGENERATIONERROR SQL: IASSTMTMDLGENERR Type: view COMPOSITE Package: RFM_ASSORTMENT_VDM

Error During Assortment Postprocessing

I_AsstmtMdlMDGenerationError is a Composite CDS View that provides data about "Error During Assortment Postprocessing" in SAP S/4HANA. It reads from 3 data sources (I_Product, I_Product, I_AsstmtMdlMDGenerationError_1) and exposes 33 fields with key fields AssortmentModuleUser, Product, ProductOfSuprordLstgCondition, Product, ProductOfSuprordLstgCondition. It has 4 associations to related views. Part of development package RFM_ASSORTMENT_VDM.

Data Sources (3)

SourceAliasJoin Type
I_Product I_Product inner
I_Product I_Product inner
I_AsstmtMdlMDGenerationError_1 rfm_asm_error from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Product _Product $projection.Product = _Product.Product
[1..1] I_Product _ProductOfSuprordLstgCondition $projection.ProductOfSuprordLstgCondition = _ProductOfSuprordLstgCondition.Product
[0..1] I_Site _Site $projection.AssortmentModuleUser = _Site.SiteCustomer
[0..1] I_UserContactCard _Processor _Processor.ContactCardID = $projection.Processor

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IASSTMTMDLGENERR view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Error During Assortment Postprocessing view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY AssortmentModuleUser I_AsstmtMdlMDGenerationError_1 AssortmentModuleUser
KEY Product I_AsstmtMdlMDGenerationError_1 Product
KEY ProductOfSuprordLstgCondition I_AsstmtMdlMDGenerationError_1 Product
SystemMessageClass I_AsstmtMdlMDGenerationError_1 SystemMessageClass
SystemMessageNumber I_AsstmtMdlMDGenerationError_1 SystemMessageNumber
SystemMessageVariable1 I_AsstmtMdlMDGenerationError_1 SystemMessageVariable1
SystemMessageVariable2 I_AsstmtMdlMDGenerationError_1 SystemMessageVariable2
SystemMessageVariable3 I_AsstmtMdlMDGenerationError_1 SystemMessageVariable3
SystemMessageVariable4 I_AsstmtMdlMDGenerationError_1 SystemMessageVariable4
LatestMasterDataGenerationDate I_AsstmtMdlMDGenerationError_1 LatestMasterDataGenerationDate
Processor I_AsstmtMdlMDGenerationError_1 Processor
LastChangeDateTime I_AsstmtMdlMDGenerationError_1 LastChangeDateTime
MasterDataGenerationIsRunning I_AsstmtMdlMDGenerationError_1 MasterDataGenerationIsRunning
_Product _Product
_Site _Site
_Processor _Processor
AssortmentModuleUser
KEY Product rfm_asm_error2 Product
KEY ProductOfSuprordLstgCondition rfm_asm_error2 ProductOfSuprordLstgCondition
SystemMessageClass rfm_asm_error2 SystemMessageClass
SystemMessageNumber rfm_asm_error2 SystemMessageNumber
SystemMessageVariable1 rfm_asm_error2 SystemMessageVariable1
SystemMessageVariable2 rfm_asm_error2 SystemMessageVariable2
SystemMessageVariable3 rfm_asm_error2 SystemMessageVariable3
SystemMessageVariable4 rfm_asm_error2 SystemMessageVariable4
LatestMasterDataGenerationDate rfm_asm_error2 LatestMasterDataGenerationDate
Processor rfm_asm_error2 Processor
LastChangeDateTime rfm_asm_error2 LastChangeDateTime
MasterDataGenerationIsRunning rfm_asm_error2 MasterDataGenerationIsRunning
_Product _Product
_Site _Site
_Processor _Processor
_ProductOfSuprordLstgCondition _ProductOfSuprordLstgCondition
@AbapCatalog.sqlViewName: 'IASSTMTMDLGENERR'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Error During Assortment Postprocessing'
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel.usageType: {
  serviceQuality: #C,
  sizeCategory: #L,
  dataClass: #TRANSACTIONAL
}
@VDM.viewType: #COMPOSITE
define view I_AsstmtMdlMDGenerationError
  as select from I_AsstmtMdlMDGenerationError_1 as rfm_asm_error
    inner join   I_Product on  I_Product.Product             = rfm_asm_error.Product
                           and I_Product.IsMarkedForDeletion is initial

  association [1..1] to I_Product         as _Product                       on $projection.Product = _Product.Product
  association [1..1] to I_Product         as _ProductOfSuprordLstgCondition on $projection.ProductOfSuprordLstgCondition = _ProductOfSuprordLstgCondition.Product
  /*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ]  } */
  association [0..1] to I_Site            as _Site                          on $projection.AssortmentModuleUser = _Site.SiteCustomer
  association [0..1] to I_UserContactCard as _Processor                     on _Processor.ContactCardID = $projection.Processor
{
  key rfm_asm_error.AssortmentModuleUser,
  key rfm_asm_error.Product,
  key rfm_asm_error.Product as ProductOfSuprordLstgCondition,
      rfm_asm_error.SystemMessageClass,
      rfm_asm_error.SystemMessageNumber,
      rfm_asm_error.SystemMessageVariable1,
      rfm_asm_error.SystemMessageVariable2,
      rfm_asm_error.SystemMessageVariable3,
      rfm_asm_error.SystemMessageVariable4,
      rfm_asm_error.LatestMasterDataGenerationDate,
      rfm_asm_error.Processor,
      rfm_asm_error.LastChangeDateTime,
      rfm_asm_error.MasterDataGenerationIsRunning,
      _Product,
      _Site,
      _Processor,
      _ProductOfSuprordLstgCondition
}
union all select distinct from I_AsstmtMdlMDGenerationError_2 as rfm_asm_error2
  inner join                   I_Product on  I_Product.Product             = rfm_asm_error2.Product
                                         and I_Product.IsMarkedForDeletion is initial

association [1..1] to I_Product         as _Product                       on $projection.Product = _Product.Product
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ]  } */
association [0..1] to I_Site            as _Site                          on $projection.AssortmentModuleUser = _Site.SiteCustomer
association [0..1] to I_UserContactCard as _Processor                     on _Processor.ContactCardID = $projection.Processor
association [1..1] to I_Product         as _ProductOfSuprordLstgCondition on $projection.ProductOfSuprordLstgCondition = _ProductOfSuprordLstgCondition.Product

{
  key rfm_asm_error2.AssortmentModuleUser,
  key rfm_asm_error2.Product,
  key rfm_asm_error2.ProductOfSuprordLstgCondition,
      rfm_asm_error2.SystemMessageClass,
      rfm_asm_error2.SystemMessageNumber,
      rfm_asm_error2.SystemMessageVariable1,
      rfm_asm_error2.SystemMessageVariable2,
      rfm_asm_error2.SystemMessageVariable3,
      rfm_asm_error2.SystemMessageVariable4,
      rfm_asm_error2.LatestMasterDataGenerationDate,
      rfm_asm_error2.Processor,
      rfm_asm_error2.LastChangeDateTime,
      rfm_asm_error2.MasterDataGenerationIsRunning,
      _Product,
      _Site,
      _Processor,
      _ProductOfSuprordLstgCondition
}