I_MDChgProcessMatchGroupTP

DDL: I_MDCHGPROCESSMATCHGROUPTP Type: view_entity TRANSACTIONAL Package: MDC_MODEL

Master Data Consolidation: Match Group

I_MDChgProcessMatchGroupTP is a Transactional CDS View that provides data about "Master Data Consolidation: Match Group" in SAP S/4HANA. It reads from 2 data sources (I_MasterDataChangeProcess, I_MDChgProcMatchGrpRecdCount) and exposes 14 fields with key fields MasterDataChangeProcess, MDChgProcessMatchGroupID, MDChgProcessSrceObjectTypeCode. It has 5 associations to related views. Part of development package MDC_MODEL.

Data Sources (2)

SourceAliasJoin Type
I_MasterDataChangeProcess MasterDataChangeProcess inner
I_MDChgProcMatchGrpRecdCount MatchGroup from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_MDChgProcessMatchGroupRecord _MatchGroupBestRecord $projection.MasterDataChangeProcess = _MatchGroupBestRecord.MasterDataChangeProcess and $projection.MDChgProcessMatchGroupID = _MatchGroupBestRecord.MDChgProcessMatchGroupID and _MatchGroupBestRecord.MDChgProcMatchGrpIsBestRecord = 'X'
[1..1] I_MDChgProcessApprovalStatus _MatchGroupApprovalStatus $projection.MDChgProcMatchGrpApprvlStatus = _MatchGroupApprovalStatus.MDChangeProcessApprovalStatus
[0..1] P_MDChgProcessOpenMatchGroup _OpenMatchGroup $projection.MasterDataChangeProcess = _OpenMatchGroup.MasterDataChangeProcess and $projection.MDChgProcessMatchGroupID = _OpenMatchGroup.MDChgProcessMatchGroupID
[0..1] I_MDChgProcessStepTP _Step _Step.MasterDataChangeProcess = $projection.MasterDataChangeProcess and _Step.MDChgProcessStep = $projection.MDChgProcessStep
[1..*] I_MDChgProcMatchGroupRecordTP _MatchGroupRecord

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Master Data Consolidation: Match Group view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #TRANSACTIONAL view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess I_MDChgProcMatchGrpRecdCount MasterDataChangeProcess Process ID
KEY MDChgProcessMatchGroupID I_MDChgProcMatchGrpRecdCount MDChgProcessMatchGroupID
KEY MDChgProcessSrceObjectTypeCode I_MDChgProcMatchGrpRecdCount MDChgProcessSrceObjectTypeCode Bus. Obj. Type
MDChgProcessStep I_MDChgProcMatchGrpRecdCount MDChgProcessStep Step Number
MDChgProcessNmbrOfSrceRecords I_MDChgProcMatchGrpRecdCount MDChgProcessNmbrOfSrceRecords
MDChgProcessGoal I_MasterDataChangeProcess MDChgProcessGoal Process Goal
MDChgProcessCurrentStepNumber I_MasterDataChangeProcess MDChgProcessCurrentStepNumber Step Number
MasterDataChangeProcessUUID I_MasterDataChangeProcess MasterDataChangeProcessUUID NodeID
MDChgProcessStepWrkflwSts _Step MDChgProcessStepWrkflwSts
MDChgProcessStepWrkflwOvrlDcsn _Step MDChgProcessStepWrkflwOvrlDcsn
_MatchGroupRecord _MatchGroupRecord
_MatchGroupBestRecord _MatchGroupBestRecord
_MatchGroupApprovalStatus _MatchGroupApprovalStatus
_CurrentProcessStep

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_MDChgProcessMatchGroupTP.
-- 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_MDChgProcessMatchGroupTP AS
SELECT
  MatchGroup.MasterDataChangeProcess AS MasterDataChangeProcess,
  MatchGroup.MDChgProcessMatchGroupID AS MDChgProcessMatchGroupID,
  MatchGroup.MDChgProcessSrceObjectTypeCode AS MDChgProcessSrceObjectTypeCode,
  MatchGroup.MDChgProcessStep AS MDChgProcessStep,
  MatchGroup.MDChgProcessNmbrOfSrceRecords AS MDChgProcessNmbrOfSrceRecords,
  MasterDataChangeProcess.MDChgProcessGoal AS MDChgProcessGoal,
  MasterDataChangeProcess.MDChgProcessCurrentStepNumber AS MDChgProcessCurrentStepNumber,
  MasterDataChangeProcess.MasterDataChangeProcessUUID AS MasterDataChangeProcessUUID,
  _Step.MDChgProcessStepWrkflwSts AS MDChgProcessStepWrkflwSts,
  _Step.MDChgProcessStepWrkflwOvrlDcsn AS MDChgProcessStepWrkflwOvrlDcsn,
  MasterDataChangeProcess._MDChgProcessStep[ MDChgProcessStep = MDChgProcessCurrentStepNumber ] AS _CurrentProcessStep
FROM I_MDChgProcMatchGrpRecdCount AS MatchGroup
INNER JOIN I_MasterDataChangeProcess AS MasterDataChangeProcess ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MDChgProcessMatchGroupRecord AS _MatchGroupBestRecord ON MasterDataChangeProcess = _MatchGroupBestRecord.MasterDataChangeProcess AND MDChgProcessMatchGroupID = _MatchGroupBestRecord.MDChgProcessMatchGroupID AND _MatchGroupBestRecord.MDChgProcMatchGrpIsBestRecord = 'X'  -- association [1..1]
LEFT OUTER JOIN I_MDChgProcessApprovalStatus AS _MatchGroupApprovalStatus ON MDChgProcMatchGrpApprvlStatus = _MatchGroupApprovalStatus.MDChangeProcessApprovalStatus  -- association [1..1]
LEFT OUTER JOIN P_MDChgProcessOpenMatchGroup AS _OpenMatchGroup ON MasterDataChangeProcess = _OpenMatchGroup.MasterDataChangeProcess AND MDChgProcessMatchGroupID = _OpenMatchGroup.MDChgProcessMatchGroupID  -- association [0..1]
LEFT OUTER JOIN I_MDChgProcessStepTP AS _Step ON _Step.MasterDataChangeProcess = MasterDataChangeProcess AND _Step.MDChgProcessStep = MDChgProcessStep  -- association [0..1]
LEFT OUTER JOIN I_MDChgProcMatchGroupRecordTP AS _MatchGroupRecord ON /* condition not available in parsed metadata */  -- association [1..*]
;