C_MDProductChangeProcess

DDL: C_MDPRODUCTCHANGEPROCESS SQL: CMDPRODCHGPROC Type: view CONSUMPTION Package: MDC_MAT_MODEL

MD Product Change Process

C_MDProductChangeProcess is a Consumption CDS View that provides data about "MD Product Change Process" in SAP S/4HANA. It reads from 1 data source (I_MasterDataChangeProcessEnhcd) and exposes 38 fields with key field MasterDataChangeProcess. It has 8 associations to related views. It is exposed through 1 OData service (ASQL_F3139). Part of development package MDC_MAT_MODEL.

Data Sources (1)

SourceAliasJoin Type
I_MasterDataChangeProcessEnhcd I_MasterDataChangeProcessEnhcd from

Associations (8)

CardinalityTargetAliasCondition
[0..1] I_UnitOfMeasure _UnitOfMeasureDays $projection.MDChgProcAvgProcgDaysUnit = _UnitOfMeasureDays.UnitOfMeasure
[0..1] C_MDChgProcProductCreatorVH _MDChgProcProductCreatorVH $projection.CreatedByUser = _MDChgProcProductCreatorVH.CreatedByUser
[1..1] C_MDProductChgProcessTypeVH _MDProductChgProcessTypeVH $projection.MDChgProcessTypeID = _MDProductChgProcessTypeVH.MDChgProcessTypeID
[0..1] C_MDProductChgProcessGoalVH _MDProductChgProcessGoalVH $projection.MDChgProcessGoal = _MDProductChgProcessGoalVH.MDChgProcessGoal
[0..*] I_MDChgProcessTypeText _MDChgProcessTypeText $projection.MDChgProcessTypeID = _MDChgProcessTypeText.MDChgProcessTypeID
[0..*] I_MDChangeProcGoalT _MDChangeProcGoalT $projection.MDChgProcessGoal = _MDChangeProcGoalT.MDChgProcessGoal
[0..*] I_MDChgProcessStatusStateT _MDChgProcessStatusStateT $projection.MDChgProcessStatusStateCode = _MDChgProcessStatusStateT.MDChgProcessStatusStateCode
[0..*] I_UnitOfMeasureText _UnitOfMeasureText $projection.MDChgProcAvgProcgDaysUnit = _UnitOfMeasureText.UnitOfMeasure

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CMDPRODCHGPROC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey MasterDataChangeProcess view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
Search.searchable true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3139 ASQL_F3139 C2 NOT_RELEASED

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess MasterDataChangeProcess Process ID
MDChgProcessDescription MDChgProcessDescription Process Description
MDChgProcessTypeID MDChgProcessTypeID Process Template
MDChgProcessGoal MDChgProcessGoal Process Goal
MDChgProcessStatusStateCode MDChgProcessStatusStateCode
MDChgProcessStatus MDChgProcessStatus Process Status
CreatedByUser MDChgProcessRequestor Process Requestor
CreatedByUserName _MDChgProcProductCreatorVH CreatedByUserName Person Resp.
CreationDate MDChgProcessCreationDate
CreationYearMonth _MDChgProcCalendarDate YearMonth Year Month
MDChgProcessCreationTime MDChgProcessCreationTime
MDChgProcessWorkflowTemplate MDChgProcessWorkflowTemplate
MDChgProcessChangeDate MDChgProcessChangeDate
MDChgProcessChangeTime MDChgProcessChangeTime
MDChgProcessFinishDate MDChgProcessFinishDate
MDChgProcessFinishTime MDChgProcessFinishTime
MDChgProcessChkPointIsActive MDChgProcessChkPointIsActive
MDChgProcessPredecessor MDChgProcessPredecessor
MDChgProcessFinalDateTime MDChgProcessFinalDateTime
MDChgProcessNextStpAtDateTime MDChgProcessNextStpAtDateTime
MDChgProcessDuplicateStrategy MDChgProcessDuplicateStrategy
MDChgProcAvgProcgDaysUnit
MDChangeProcessCount
MDChgProcessNmbrOfSrceRecords _MDChangeProcessSourceEnhcd MDChgProcessNmbrOfSrceRecords
MDChgProcModifdObjectsCount _MDChgProcModifdObjectsEnhcd MDChgProcModifdObjectsCount
MDChgProcValdtnErrorCount _MDChangeProcValdtnRslts MDChgProcValdtnErrorCount
MDChgProcRAPBsdSwitchIsActive MDChgProcRAPBsdSwitchIsActive TRUE
_MDProductChgProcessGoalVH _MDProductChgProcessGoalVH
_MDChangeProcStatus _MDChangeProcStatus
_MDChgProcProductCreatorVH _MDChgProcProductCreatorVH
_MDProductChgProcessTypeVH _MDProductChgProcessTypeVH
_MDChgProcessStatusState _MDChgProcessStatusState
_YearMonth _MDChgProcCalendarDate _YearMonth
_UnitOfMeasureDays _UnitOfMeasureDays
_MDChgProcessTypeText _MDChgProcessTypeText
_MDChangeProcGoalT _MDChangeProcGoalT
_MDChgProcessStatusStateT _MDChgProcessStatusStateT
_UnitOfMeasureText _UnitOfMeasureText

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 C_MDProductChangeProcess.
-- 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: CMDPRODCHGPROC

