C_ProcmtAutomnRuleActionTP
Consumption view for the action of a rule
C_ProcmtAutomnRuleActionTP is a Consumption CDS View that provides data about "Consumption view for the action of a rule" in SAP S/4HANA. It reads from 1 data source (I_ProcmtAutomnRuleActionTP) and exposes 21 fields with key fields ProcmtAutomnRuleID, ProcmtAutomnActivityID, ProcmtAutomnActionUniqueID. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProcmtAutomnRuleActionTP | I_ProcmtAutomnRuleActionTP | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_ProcmtAutomnRuleActivityTP | _ProcmtAutomnRuleActivityTP | _ProcmtAutomnRuleActivityTP.ProcmtAutomnRuleID = $projection.ProcmtAutomnRuleID and _ProcmtAutomnRuleActivityTP.ProcmtAutomnActivityID = $projection.ProcmtAutomnActivityID |
| [1..1] | C_ProcmtAutomnRuleDefinitionTP | _ProcmtAutomnRuleDefinitionTP | _ProcmtAutomnRuleDefinitionTP.ProcmtAutomnRuleID = $projection.ProcmtAutomnRuleID |
| [0..*] | C_ProcmtAutomnActionInputTP | _ProcmtAutomnActionInputTP | _ProcmtAutomnActionInputTP.ProcmtAutomnRuleID = $projection.ProcmtAutomnRuleID and _ProcmtAutomnActionInputTP.ProcmtAutomnActivityID = $projection.ProcmtAutomnActivityID and _ProcmtAutomnActionInputTP.ProcmtAutomnActionUniqueID = $projection.ProcmtAutomnActionUniqueID |
| [0..*] | C_ProcmtAutomnActionPreqtTP | _ProcmtAutomnActionPreqtTP | _ProcmtAutomnActionPreqtTP.ProcmtAutomnActionUniqueID = $projection.ProcmtAutomnActionUniqueID and _ProcmtAutomnActionPreqtTP.ProcmtAutomnRuleID = $projection.ProcmtAutomnRuleID and _ProcmtAutomnActionPreqtTP.ProcmtAutomnActivityID = $projection.ProcmtAutomnActivityID |
| [0..*] | C_ProcmtAutomnActionParamTP | _ProcmtAutomnActionParamTP | _ProcmtAutomnActionParamTP.ProcmtAutomnRuleID = $projection.ProcmtAutomnRuleID and _ProcmtAutomnActionParamTP.ProcmtAutomnActivityID = $projection.ProcmtAutomnActivityID and _ProcmtAutomnActionParamTP.ProcmtAutomnActionUniqueID = $projection.ProcmtAutomnActionUniqueID |
| [0..1] | C_ProcmtAutomnSAPObjectTypeVH | _ProcmtAutomnSAPObjectTypeVH | _ProcmtAutomnSAPObjectTypeVH.SAPObjectType = $projection.SAPObjectType and _ProcmtAutomnSAPObjectTypeVH.Language = $session.system_language |
| [1..1] | C_ProcmtAutomnActionDefVH | _ProcmtAutomnActionDefVH | _ProcmtAutomnActionDefVH.ProcmtAutomnActionDefinitionID = $projection.ProcmtAutomnActionDefinitionID |
| [0..1] | C_ProcmtAutomnActnSuccessStsVH | _ProcmtAutomnActnSuccessStsVH | _ProcmtAutomnActnSuccessStsVH.ProcmtAutomnActnSuccessStatus = $projection.ProcmtAutomnActnSuccessStatus and _ProcmtAutomnActnSuccessStsVH.Language = $session.system_language |
| [0..1] | C_ProcmtAutomnActnFailureStsVH | _ProcmtAutomnActnFailureStsVH | _ProcmtAutomnActnFailureStsVH.ProcmtAutomnActnFailureStatus = $projection.ProcmtAutomnActnFailureStatus and _ProcmtAutomnActnFailureStsVH.Language = $session.system_language |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPRMTRULACTTP | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| UI.headerInfo.typeName | Automation Rule Action | view | |
| UI.headerInfo.typeNamePlural | Automation Rule Actions | view | |
| UI.headerInfo.title.value | ProcmtAutomnActnUIDForEdit | view | |
| UI.headerInfo.title.label | Action ID | view | |
| UI.headerInfo.description.value | ProcmtAutomnActnUIDForEdit | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Consumption view for the action of a rule | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProcmtAutomnRuleID | ProcmtAutomnRuleID | Rule ID | |
| KEY | ProcmtAutomnActivityID | ProcmtAutomnActivityID | Activity ID | |
| KEY | ProcmtAutomnActionUniqueID | ProcmtAutomnActionUniqueID | Action Unique ID | |
| ProcmtAutomnActionName | ProcmtAutomnActionName | Unique Action Name | ||
| ProcmtAutomnActnUnqIDForEdit | ProcmtAutomnActnUnqIDForEdit | Unique Action ID | ||
| ProcmtAutomnActionDefinitionID | ProcmtAutomnActionDefinitionID | Action Definition | ||
| SAPObjectType | SAPObjectType | Object Type | ||
| ProcmtAutomnActionType | _ProcmtAutomnActionDefVH | ProcmtAutomnActionType | Action Type | |
| ProcmtAutomnActionSubType | _ProcmtAutomnActionDefVH | ProcmtAutomnActionSubType | Action Sub Type | |
| ProcmtAutomnIsGroupingEnabled | _ProcmtAutomnActionDefVH | ProcmtAutomnIsGroupingEnabled | Grouping Enabled | |
| ProcmtAutomnActnSuccessStatus | ProcmtAutomnActnSuccessStatus | Set Status for Action with Passed Outcome | ||
| ProcmtAutomnActnFailureStatus | ProcmtAutomnActnFailureStatus | Set Status for Action with Failed Outcome | ||
| _ProcmtAutomnRuleActivityTP | _ProcmtAutomnRuleActivityTP | |||
| _ProcmtAutomnRuleDefinitionTP | _ProcmtAutomnRuleDefinitionTP | |||
| _ProcmtAutomnActionInputTP | _ProcmtAutomnActionInputTP | |||
| _ProcmtAutomnActionPreqtTP | _ProcmtAutomnActionPreqtTP | |||
| _ProcmtAutomnActionParamTP | _ProcmtAutomnActionParamTP | |||
| _ProcmtAutomnSAPObjectTypeVH | _ProcmtAutomnSAPObjectTypeVH | |||
| _ProcmtAutomnActionDefVH | _ProcmtAutomnActionDefVH | |||
| _ProcmtAutomnActnSuccessStsVH | _ProcmtAutomnActnSuccessStsVH | |||
| _ProcmtAutomnActnFailureStsVH | _ProcmtAutomnActnFailureStsVH |
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_ProcmtAutomnRuleActionTP.
-- 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: CPRMTRULACTTP
CREATE VIEW C_ProcmtAutomnRuleActionTP AS
SELECT
ProcmtAutomnRuleID,
ProcmtAutomnActivityID,
ProcmtAutomnActionUniqueID,
ProcmtAutomnActionName,
ProcmtAutomnActnUnqIDForEdit,
ProcmtAutomnActionDefinitionID,
SAPObjectType,
_ProcmtAutomnActionDefVH.ProcmtAutomnActionType AS ProcmtAutomnActionType,
_ProcmtAutomnActionDefVH.ProcmtAutomnActionSubType AS ProcmtAutomnActionSubType,
_ProcmtAutomnActionDefVH.ProcmtAutomnIsGroupingEnabled AS ProcmtAutomnIsGroupingEnabled,
ProcmtAutomnActnSuccessStatus,
ProcmtAutomnActnFailureStatus
FROM I_ProcmtAutomnRuleActionTP
LEFT OUTER JOIN C_ProcmtAutomnRuleActivityTP AS _ProcmtAutomnRuleActivityTP ON _ProcmtAutomnRuleActivityTP.ProcmtAutomnRuleID = ProcmtAutomnRuleID AND _ProcmtAutomnRuleActivityTP.ProcmtAutomnActivityID = ProcmtAutomnActivityID -- association [1..1]
LEFT OUTER JOIN C_ProcmtAutomnRuleDefinitionTP AS _ProcmtAutomnRuleDefinitionTP ON _ProcmtAutomnRuleDefinitionTP.ProcmtAutomnRuleID = ProcmtAutomnRuleID -- association [1..1]
LEFT OUTER JOIN C_ProcmtAutomnActionInputTP AS _ProcmtAutomnActionInputTP ON _ProcmtAutomnActionInputTP.ProcmtAutomnRuleID = ProcmtAutomnRuleID AND _ProcmtAutomnActionInputTP.ProcmtAutomnActivityID = ProcmtAutomnActivityID AND _ProcmtAutomnActionInputTP.ProcmtAutomnActionUniqueID = ProcmtAutomnActionUniqueID -- association [0..*]
LEFT OUTER JOIN C_ProcmtAutomnActionPreqtTP AS _ProcmtAutomnActionPreqtTP ON _ProcmtAutomnActionPreqtTP.ProcmtAutomnActionUniqueID = ProcmtAutomnActionUniqueID AND _ProcmtAutomnActionPreqtTP.ProcmtAutomnRuleID = ProcmtAutomnRuleID AND _ProcmtAutomnActionPreqtTP.ProcmtAutomnActivityID = ProcmtAutomnActivityID -- association [0..*]
LEFT OUTER JOIN C_ProcmtAutomnActionParamTP AS _ProcmtAutomnActionParamTP ON _ProcmtAutomnActionParamTP.ProcmtAutomnRuleID = ProcmtAutomnRuleID AND _ProcmtAutomnActionParamTP.ProcmtAutomnActivityID = ProcmtAutomnActivityID AND _ProcmtAutomnActionParamTP.ProcmtAutomnActionUniqueID = ProcmtAutomnActionUniqueID -- association [0..*]
LEFT OUTER JOIN C_ProcmtAutomnSAPObjectTypeVH AS _ProcmtAutomnSAPObjectTypeVH ON _ProcmtAutomnSAPObjectTypeVH.SAPObjectType = SAPObjectType AND _ProcmtAutomnSAPObjectTypeVH.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN C_ProcmtAutomnActionDefVH AS _ProcmtAutomnActionDefVH ON _ProcmtAutomnActionDefVH.ProcmtAutomnActionDefinitionID = ProcmtAutomnActionDefinitionID -- association [1..1]
LEFT OUTER JOIN C_ProcmtAutomnActnSuccessStsVH AS _ProcmtAutomnActnSuccessStsVH ON _ProcmtAutomnActnSuccessStsVH.ProcmtAutomnActnSuccessStatus = ProcmtAutomnActnSuccessStatus AND _ProcmtAutomnActnSuccessStsVH.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN C_ProcmtAutomnActnFailureStsVH AS _ProcmtAutomnActnFailureStsVH ON _ProcmtAutomnActnFailureStsVH.ProcmtAutomnActnFailureStatus = ProcmtAutomnActnFailureStatus AND _ProcmtAutomnActnFailureStsVH.Language = $session.system_language -- 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