I_MDChgProcessMatchGroupRecord

DDL: I_MDCHGPROCESSMATCHGROUPRECORD SQL: IMTCGRPREC Type: view COMPOSITE

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.

Data Sources (9)

SourceAliasJoin 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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess I_MDChgProcIntmdMatchGrp MasterDataChangeProcess Process ID
KEY MDChgProcessMatchGroupID I_MDChgProcIntmdMatchGrp MDChgProcessMatchGroupID Match Group
KEY MDChgProcessSrceSystem I_MDChgProcIntmdMatchGrp MDChgProcessSrceSystem Source System
KEY MDChgProcessSrceObject I_MDChgProcIntmdMatchGrp MDChgProcessSrceObject Source ID
KEY MDChgProcessSrceObjectTypeCode I_MDChgProcessStep MDChgProcessSrceObjectTypeCode Bus. Obj. Type
MDChgProcMatchGrpIsBestRecord I_MDChgProcIntmdMatchGrp MDChgProcMatchGrpIsBestRecord Truth Value
MDChgProcMatchGrpApprvlStatus I_MDChgProcIntmdMatchGrp MDChgProcMatchGrpApprvlStatus Status
MDChgProcMatchGroupApprover I_MDChgProcIntmdMatchGrp MDChgProcMatchGroupApprover PPA Req Approver
MDChgProcMatchGrpApprvlDteTime I_MDChgProcIntmdMatchGrp MDChgProcMatchGrpApprvlDteTime Step Completed At
MDChgProcMatchGroupOriginalID I_MDChgProcIntmdMatchGrp MDChgProcMatchGroupOriginalID Match Group
MasterDataChangeProcess Process ID
KEY MDChgProcessMatchGroupID I_MDChgProcIntmdMatchGrp MDChgProcessMatchGroupID Match Group
KEY MDChgProcessSrceSystem I_MDChgProcIntmdMatchGrp MDChgProcessSrceSystem Source System
KEY MDChgProcessSrceObject I_MDChgProcIntmdMatchGrp MDChgProcessSrceObject Source ID
KEY MDChgProcessSrceObjectTypeCode I_MDChgProcIntmdMatchGrp MDChgProcessSrceObjectTypeCode Bus. Obj. Type
MDChgProcMatchGrpIsBestRecord I_MDChgProcIntmdMatchGrp MDChgProcMatchGrpIsBestRecord Truth Value
MDChgProcMatchGrpApprvlStatus I_MDChgProcIntmdMatchGrp MDChgProcMatchGrpApprvlStatus Status
MDChgProcMatchGroupApprover I_MDChgProcIntmdMatchGrp MDChgProcMatchGroupApprover PPA Req Approver
MDChgProcMatchGrpApprvlDteTime I_MDChgProcIntmdMatchGrp MDChgProcMatchGrpApprvlDteTime Step Completed At
MDChgProcMatchGroupOriginalID I_MDChgProcIntmdMatchGrp MDChgProcMatchGroupOriginalID Match Group
MDChangeProcessIsActiveRecord

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_MDChgProcessMatchGroupRecord.
-- 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.
-- SQL view name: IMTCGRPREC

CREATE VIEW I_MDChgProcessMatchGroupRecord AS
SELECT
  MatchGroup.MasterDataChangeProcess AS MasterDataChangeProcess,
  MatchGroup.MDChgProcessMatchGroupID AS MDChgProcessMatchGroupID,
  MatchGroup.MDChgProcessSrceSystem AS MDChgProcessSrceSystem,
  MatchGroup.MDChgProcessSrceObject AS MDChgProcessSrceObject,
  Step.MDChgProcessSrceObjectTypeCode AS MDChgProcessSrceObjectTypeCode,
  MatchGroup.MDChgProcMatchGrpIsBestRecord AS MDChgProcMatchGrpIsBestRecord,
  MatchGroup.MDChgProcMatchGrpApprvlStatus AS MDChgProcMatchGrpApprvlStatus,
  MatchGroup.MDChgProcMatchGroupApprover AS MDChgProcMatchGroupApprover,
  MatchGroup.MDChgProcMatchGrpApprvlDteTime AS MDChgProcMatchGrpApprvlDteTime,
  MatchGroup.MDChgProcMatchGroupOriginalID AS MDChgProcMatchGroupOriginalID,
  cast( case when OwnSystem.MDChgProcessSrceSystem is not null then 'X' else ' ' end as boole_d ) AS MDChangeProcessIsActiveRecord
FROM I_MDChgProcessMatchGroup AS MatchGroup
INNER JOIN P_MDChgProcLastCmpltdMtchgStp AS LastMTCStep ON /* join condition not captured in parsed metadata */
INNER JOIN I_MDChgProcessStep AS Step ON /* join condition not captured in parsed metadata */
INNER JOIN I_MDChgProcessMatchGroup AS BestRecord ON /* join condition not captured in parsed metadata */
INNER JOIN I_MasterDataChangeProcess AS Process ON /* join condition not captured in parsed metadata */
INNER JOIN I_MDChgProcessStep AS MatchingStep ON /* join condition not captured in parsed metadata */
INNER JOIN I_MDChgProcIntmdMatchGrp AS BestRecord ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): I_MDChgProcIntmdMatchGrp
;