I_CnsldtnPostingRuleLogMessage

DDL: I_CNSLDTNPOSTINGRULELOGMESSAGE Type: view_entity BASIC

Consolidation Posting Rule Log Message

I_CnsldtnPostingRuleLogMessage is a Basic CDS View that provides data about "Consolidation Posting Rule Log Message" in SAP S/4HANA. It reads from 1 data source (fincs_rullog_msg) and exposes 20 fields with key fields CnsldtnPostingRuleLogUUID, CnsldtnPstRlLogMessageUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
fincs_rullog_msg fincs_rullog_msg from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_ConsolidationPostingRuleText _CnsldtnRule $projection.ConsolidationPostingRule = _CnsldtnRule.ConsolidationPostingRule and _CnsldtnRule.Language = $session.system_language
[0..1] I_CnsldtnUnit_4 _CnsldtnUnit $projection.ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit
[1..1] I_MessageTypeText _MessageTypeText $projection.SystemMessageType = _MessageTypeText.PRAMessageType and _MessageTypeText.Language = $session.system_language
[1..1] I_ConsolidationPostingRuleLog _LogHeader $projection.CnsldtnPostingRuleLogUUID = _LogHeader.CnsldtnPostingRuleLogUUID

Annotations (8)

NameValueLevelField
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Consolidation Posting Rule Log Message view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.sapObjectNodeType.name CnsldtnPostingRuleLogMessage view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY CnsldtnPostingRuleLogUUID rulelogid
KEY CnsldtnPstRlLogMessageUUID msg_uuid Result Message UUID
NodeType
SystemMessageIdentification msgid Message ID
SystemMessageType msgty Msg.Type (E,I,W..)
SystemMessageTypeName _MessageTypeText PRAMessageTypeText
SystemMessageNumber Message Number
SystemMessageVariable1 msgv1 Message variable 1
SystemMessageVariable2 msgv2 Message variable 2
SystemMessageVariable3 msgv3 Message variable 3
SystemMessageVariable4 msgv4 Message variable 4
ConsolidationPostingRule ruleid Tick.nr.rule
ConsolidationPostingRuleText _CnsldtnRule ConsolidationPostingRuleText
ConsolidationUnit
CnsldtnPostgRuleSourceLine row_number Row No.
CnsldtnPostingRuleSequence pstln_sequence
_CnsldtnGrpHierarchy _CnsldtnGrpHierarchy
_CnsldtnRule _CnsldtnRule
_CnsldtnUnit _CnsldtnUnit
_LogHeader _LogHeader

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_CnsldtnPostingRuleLogMessage.
-- 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_CnsldtnPostingRuleLogMessage AS
SELECT
  rulelogid AS CnsldtnPostingRuleLogUUID,
  msg_uuid AS CnsldtnPstRlLogMessageUUID,
  case when rbunit is initial then 'R' else ( case when rbunit = _LogHeader.ConsolidationGroup then 'R' else 'L' end ) end AS NodeType,
  msgid AS SystemMessageIdentification,
  msgty AS SystemMessageType,
  _MessageTypeText.PRAMessageTypeText AS SystemMessageTypeName,
  cast (msgno as msgnr) AS SystemMessageNumber,
  msgv1 AS SystemMessageVariable1,
  msgv2 AS SystemMessageVariable2,
  msgv3 AS SystemMessageVariable3,
  msgv4 AS SystemMessageVariable4,
  ruleid AS ConsolidationPostingRule,
  _CnsldtnRule.ConsolidationPostingRuleText AS ConsolidationPostingRuleText,
  cast( case when rbunit = _LogHeader.ConsolidationGroup then '' else rbunit end as fincs_consolidationunit preserving type ) AS ConsolidationUnit,
  row_number AS CnsldtnPostgRuleSourceLine,
  pstln_sequence AS CnsldtnPostingRuleSequence
FROM fincs_rullog_msg
LEFT OUTER JOIN I_ConsolidationPostingRuleText AS _CnsldtnRule ON ConsolidationPostingRule = _CnsldtnRule.ConsolidationPostingRule AND _CnsldtnRule.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnUnit_4 AS _CnsldtnUnit ON ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit  -- association [0..1]
LEFT OUTER JOIN I_MessageTypeText AS _MessageTypeText ON SystemMessageType = _MessageTypeText.PRAMessageType AND _MessageTypeText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_ConsolidationPostingRuleLog AS _LogHeader ON CnsldtnPostingRuleLogUUID = _LogHeader.CnsldtnPostingRuleLogUUID  -- association [1..1]
;