I_BPHierNodeChangeProcessGov

DDL: I_BPHIERNODECHANGEPROCESSGOV Type: view_entity Package: MDC_BP_HIER_GOV_BO

Change Process (Gov) of BP Hierarchy

I_BPHierNodeChangeProcessGov is a CDS View that provides data about "Change Process (Gov) of BP Hierarchy" in SAP S/4HANA. It reads from 2 data sources (bph_node_prc, I_MasterDataChangeProcess) and exposes 16 fields with key fields MasterDataChangeProcess, MDChgProcessSrceSystem, MDChgProcessSrceObject. Part of development package MDC_BP_HIER_GOV_BO.

Data Sources (2)

SourceAliasJoin Type
bph_node_prc BPHierNodeProcess inner
I_MasterDataChangeProcess Process from

Annotations (2)

NameValueLevelField
EndUserText.label Change Process (Gov) of BP Hierarchy view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess bph_node_prc process_id
KEY MDChgProcessSrceSystem bph_node_prc source_system
KEY MDChgProcessSrceObject bph_node_prc source_id
MDChgProcessStep bph_node_prc process_step_no
MasterDataChangeProcessUUID I_MasterDataChangeProcess MasterDataChangeProcessUUID
MDChgProcessDescription I_MasterDataChangeProcess MDChgProcessDescription
MDChgProcessTypeID I_MasterDataChangeProcess MDChgProcessTypeID
MDChgProcessGoal I_MasterDataChangeProcess MDChgProcessGoal
MDChgProcessStatus I_MasterDataChangeProcess MDChgProcessStatus
MDChgProcessSrceObjectTypeCode I_MasterDataChangeProcess MDChgProcessSrceObjectTypeCode
MDChgProcessRequestor I_MasterDataChangeProcess MDChgProcessRequestor
MDChgProcessIsStarted I_MasterDataChangeProcess MDChgProcessIsStarted
MDChgProcessIsFinalized I_MasterDataChangeProcess MDChgProcessIsFinalized
MDChgProcessLastStepIsFinished I_MasterDataChangeProcess MDChgProcessLastStepIsFinished
MDChgProcessCurrentStepNumber I_MasterDataChangeProcess MDChgProcessCurrentStepNumber
MDChgProcessIsErased I_MasterDataChangeProcess MDChgProcessIsErased
@EndUserText.label: 'Change Process (Gov) of BP Hierarchy'
@AccessControl.authorizationCheck: #NOT_REQUIRED

define view entity I_BPHierNodeChangeProcessGov
  as select from I_MasterDataChangeProcess as Process
    inner join   bph_node_prc              as BPHierNodeProcess on BPHierNodeProcess.process_id = Process.MasterDataChangeProcess
{

  key BPHierNodeProcess.process_id      as MasterDataChangeProcess,      
  key BPHierNodeProcess.source_system   as MDChgProcessSrceSystem,
  key BPHierNodeProcess.source_id       as MDChgProcessSrceObject,
  //key 

      BPHierNodeProcess.process_step_no as MDChgProcessStep,
      
      Process.MasterDataChangeProcessUUID,
      Process.MDChgProcessDescription,
      Process.MDChgProcessTypeID,
      Process.MDChgProcessGoal,
      Process.MDChgProcessStatus,
      Process.MDChgProcessSrceObjectTypeCode,
      Process.MDChgProcessRequestor,
      Process.MDChgProcessIsStarted,
      Process.MDChgProcessIsFinalized,
      Process.MDChgProcessLastStepIsFinished,
      Process.MDChgProcessCurrentStepNumber,
      Process.MDChgProcessIsErased
}
where
  (
        BPHierNodeProcess.process_step_no     =  Process.MDChgProcessCurrentStepNumber
    and Process.MDChgProcessCurrentStepNumber <> '0000'
  )
  or(
        BPHierNodeProcess.process_step_no     =  '0001'
    and Process.MDChgProcessCurrentStepNumber =  '0000'
  )