P_RAYrToDteRecgdRevnByBP

DDL: P_RAYRTODTERECGDREVNBYBP Type: view_entity COMPOSITE Package: ODATA_FARR_OVERVIEWPAGE

RA Deferral Item By BP(YTD)

P_RAYrToDteRecgdRevnByBP is a Composite CDS View that provides data about "RA Deferral Item By BP(YTD)" in SAP S/4HANA. It reads from 1 data source (P_RAYrToDtePeriodRevnByBP) and exposes 8 fields with key fields CompanyCode, AccountingPrinciple, BusinessPartner, BusinessPartnerName, FiscalYear. Part of development package ODATA_FARR_OVERVIEWPAGE.

Data Sources (1)

SourceAliasJoin Type
P_RAYrToDtePeriodRevnByBP P_RAYrToDtePeriodRevnByBP from

Parameters (2)

NameTypeDefault
P_CompanyCode bukrs
P_AccountingPrinciple accounting_principle

Annotations (3)

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

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingPrinciple AccountingPrinciple AP Ledger/CoCode
KEY BusinessPartner BusinessPartner Issuing Authority
KEY BusinessPartnerName BusinessPartnerName Extracted Customer Name
KEY FiscalYear
KEY SalesDocumentCurrency SalesDocumentCurrency Currency
DeltaRecognizedAmtInSlsDocCrcy DeltaRecognizedAmtInSlsDocCrcy
RecgdCatchUpAmtInSlsDocCrcy RecgdCatchUpAmtInSlsDocCrcy

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_RAYrToDteRecgdRevnByBP.
-- 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.
-- Parameters: P_CompanyCode : bukrs, P_AccountingPrinciple : accounting_principle

CREATE VIEW P_RAYrToDteRecgdRevnByBP AS
SELECT
  CompanyCode,
  AccountingPrinciple,
  BusinessPartner,
  BusinessPartnerName,
  substring(FiscalYearPeriod, 1, 4) AS FiscalYear,
  SalesDocumentCurrency,
  DeltaRecognizedAmtInSlsDocCrcy,
  RecgdCatchUpAmtInSlsDocCrcy
FROM P_RAYrToDtePeriodRevnByBP
;