CREATE VIEW C_MDProductChangeProcess AS
SELECT
  MasterDataChangeProcess,
  MDChgProcessDescription,
  MDChgProcessTypeID,
  MDChgProcessGoal,
  MDChgProcessStatusStateCode,
  MDChgProcessStatus,
  MDChgProcessRequestor AS CreatedByUser,
  _MDChgProcProductCreatorVH.CreatedByUserName AS CreatedByUserName,
  MDChgProcessCreationDate AS CreationDate,
  _MDChgProcCalendarDate.YearMonth AS CreationYearMonth,
  MDChgProcessCreationTime,
  MDChgProcessWorkflowTemplate,
  MDChgProcessChangeDate,
  MDChgProcessChangeTime,
  MDChgProcessFinishDate,
  MDChgProcessFinishTime,
  MDChgProcessChkPointIsActive,
  MDChgProcessPredecessor,
  MDChgProcessFinalDateTime,
  MDChgProcessNextStpAtDateTime,
  MDChgProcessDuplicateStrategy,
  cast( 'TAG' as unit ) AS MDChgProcAvgProcgDaysUnit,
  cast (1 as abap.int4 ) AS MDChangeProcessCount,
  _MDChangeProcessSourceEnhcd.MDChgProcessNmbrOfSrceRecords AS MDChgProcessNmbrOfSrceRecords,
  _MDChgProcModifdObjectsEnhcd.MDChgProcModifdObjectsCount AS MDChgProcModifdObjectsCount,
  _MDChangeProcValdtnRslts.MDChgProcValdtnErrorCount AS MDChgProcValdtnErrorCount,
  MDChgProcRAPBsdSwitchIsActive,
  _MDChgProcCalendarDate._YearMonth AS _YearMonth
FROM I_MasterDataChangeProcessEnhcd
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasureDays ON MDChgProcAvgProcgDaysUnit = _UnitOfMeasureDays.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN C_MDChgProcProductCreatorVH AS _MDChgProcProductCreatorVH ON CreatedByUser = _MDChgProcProductCreatorVH.CreatedByUser  -- association [0..1]
LEFT OUTER JOIN C_MDProductChgProcessTypeVH AS _MDProductChgProcessTypeVH ON MDChgProcessTypeID = _MDProductChgProcessTypeVH.MDChgProcessTypeID  -- association [1..1]
LEFT OUTER JOIN C_MDProductChgProcessGoalVH AS _MDProductChgProcessGoalVH ON MDChgProcessGoal = _MDProductChgProcessGoalVH.MDChgProcessGoal  -- association [0..1]
LEFT OUTER JOIN I_MDChgProcessTypeText AS _MDChgProcessTypeText ON MDChgProcessTypeID = _MDChgProcessTypeText.MDChgProcessTypeID  -- association [0..*]
LEFT OUTER JOIN I_MDChangeProcGoalT AS _MDChangeProcGoalT ON MDChgProcessGoal = _MDChangeProcGoalT.MDChgProcessGoal  -- association [0..*]
LEFT OUTER JOIN I_MDChgProcessStatusStateT AS _MDChgProcessStatusStateT ON MDChgProcessStatusStateCode = _MDChgProcessStatusStateT.MDChgProcessStatusStateCode  -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitOfMeasureText ON MDChgProcAvgProcgDaysUnit = _UnitOfMeasureText.UnitOfMeasure  -- association [0..*]
;