P_RARecgdRevnInFutureByPerd

DDL: P_RARECGDREVNINFUTUREBYPERD Type: view_entity COMPOSITE Package: ODATA_FARR_OVERVIEWPAGE

RA Revenue In Future Period

P_RARecgdRevnInFutureByPerd is a Composite CDS View that provides data about "RA Revenue In Future Period" in SAP S/4HANA. It reads from 1 data source (P_RARevnInFutureByRecnclnKey) and exposes 5 fields with key fields CompanyCode, AccountingPrinciple, FiscalYear, FiscalPeriod, SalesDocumentCurrency. Part of development package ODATA_FARR_OVERVIEWPAGE.

Data Sources (1)

SourceAliasJoin Type
P_RARevnInFutureByRecnclnKey RevnInFutureByRecnclnKey from

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_RARevnInFutureByRecnclnKey CompanyCode Receiver Company Code
KEY AccountingPrinciple P_RARevnInFutureByRecnclnKey AccountingPrinciple AP Ledger/CoCode
KEY FiscalYear
KEY FiscalPeriod
KEY SalesDocumentCurrency P_RARevnInFutureByRecnclnKey SalesDocumentCurrency Currency

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_RARecgdRevnInFutureByPerd.
-- 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 P_RARecgdRevnInFutureByPerd AS
SELECT
  RevnInFutureByRecnclnKey.CompanyCode AS CompanyCode,
  RevnInFutureByRecnclnKey.AccountingPrinciple AS AccountingPrinciple,
  cast(substring(RevnInFutureByRecnclnKey.RevnAcctgReconciliationKey, 1, 4) as fis_gjahr) AS FiscalYear,
  cast(substring(RevnInFutureByRecnclnKey.RevnAcctgReconciliationKey, 5, 3) as poper) AS FiscalPeriod,
  RevnInFutureByRecnclnKey.SalesDocumentCurrency AS SalesDocumentCurrency
FROM P_RARevnInFutureByRecnclnKey AS RevnInFutureByRecnclnKey
;