I_MDChgProcessMatchGroupRecord
MD Consolidation Match Group Record
I_MDChgProcessMatchGroupRecord is a Composite CDS View that provides data about "MD Consolidation Match Group Record" in SAP S/4HANA. It reads from 9 data sources and exposes 21 fields with key fields MasterDataChangeProcess, MDChgProcessMatchGroupID, MDChgProcessSrceSystem, MDChgProcessSrceObject, MDChgProcessSrceObjectTypeCode. Part of development package MDC_MODEL.
Data Sources (9)
| Source | Alias | Join Type |
|---|---|---|
| I_MDChgProcessMatchGroup | BestRecord | inner |
| I_MDChgProcIntmdMatchGrp | BestRecord | inner |
| P_MDChgProcLastCmpltdMtchgStp | LastMTCStep | inner |
| P_MDChgProcLastCmpltdMtchgStp | LastMTCStep | inner |
| I_MDChgProcessMatchGroup | MatchGroup | from |
| I_MDChgProcIntmdMatchGrp | MatchGroup | union |
| I_MDChgProcessStep | MatchingStep | inner |
| I_MasterDataChangeProcess | Process | inner |
| I_MDChgProcessStep | Step | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMTCGRPREC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | MD Consolidation Match Group Record | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataChangeProcess | I_MDChgProcIntmdMatchGrp | MasterDataChangeProcess | |
| KEY | MDChgProcessMatchGroupID | I_MDChgProcIntmdMatchGrp | MDChgProcessMatchGroupID | |
| KEY | MDChgProcessSrceSystem | I_MDChgProcIntmdMatchGrp | MDChgProcessSrceSystem | |
| KEY | MDChgProcessSrceObject | I_MDChgProcIntmdMatchGrp | MDChgProcessSrceObject | |
| KEY | MDChgProcessSrceObjectTypeCode | I_MDChgProcessStep | MDChgProcessSrceObjectTypeCode | |
| MDChgProcMatchGrpIsBestRecord | I_MDChgProcIntmdMatchGrp | MDChgProcMatchGrpIsBestRecord | ||
| MDChgProcMatchGrpApprvlStatus | I_MDChgProcIntmdMatchGrp | MDChgProcMatchGrpApprvlStatus | ||
| MDChgProcMatchGroupApprover | I_MDChgProcIntmdMatchGrp | MDChgProcMatchGroupApprover | ||
| MDChgProcMatchGrpApprvlDteTime | I_MDChgProcIntmdMatchGrp | MDChgProcMatchGrpApprvlDteTime | ||
| MDChgProcMatchGroupOriginalID | I_MDChgProcIntmdMatchGrp | MDChgProcMatchGroupOriginalID | ||
| MasterDataChangeProcess | ||||
| KEY | MDChgProcessMatchGroupID | I_MDChgProcIntmdMatchGrp | MDChgProcessMatchGroupID | |
| KEY | MDChgProcessSrceSystem | I_MDChgProcIntmdMatchGrp | MDChgProcessSrceSystem | |
| KEY | MDChgProcessSrceObject | I_MDChgProcIntmdMatchGrp | MDChgProcessSrceObject | |
| KEY | MDChgProcessSrceObjectTypeCode | I_MDChgProcIntmdMatchGrp | MDChgProcessSrceObjectTypeCode | |
| MDChgProcMatchGrpIsBestRecord | I_MDChgProcIntmdMatchGrp | MDChgProcMatchGrpIsBestRecord | ||
| MDChgProcMatchGrpApprvlStatus | I_MDChgProcIntmdMatchGrp | MDChgProcMatchGrpApprvlStatus | ||
| MDChgProcMatchGroupApprover | I_MDChgProcIntmdMatchGrp | MDChgProcMatchGroupApprover | ||
| MDChgProcMatchGrpApprvlDteTime | I_MDChgProcIntmdMatchGrp | MDChgProcMatchGrpApprvlDteTime | ||
| MDChgProcMatchGroupOriginalID | I_MDChgProcIntmdMatchGrp | MDChgProcMatchGroupOriginalID | ||
| MDChangeProcessIsActiveRecord |
@AbapCatalog.sqlViewName: 'IMTCGRPREC'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'MD Consolidation Match Group Record'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.viewType: #COMPOSITE
define view I_MDChgProcessMatchGroupRecord
as select from I_MDChgProcessMatchGroup as MatchGroup
inner join P_MDChgProcLastCmpltdMtchgStp as LastMTCStep on MatchGroup.MasterDataChangeProcess = LastMTCStep.MasterDataChangeProcess
inner join I_MDChgProcessStep as Step on LastMTCStep.MasterDataChangeProcess = Step.MasterDataChangeProcess
and LastMTCStep.MDChgProcessStep = Step.MDChgProcessStep
inner join I_MDChgProcessMatchGroup as BestRecord on MatchGroup.MasterDataChangeProcess = BestRecord.MasterDataChangeProcess
and MatchGroup.MDChgProcessMatchGroupID = BestRecord.MDChgProcessMatchGroupID
and BestRecord.MDChgProcMatchGrpIsBestRecord = 'X'
left outer to one join I_MDChgProcOwnBusinessSystem as OwnSystem on MatchGroup.MDChgProcessSrceSystem = OwnSystem.MDChgProcessSrceSystem
{
key MatchGroup.MasterDataChangeProcess,
key MatchGroup.MDChgProcessMatchGroupID,
key MatchGroup.MDChgProcessSrceSystem,
key MatchGroup.MDChgProcessSrceObject,
key Step.MDChgProcessSrceObjectTypeCode,
MatchGroup.MDChgProcMatchGrpIsBestRecord,
MatchGroup.MDChgProcMatchGrpApprvlStatus,
MatchGroup.MDChgProcMatchGroupApprover,
MatchGroup.MDChgProcMatchGrpApprvlDteTime,
MatchGroup.MDChgProcMatchGroupOriginalID,
cast( case when OwnSystem.MDChgProcessSrceSystem is not null then 'X' else ' ' end as boole_d ) as MDChangeProcessIsActiveRecord
}
union select from I_MDChgProcIntmdMatchGrp as MatchGroup
inner join I_MasterDataChangeProcess as Process on MatchGroup.MasterDataChangeProcess = Process.MasterDataChangeProcess
inner join P_MDChgProcLastCmpltdMtchgStp as LastMTCStep on MatchGroup.MasterDataChangeProcess = LastMTCStep.MasterDataChangeProcess
inner join I_MDChgProcessStep as MatchingStep on MatchGroup.MasterDataChangeProcess = MatchingStep.MasterDataChangeProcess
and MatchingStep.MDChgProcessStepType = 'MTC'
and MatchingStep.MDChgProcessStepStatus = '4'
and LastMTCStep.MDChgProcessStep <> MatchingStep.MDChgProcessStep
inner join I_MDChgProcIntmdMatchGrp as BestRecord on MatchGroup.MasterDataChangeProcess = BestRecord.MasterDataChangeProcess
and MatchGroup.MDChgProcessMatchGroupID = BestRecord.MDChgProcessMatchGroupID
and BestRecord.MDChgProcMatchGrpIsBestRecord = 'X'
left outer to one join I_MDChgProcOwnBusinessSystem as OwnSystem on MatchGroup.MDChgProcessSrceSystem = OwnSystem.MDChgProcessSrceSystem
{
key MatchGroup.MasterDataChangeProcess,
key MatchGroup.MDChgProcessMatchGroupID,
key MatchGroup.MDChgProcessSrceSystem,
key MatchGroup.MDChgProcessSrceObject,
key MatchGroup.MDChgProcessSrceObjectTypeCode,
MatchGroup.MDChgProcMatchGrpIsBestRecord,
MatchGroup.MDChgProcMatchGrpApprvlStatus,
MatchGroup.MDChgProcMatchGroupApprover,
MatchGroup.MDChgProcMatchGrpApprvlDteTime,
MatchGroup.MDChgProcMatchGroupOriginalID,
cast( case when OwnSystem.MDChgProcessSrceSystem is not null then 'X' else ' ' end as boole_d ) as MDChangeProcessIsActiveRecord
}
where
Process.MDChgProcessStatus <> 'F'
and Process.MDChgProcessIsErased <> 'X'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA