C_ProcmtAutomnRuleActivityTP

DDL: C_PROCMTAUTOMNRULEACTIVITYTP SQL: CPRMTAUTMNACTTP Type: view CONSUMPTION Package: ODATA_MM_PUR_BUS_PROC_AUTOMN

Consumption view for the activity of the rule

C_ProcmtAutomnRuleActivityTP is a Consumption CDS View that provides data about "Consumption view for the activity of the rule" in SAP S/4HANA. It reads from 1 data source (I_ProcmtAutomnRuleActivityTP) and exposes 6 fields with key fields ProcmtAutomnRuleID, ProcmtAutomnActivityID. 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_ProcmtAutomnRuleActivityTP I_ProcmtAutomnRuleActivityTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_ProcmtAutomnRuleDefinitionTP _ProcmtAutomnRuleDefinitionTP _ProcmtAutomnRuleDefinitionTP.ProcmtAutomnRuleID = $projection.ProcmtAutomnRuleID
[0..*] C_ProcmtAutomnRuleActionTP _ProcmtAutomnRuleActionTP _ProcmtAutomnRuleActionTP.ProcmtAutomnRuleID = $projection.ProcmtAutomnRuleID and _ProcmtAutomnRuleActionTP.ProcmtAutomnActivityID = $projection.ProcmtAutomnActivityID

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName CPRMTAUTMNACTTP 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 Activity view
UI.headerInfo.typeNamePlural Automation Rule Activity view
UI.headerInfo.title.value ProcmtAutomnActivityIDForEdit view
UI.headerInfo.title.label Activity ID view
UI.headerInfo.description.value ProcmtAutomnActivityIDForEdit 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 activity of the rule view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F4042 ASQL_F4042 C2 NOT_RELEASED

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ProcmtAutomnRuleID ProcmtAutomnRuleID Rule ID
KEY ProcmtAutomnActivityID ProcmtAutomnActivityID Activity ID
ProcmtAutomnActivityIDForEdit ProcmtAutomnActivityIDForEdit Activity ID
ProcmtAutomnActivityName ProcmtAutomnActivityName Activity Description
_ProcmtAutomnRuleDefinitionTP _ProcmtAutomnRuleDefinitionTP
_ProcmtAutomnRuleActionTP _ProcmtAutomnRuleActionTP

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_ProcmtAutomnRuleActivityTP.
-- 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: CPRMTAUTMNACTTP

CREATE VIEW C_ProcmtAutomnRuleActivityTP AS
SELECT
  ProcmtAutomnRuleID,
  ProcmtAutomnActivityID,
  ProcmtAutomnActivityIDForEdit,
  ProcmtAutomnActivityName
FROM I_ProcmtAutomnRuleActivityTP
LEFT OUTER JOIN C_ProcmtAutomnRuleDefinitionTP AS _ProcmtAutomnRuleDefinitionTP ON _ProcmtAutomnRuleDefinitionTP.ProcmtAutomnRuleID = ProcmtAutomnRuleID  -- association [1..1]
LEFT OUTER JOIN C_ProcmtAutomnRuleActionTP AS _ProcmtAutomnRuleActionTP ON _ProcmtAutomnRuleActionTP.ProcmtAutomnRuleID = ProcmtAutomnRuleID AND _ProcmtAutomnRuleActionTP.ProcmtAutomnActivityID = ProcmtAutomnActivityID  -- association [0..*]
;