I_MDChgProcessTypeText is a Composite CDS View that provides data about "MD Change Process Type - Text" in SAP S/4HANA. It reads from 6 data sources and exposes 13 fields with key fields MDChgProcessTypeID, Language, Language, Language. It has 2 associations to related views. Part of development package MDC_ANALYTICS.
@AbapCatalog: {
sqlViewName: 'IMDCHGPROCTYPT',
compiler.compareFilter: true
}@AccessControl.authorizationCheck: #CHECK@ClientHandling.algorithm: #SESSION_VARIABLE@ObjectModel: {
dataCategory: #TEXT,
representativeKey: 'MDChgProcessTypeID',
usageType: { sizeCategory: #S, dataClass: #CUSTOMIZING, serviceQuality: #C }
}
@VDM.viewType: #COMPOSITE@Search.searchable: true@UI.textArrangement: #TEXT_ONLY@EndUserText.label: 'MD Change Process Type - Text'
defineview I_MDChgProcessTypeText
asselectfrom I_MDChgProcTypeDescRAPCustom as c
innerjoin I_MDChangeProcessTypeUnion as type on c.MDChgProcessTypeID = type.MDChgProcessTypeID
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
association [1..1] to I_MDChangeProcessTypeUnion as _MDChgProcessType on $projection.MDChgProcessTypeID = _MDChgProcessType.MDChgProcessTypeID
{
key c.MDChgProcessTypeID,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.languagekey c.Language,
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.7, ranking: #LOW }@Semantics.text@EndUserText: { label: 'Template Description', quickInfo: 'Template Description'}@Consumption.filter.hidden: true
c.MDChgProcessTypeDesc,
// Associations
_Language,
@Consumption.hidden: true
_MDChgProcessType
}
unionselectfrom I_MDChgProcTypeDescRapBased as RAPBasedDescription
innerjoin I_MDChangeProcessTypeUnion as type on RAPBasedDescription.MDChgProcessTypeID = type.MDChgProcessTypeID
leftouter to many join I_MDChgProcTypeDescRAPCustom as RapCustomDescription on RapCustomDescription.MDChgProcessTypeID = type.MDChgProcessTypeID
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
association [1..1] to I_MDChangeProcessTypeUnion as _MDChgProcessType on $projection.MDChgProcessTypeID = _MDChgProcessType.MDChgProcessTypeID
{
key RAPBasedDescription.MDChgProcessTypeID,
key RAPBasedDescription.Language,
RAPBasedDescription.MDChgProcessTypeDesc,
// Associations
_Language,
_MDChgProcessType
}
where
RapCustomDescription.MDChgProcessTypeID isnullunionselectfrom I_MDChgProcessTypeDescription as ClassicDescription
innerjoin I_MDChangeProcessTypeUnion as type on ClassicDescription.MDChgProcessTypeID = type.MDChgProcessTypeID
leftouter to one join I_MDChgProcTypeDescRapBased as RAPBasedDescription on ClassicDescription.MDChgProcessTypeID = RAPBasedDescription.MDChgProcessTypeID
and ClassicDescription.Language = RAPBasedDescription.Language
leftouter to one join I_MDChgProcTypeDescRAPCustom as RapCustomDescription on ClassicDescription.MDChgProcessTypeID = RapCustomDescription.MDChgProcessTypeID
and ClassicDescription.Language = RapCustomDescription.Language
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
association [1..1] to I_MDChangeProcessTypeUnion as _MDChgProcessType on $projection.MDChgProcessTypeID = _MDChgProcessType.MDChgProcessTypeID
{
key ClassicDescription.MDChgProcessTypeID,
key ClassicDescription.Language,
ClassicDescription.MDChgProcessTypeDesc,
// Associations
_Language,
_MDChgProcessType
}
where
RAPBasedDescription.MDChgProcessTypeID isnulland RapCustomDescription.MDChgProcessTypeID isnull