I_MDChgProcStepUpdateKPI
MD Change Process Step Update KPI
I_MDChgProcStepUpdateKPI is a Basic CDS View that provides data about "MD Change Process Step Update KPI" in SAP S/4HANA. It reads from 1 data source (I_MDChangeProcessModelTable) and exposes 16 fields with key fields MDChgProcessStepUUID, MDChangeProcessStepTable. Part of development package MDC_PROCESS_OBJECT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MDChangeProcessModelTable | _Table | left_outer |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMDCHNGPRCUPDKPI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | MD Change Process Step Update KPI | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MDChgProcessStepUUID | Step | db_key | |
| KEY | MDChangeProcessStepTable | I_MDChangeProcessModelTable | MDChgProcessModelTableName | |
| MasterDataChangeProcess | Step | process_id | ||
| MDChgProcessStep | Step | step_number | ||
| MDChgProcessTypeID | _Root | type_id | ||
| MDChgProcessGoal | _Root | goal | ||
| MDChgProcessSrceObjectTypeCode | ||||
| MDChgProcessStepAdapter | Step | adapter | ||
| MDChgProcessStepType | Step | step_type | ||
| MDChgProcessStepStartDateTime | Step | started_at | ||
| MDChgProcessStepFinishDateTime | Step | finished_at | ||
| MDChgProcStpNmbrOfTotalRecords | ||||
| MDChgProcStpNrOfModifdRecords | ||||
| MDChgProcStpNrOfNotChgdRecords | ||||
| MDChgProcStpNrOfInsertRecords | ||||
| MDChgProcStpNrOfDeletedRecords |
@AbapCatalog.sqlViewName: 'IMDCHNGPRCUPDKPI'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@EndUserText.label: 'MD Change Process Step Update KPI'
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.semanticKey: ['MasterDataChangeProcess','MDChgProcessStep']
@VDM.viewType: #BASIC
@ObjectModel.alternativeKey: [{
id : 'MASTERDATACHANGEPROCESS',
uniqueness : #UNIQUE_IF_NOT_INITIAL,
element : ['MASTERDATACHANGEPROCESS']
},{
id : 'MDCHGPROCESSSTEP',
uniqueness : #UNIQUE_IF_NOT_INITIAL,
element : ['MDCHGPROCESSSTEP']
}]
@ObjectModel: {
resultSet.sizeCategory: #XS,
usageType.serviceQuality: #C,
usageType.sizeCategory: #L,
usageType.dataClass: #MIXED }
define view I_MDChgProcStepUpdateKPI
as select distinct from mdc_d_prcstep as Step
join mdc_d_prcroot as _Root on _Root.db_key = Step.parent_key
left outer join I_MDChangeProcessModelTable as _Table on _Table.MDChgProcessSrceObjectTypeCode = Step.source_otc
or _Table.MDChgProcessSrceObjectTypeCode = _Root.source_otc
{
//Step
key Step.db_key as MDChgProcessStepUUID,
key _Table.MDChgProcessModelTableName as MDChangeProcessStepTable,
Step.process_id as MasterDataChangeProcess,
Step.step_number as MDChgProcessStep,
_Root.type_id as MDChgProcessTypeID,
_Root.goal as MDChgProcessGoal,
case when Step.source_otc is initial then _Root.source_otc else Step.source_otc end as MDChgProcessSrceObjectTypeCode,
Step.adapter as MDChgProcessStepAdapter,
Step.step_type as MDChgProcessStepType,
@ObjectModel.readOnly: true
Step.started_at as MDChgProcessStepStartDateTime,
@ObjectModel.readOnly: true
Step.finished_at as MDChgProcessStepFinishDateTime,
@ObjectModel.readOnly: true
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_MDC_PROC_STEP_KPI_CALC_EXIT'
cast( 0 as abap.int4 ) as MDChgProcStpNmbrOfTotalRecords,
@ObjectModel.readOnly: true
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_MDC_PROC_STEP_KPI_CALC_EXIT'
cast( 0 as abap.int4 ) as MDChgProcStpNrOfModifdRecords,
@ObjectModel.readOnly: true
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_MDC_PROC_STEP_KPI_CALC_EXIT'
cast( 0 as abap.int4 ) as MDChgProcStpNrOfNotChgdRecords,
@ObjectModel.readOnly: true
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_MDC_PROC_STEP_KPI_CALC_EXIT'
cast( 0 as abap.int4 ) as MDChgProcStpNrOfInsertRecords,
@ObjectModel.readOnly: true
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_MDC_PROC_STEP_KPI_CALC_EXIT'
cast( 0 as abap.int4 ) as MDChgProcStpNrOfDeletedRecords
}
where
Step.step_type = 'UPD'
and(
Step.status = '4'
or Step.status = '5'
)
and(
_Root.last_step_finished <> 'X'
or _Root.status = 'R'
)
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