/APE/C_ProcStepCond_UI
Process Step Condition
/APE/C_ProcStepCond_UI is a Consumption CDS View that provides data about "Process Step Condition" in SAP S/4HANA. It reads from 1 data source (/APE/I_ProcStepCond_TP) and exposes 39 fields with key fields ProcessStepConditionKey, ProcessStepKey, ProcessKey. It has 10 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /APE/I_ProcStepCond_TP | Condition | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | /APE/C_Process_UI | _Process | _Process.ProcessKey = $projection.ProcessKey |
| [1..1] | /APE/C_ProcessStep_UI | _Step | _Step.ProcessStepKey = $projection.ProcessStepKey and _Step.ProcessKey = $projection.ProcessKey |
| [0..*] | /APE/C_ProcStepMap_UI | _StepMap | _StepMap.ProcessStepConditionKey = $projection.ProcessStepConditionKey and _StepMap.ProcessStepKey = $projection.ProcessStepKey and _StepMap.ProcessKey = $projection.ProcessKey |
| [0..1] | /APE/C_ProcessStep_VH | _ProcessStepVH | _ProcessStepVH.ProcessStepKey = $projection.PredecessorStepKey |
| [0..1] | /APE/C_ProcessValue_VH | _LowValueVH | _LowValueVH.ValueKey = $projection.LowValueConditionKey |
| [0..1] | /APE/C_ProcessValue_VH | _HighValueVH | _HighValueVH.ValueKey = $projection.HighValueConditionKey |
| [0..1] | /APE/C_ProcessStepStatus_VH | _ProcessStepStatusVH | _ProcessStepStatusVH.Value = $projection.ProcessStepStatus |
| [0..1] | /APE/C_RelationalOperator_VH | _OperatorVH | _OperatorVH.Value = $projection.RelationalOperator |
| [0..1] | /APE/C_Cardinality_VH | _CardinalityVH | _CardinalityVH.Value = $projection.Cardinality |
| [0..1] | /APE/C_ConditionLink_VH | _ConditionLinkVH | _ConditionLinkVH.Value = $projection.ConditionLink |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | /APE/C_PRSTPCOUI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Process Step Condition | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProcessStepConditionKey | /APE/I_ProcStepCond_TP | config_key | Char |
| KEY | ProcessStepKey | /APE/I_ProcStepCond_TP | ape_parent_key | |
| KEY | ProcessKey | /APE/I_ProcStepCond_TP | ape_root_key | |
| ConditionSequenceNumber | /APE/I_ProcStepCond_TP | condition_no | ||
| ProcessID | _Process | ProcessID | Settlement ID | |
| Version | _Process | Version | XML Vers. | |
| ProcessCluster | _Process | ProcessCluster | ||
| PredecessorStepKey | /APE/I_ProcStepCond_TP | predecessor_uuid | ||
| PredeProcessID | /APE/I_ProcStepCond_TP | pred_proc_id | Processing | |
| ProcessIDDescription | _ProcessStepVH | ProcessIDDescription | ||
| PredeVersion | /APE/I_ProcStepCond_TP | pred_version | XML Vers. | |
| PredeProcessCluster | /APE/I_ProcStepCond_TP | pred_proc_cluster | ||
| PredeStepSequenceNumber | /APE/I_ProcStepCond_TP | pred_seq_no | Appl. Seq. No. | |
| ProcessStepDescription | _ProcessStepVH | ProcessStepDescription | ||
| PreProcessStepID | /APE/I_ProcStepCond_TP | proc_step_id | ||
| ProcessStepIDDescription | _ProcessStepVH | ProcessStepIDDescription | ||
| ProcessStepStatus | /APE/I_ProcStepCond_TP | status | Workflow Status | |
| ProcStepStatusDescription | _ProcessStepStatusVH | Description | Well Code Des. | |
| RelationalOperator | /APE/I_ProcStepCond_TP | operator | Type of OPTION component in row type of a Ranges type | |
| LowValueConditionKey | /APE/I_ProcStepCond_TP | value_low_uuid | ||
| LowValue | /APE/I_ProcStepCond_TP | proc_value_Low | ||
| LowValueDescription | _LowValueVH | ValueDescription | ||
| HighValueConditionKey | /APE/I_ProcStepCond_TP | value_high_uuid | ||
| HighValue | /APE/I_ProcStepCond_TP | proc_value_high | ||
| HighValueDescription | _HighValueVH | ValueDescription | ||
| isSourceStep | /APE/I_ProcStepCond_TP | source_step | ||
| isMandatory | /APE/I_ProcStepCond_TP | mandatory | Yes/No | |
| Cardinality | /APE/I_ProcStepCond_TP | cardinality | Cardinality | |
| ConditionLink | /APE/I_ProcStepCond_TP | link | URL | |
| _Process | _Process | |||
| _Step | _Step | |||
| _StepMap | _StepMap | |||
| _ProcessStepVH | _ProcessStepVH | |||
| _LowValueVH | _LowValueVH | |||
| _HighValueVH | _HighValueVH | |||
| _ProcessStepStatusVH | _ProcessStepStatusVH | |||
| _OperatorVH | _OperatorVH | |||
| _CardinalityVH | _CardinalityVH | |||
| _ConditionLinkVH | _ConditionLinkVH |
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 /APE/C_ProcStepCond_UI.
-- 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 /APE/C_ProcStepCond_UI AS
SELECT
Condition.config_key AS ProcessStepConditionKey,
Condition.ape_parent_key AS ProcessStepKey,
Condition.ape_root_key AS ProcessKey,
Condition.condition_no AS ConditionSequenceNumber,
_Process.ProcessID AS ProcessID,
_Process.Version AS Version,
_Process.ProcessCluster AS ProcessCluster,
Condition.predecessor_uuid AS PredecessorStepKey,
Condition.pred_proc_id AS PredeProcessID,
_ProcessStepVH.ProcessIDDescription AS ProcessIDDescription,
Condition.pred_version AS PredeVersion,
Condition.pred_proc_cluster AS PredeProcessCluster,
Condition.pred_seq_no AS PredeStepSequenceNumber,
_ProcessStepVH.ProcessStepDescription AS ProcessStepDescription,
Condition.proc_step_id AS PreProcessStepID,
_ProcessStepVH.ProcessStepIDDescription AS ProcessStepIDDescription,
Condition.status AS ProcessStepStatus,
_ProcessStepStatusVH.Description AS ProcStepStatusDescription,
Condition.operator AS RelationalOperator,
Condition.value_low_uuid AS LowValueConditionKey,
Condition.proc_value_Low AS LowValue,
_LowValueVH.ValueDescription AS LowValueDescription,
Condition.value_high_uuid AS HighValueConditionKey,
Condition.proc_value_high AS HighValue,
_HighValueVH.ValueDescription AS HighValueDescription,
Condition.source_step AS isSourceStep,
Condition.mandatory AS isMandatory,
Condition.cardinality AS Cardinality,
Condition.link AS ConditionLink
FROM /APE/I_ProcStepCond_TP AS Condition
LEFT OUTER JOIN /APE/C_Process_UI AS _Process ON _Process.ProcessKey = ProcessKey -- association [1..1]
LEFT OUTER JOIN /APE/C_ProcessStep_UI AS _Step ON _Step.ProcessStepKey = ProcessStepKey AND _Step.ProcessKey = ProcessKey -- association [1..1]
LEFT OUTER JOIN /APE/C_ProcStepMap_UI AS _StepMap ON _StepMap.ProcessStepConditionKey = ProcessStepConditionKey AND _StepMap.ProcessStepKey = ProcessStepKey AND _StepMap.ProcessKey = ProcessKey -- association [0..*]
LEFT OUTER JOIN /APE/C_ProcessStep_VH AS _ProcessStepVH ON _ProcessStepVH.ProcessStepKey = PredecessorStepKey -- association [0..1]
LEFT OUTER JOIN /APE/C_ProcessValue_VH AS _LowValueVH ON _LowValueVH.ValueKey = LowValueConditionKey -- association [0..1]
LEFT OUTER JOIN /APE/C_ProcessValue_VH AS _HighValueVH ON _HighValueVH.ValueKey = HighValueConditionKey -- association [0..1]
LEFT OUTER JOIN /APE/C_ProcessStepStatus_VH AS _ProcessStepStatusVH ON _ProcessStepStatusVH.Value = ProcessStepStatus -- association [0..1]
LEFT OUTER JOIN /APE/C_RelationalOperator_VH AS _OperatorVH ON _OperatorVH.Value = RelationalOperator -- association [0..1]
LEFT OUTER JOIN /APE/C_Cardinality_VH AS _CardinalityVH ON _CardinalityVH.Value = Cardinality -- association [0..1]
LEFT OUTER JOIN /APE/C_ConditionLink_VH AS _ConditionLinkVH ON _ConditionLinkVH.Value = ConditionLink -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA