P_RARevnExplItemBase

DDL: P_RAREVNEXPLITEMBASE SQL: PRAEXPLITMBASE Type: view COMPOSITE

P_RARevnExplItemBase is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (P_RARevnAmtPerRecnclnKeyGrp, P_RARevnAmtPerRecnclnKeyGrp, P_RARevnAmtPerRecnclnKeyGrp) and exposes 20 fields with key fields PerformanceObligation, RecnclnKeyGroupId, RARevenueAdjustReason, RecnclnKeyGroupId, RARevenueAdjustReason.

Data Sources (3)

SourceAliasJoin Type
P_RARevnAmtPerRecnclnKeyGrp P_RARevnAmtPerRecnclnKeyGrp from
P_RARevnAmtPerRecnclnKeyGrp P_RARevnAmtPerRecnclnKeyGrp union_all
P_RARevnAmtPerRecnclnKeyGrp P_RARevnAmtPerRecnclnKeyGrp union_all

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PRAEXPLITMBASE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY PerformanceObligation PerformanceObligation Performance Obligation
KEY RecnclnKeyGroupId RecnclnKeyGroupId
KEY RARevenueAdjustReason
RevenueAccountingContract RevenueAccountingContract Revenue Contract
RelatedChgTypeItemKeyGroupId RelatedChgTypeItemKeyGroupId
FiscalYearPeriod FiscalYearPeriod Period/Year
DeltaRecognizedAmtInSlsDocCrcy TolRecgdCatchupPerGroup
KEY RecnclnKeyGroupId RecnclnKeyGroupId
KEY RARevenueAdjustReason
RevenueAccountingContract RevenueAccountingContract Revenue Contract
RelatedChgTypeItemKeyGroupId RelatedChgTypeItemKeyGroupId
FiscalYearPeriod FiscalYearPeriod Period/Year
DeltaRecognizedAmtInSlsDocCrcy
KEY RecnclnKeyGroupId RecnclnKeyGroupId
KEY RARevenueAdjustReason
RevenueAccountingContract RevenueAccountingContract Revenue Contract
RelatedChgTypeItemKeyGroupId RelatedChgTypeItemKeyGroupId
FiscalYearPeriod FiscalYearPeriod Period/Year
DeltaRecognizedAmtInSlsDocCrcy TolRecgdRevenuePerGroup
OpenRevenueByAdjustReason 0

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 P_RARevnExplItemBase.
-- 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: PRAEXPLITMBASE

CREATE VIEW P_RARevnExplItemBase AS
SELECT
  PerformanceObligation,
  RecnclnKeyGroupId,
  cast('0' as farr_cds_rev_adjust_reason ) AS RARevenueAdjustReason,
  RevenueAccountingContract,
  RelatedChgTypeItemKeyGroupId,
  FiscalYearPeriod,
  TolRecgdCatchupPerGroup AS DeltaRecognizedAmtInSlsDocCrcy,
  0 AS OpenRevenueByAdjustReason
FROM P_RARevnAmtPerRecnclnKeyGrp
-- UNION ALL with additional select branch(es): P_RARevnAmtPerRecnclnKeyGrp
;