C_ProcmtAutomnActionPreqtTP

DDL: C_PROCMTAUTOMNACTIONPREQTTP SQL: CPRMTACTPREQTP Type: view CONSUMPTION Package: ODATA_MM_PUR_BUS_PROC_AUTOMN

Consumption View for Action Prerequisite

C_ProcmtAutomnActionPreqtTP is a Consumption CDS View that provides data about "Consumption View for Action Prerequisite" in SAP S/4HANA. It reads from 1 data source (I_ProcmtAutomnActionPreqtTP) and exposes 8 fields with key fields ProcmtAutomnRuleID, ProcmtAutomnActivityID, ProcmtAutomnActionUniqueID, ProcmtAutomnActnPreqtUniqueID. It has 2 associations to related views. It is exposed through 1 OData service (ASQL_F4042). Part of development package ODATA_MM_PUR_BUS_PROC_AUTOMN.

Data Sources (1)

SourceAliasJoin Type
I_ProcmtAutomnActionPreqtTP I_ProcmtAutomnActionPreqtTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_ProcmtAutomnRuleActionTP _ProcmtAutomnRuleActionTP _ProcmtAutomnRuleActionTP.ProcmtAutomnActionUniqueID = $projection.ProcmtAutomnActionUniqueID and _ProcmtAutomnRuleActionTP.ProcmtAutomnRuleID = $projection.ProcmtAutomnRuleID and _ProcmtAutomnRuleActionTP.ProcmtAutomnActivityID = $projection.ProcmtAutomnActivityID
[1..1] C_ProcmtAutomnRuleDefinitionTP _ProcmtAutomnRuleDefinitionTP _ProcmtAutomnRuleDefinitionTP.ProcmtAutomnRuleID = $projection.ProcmtAutomnRuleID association[1..*] to C_ProcmtAutomnRuleActionTP as _ProcmtAutomnRuleAction on _ProcmtAutomnRuleAction.ProcmtAutomnRuleID = $projection.ProcmtAutomnRuleID

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName CPRMTACTPREQTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view
UI.headerInfo.typeName Automation Action Prerequisite view
UI.headerInfo.typeNamePlural Automation Action Prerequisites view
UI.headerInfo.title.value ProcmtAutoActnPreqtUIDForEdit view
UI.headerInfo.title.label PreRequsite Action view
UI.headerInfo.description.value ProcmtAutoActnPreqtUIDForEdit view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Consumption View for Action Prerequisite view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F4042 ASQL_F4042 C2 NOT_RELEASED

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ProcmtAutomnRuleID ProcmtAutomnRuleID Rule ID
KEY ProcmtAutomnActivityID ProcmtAutomnActivityID Activity ID
KEY ProcmtAutomnActionUniqueID ProcmtAutomnActionUniqueID Action Unique ID
KEY ProcmtAutomnActnPreqtUniqueID ProcmtAutomnActnPreqtUniqueID Action Unique ID
ProcmtAutomnPreqtUnqIDForEdit ProcmtAutomnPreqtUnqIDForEdit Prerequisite Action
_ProcmtAutomnRuleDefinitionTP _ProcmtAutomnRuleDefinitionTP
_ProcmtAutomnRuleActionTP _ProcmtAutomnRuleActionTP
_ProcmtAutomnRuleAction _ProcmtAutomnRuleAction

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_ProcmtAutomnActionPreqtTP.
-- 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: CPRMTACTPREQTP

CREATE VIEW C_ProcmtAutomnActionPreqtTP AS
SELECT
  ProcmtAutomnRuleID,
  ProcmtAutomnActivityID,
  ProcmtAutomnActionUniqueID,
  ProcmtAutomnActnPreqtUniqueID,
  ProcmtAutomnPreqtUnqIDForEdit
FROM I_ProcmtAutomnActionPreqtTP
LEFT OUTER JOIN C_ProcmtAutomnRuleActionTP AS _ProcmtAutomnRuleActionTP ON _ProcmtAutomnRuleActionTP.ProcmtAutomnActionUniqueID = ProcmtAutomnActionUniqueID AND _ProcmtAutomnRuleActionTP.ProcmtAutomnRuleID = ProcmtAutomnRuleID AND _ProcmtAutomnRuleActionTP.ProcmtAutomnActivityID = ProcmtAutomnActivityID  -- association [1..1]
LEFT OUTER JOIN C_ProcmtAutomnRuleDefinitionTP AS _ProcmtAutomnRuleDefinitionTP ON _ProcmtAutomnRuleDefinitionTP.ProcmtAutomnRuleID = ProcmtAutomnRuleID association[1..*] to C_ProcmtAutomnRuleActionTP as _ProcmtAutomnRuleAction on _ProcmtAutomnRuleAction.ProcmtAutomnRuleID = ProcmtAutomnRuleID  -- association [1..1]
;