I_BPHierChangeProcessGov

DDL: I_BPHIERCHANGEPROCESSGOV Type: view_entity Package: MDC_BP_HIER_GOV_BO

Change Process (Governance) of BPH

I_BPHierChangeProcessGov is a CDS View that provides data about "Change Process (Governance) of BPH" in SAP S/4HANA. It reads from 2 data sources (bph_hier_prc, I_MasterDataChangeProcess) and exposes 21 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject. It has 2 associations to related views. Part of development package MDC_BP_HIER_GOV_BO.

Data Sources (2)

SourceAliasJoin Type
bph_hier_prc BPHierProcess inner
I_MasterDataChangeProcess Process from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_MDChangeProcessReasonText _ReasonText _ReasonText.MasterDataChangeProcessReason = $projection.MasterDataChangeProcessReason and _ReasonText.MDChgProcessSrceObjectTypeCode = $projection.MDChgProcessSrceObjectTypeCode and _ReasonText.Language = $session.system_language
[0..1] I_MDChangeProcessPriorityText _PriorityText _PriorityText.MDChangeProcessPriority = $projection.MDChangeProcessPriority and _PriorityText.Language = $session.system_language

Annotations (2)

NameValueLevelField
EndUserText.label Change Process (Governance) of BPH view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess bph_hier_prc process_id Process Instance ID
KEY MDChgProcessStep bph_hier_prc process_step_no Step Number
KEY MDChgProcessSrceSystem bph_hier_prc source_system Source System
KEY MDChgProcessSrceObject bph_hier_prc source_id UUID
MasterDataChangeProcessUUID I_MasterDataChangeProcess MasterDataChangeProcessUUID NodeID
MDChgProcessDescription I_MasterDataChangeProcess MDChgProcessDescription Process Description
MDChgProcessTypeID I_MasterDataChangeProcess MDChgProcessTypeID Process Template
MDChgProcessGoal I_MasterDataChangeProcess MDChgProcessGoal Process Goal
MDChgProcessStatus I_MasterDataChangeProcess MDChgProcessStatus Process Status
MDChgProcessSrceObjectTypeCode I_MasterDataChangeProcess MDChgProcessSrceObjectTypeCode Bus. Obj. Type
MDChgProcessRequestor I_MasterDataChangeProcess MDChgProcessRequestor Process Requestor
MDChgProcessIsStarted I_MasterDataChangeProcess MDChgProcessIsStarted Process Started
MDChgProcessIsFinalized I_MasterDataChangeProcess MDChgProcessIsFinalized Finalized
MDChgProcessLastStepIsFinished I_MasterDataChangeProcess MDChgProcessLastStepIsFinished Last Step Finished
MDChgProcessCurrentStepNumber I_MasterDataChangeProcess MDChgProcessCurrentStepNumber Step Number
MDChgProcessIsErased I_MasterDataChangeProcess MDChgProcessIsErased Process Erased
MasterDataChangeProcessReason I_MasterDataChangeProcess MasterDataChangeProcessReason Sp.Tax Code Reason
MDChangeProcessReasonText _ReasonText MDChangeProcessReasonText
MDChangeProcessPriority I_MasterDataChangeProcess MDChangeProcessPriority Workflow priority
MDChangeProcessPriorityText _PriorityText MDChangeProcessPriorityText
MasterDataChangeProcessDueDate I_MasterDataChangeProcess MasterDataChangeProcessDueDate Net Due Date

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_BPHierChangeProcessGov.
-- 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_BPHierChangeProcessGov AS
SELECT
  BPHierProcess.process_id AS MasterDataChangeProcess,
  BPHierProcess.process_step_no AS MDChgProcessStep,
  BPHierProcess.source_system AS MDChgProcessSrceSystem,
  BPHierProcess.source_id AS MDChgProcessSrceObject,
  Process.MasterDataChangeProcessUUID AS MasterDataChangeProcessUUID,
  Process.MDChgProcessDescription AS MDChgProcessDescription,
  Process.MDChgProcessTypeID AS MDChgProcessTypeID,
  Process.MDChgProcessGoal AS MDChgProcessGoal,
  Process.MDChgProcessStatus AS MDChgProcessStatus,
  Process.MDChgProcessSrceObjectTypeCode AS MDChgProcessSrceObjectTypeCode,
  Process.MDChgProcessRequestor AS MDChgProcessRequestor,
  Process.MDChgProcessIsStarted AS MDChgProcessIsStarted,
  Process.MDChgProcessIsFinalized AS MDChgProcessIsFinalized,
  Process.MDChgProcessLastStepIsFinished AS MDChgProcessLastStepIsFinished,
  Process.MDChgProcessCurrentStepNumber AS MDChgProcessCurrentStepNumber,
  Process.MDChgProcessIsErased AS MDChgProcessIsErased,
  Process.MasterDataChangeProcessReason AS MasterDataChangeProcessReason,
  _ReasonText.MDChangeProcessReasonText AS MDChangeProcessReasonText,
  Process.MDChangeProcessPriority AS MDChangeProcessPriority,
  _PriorityText.MDChangeProcessPriorityText AS MDChangeProcessPriorityText,
  Process.MasterDataChangeProcessDueDate AS MasterDataChangeProcessDueDate
FROM I_MasterDataChangeProcess AS Process
INNER JOIN bph_hier_prc AS BPHierProcess ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MDChangeProcessReasonText AS _ReasonText ON _ReasonText.MasterDataChangeProcessReason = MasterDataChangeProcessReason AND _ReasonText.MDChgProcessSrceObjectTypeCode = MDChgProcessSrceObjectTypeCode AND _ReasonText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_MDChangeProcessPriorityText AS _PriorityText ON _PriorityText.MDChangeProcessPriority = MDChangeProcessPriority AND _PriorityText.Language = $session.system_language  -- association [0..1]
;