P_RACarryForwardPostingQtrA

DDL: P_RACARRYFORWARDPOSTINGQTRA Type: view_entity COMPOSITE Package: FARR_CDS_ANALYTICS

Alternative of 118

P_RACarryForwardPostingQtrA is a Composite CDS View that provides data about "Alternative of 118" in SAP S/4HANA. It reads from 6 data sources and exposes 63 fields with key fields CompanyCode, AccountingPrinciple, RevenueAccountingContract, RevnAcctgPostingCategory, PerformanceObligation. Part of development package FARR_CDS_ANALYTICS.

Data Sources (6)

SourceAliasJoin Type
P_RAContrBalFiscalPeriodSel P_RAContrBalFiscalPeriodSel inner
P_RAContrBalFiscalPeriodSel P_RAContrBalFiscalPeriodSel inner
I_RevenueAccountingPosting RACarryForwardPosting from
I_RevenueAccountingPosting RACarryForwardPosting union_all
I_RevenueAccountingPosting RADeltaPosting union_all
I_RevenueAccountingPosting RADeltaPosting union_all

Parameters (4)

NameTypeDefault
P_FiscalYearFrom fis_gjahr
P_FiscalPeriodFrom fis_poper
P_FiscalYearTo fis_gjahr
P_FiscalPeriodTo fis_poper

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (63)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_RevenueAccountingPosting CompanyCode Receiver Company Code
KEY AccountingPrinciple I_RevenueAccountingPosting AccountingPrinciple AP Ledger/CoCode
KEY RevenueAccountingContract I_RevenueAccountingPosting RevenueAccountingContract Revenue Contract
KEY RevnAcctgPostingCategory I_RevenueAccountingPosting RevnAcctgPostingCategory Update to FI
KEY PerformanceObligation I_RevenueAccountingPosting PerformanceObligation Performance Obligation
KEY FiscalYear G/L Fiscal Year
KEY FiscalQuarter
SalesDocumentCurrency I_RevenueAccountingPosting SalesDocumentCurrency Currency
CompanyCodeCurrency I_RevenueAccountingPosting CompanyCodeCurrency Local Currency
AdditionalCurrency1 I_RevenueAccountingPosting AdditionalCurrency1 Local curr. 2
AdditionalCurrency2 I_RevenueAccountingPosting AdditionalCurrency2 Local curr. 3
RevnAcctgPostgAmtInSlsDocCrcy
RevnAcctgPostgAmtInCoCodeCrcy
RevnAcctgPostgAmtInAddlCrcy1
CompanyCode Receiver Company Code
KEY AccountingPrinciple I_RevenueAccountingPosting AccountingPrinciple AP Ledger/CoCode
KEY RevenueAccountingContract I_RevenueAccountingPosting RevenueAccountingContract Revenue Contract
KEY RevnAcctgPostingCategory I_RevenueAccountingPosting RevnAcctgPostingCategory Update to FI
KEY PerformanceObligation Performance Obligation
KEY FiscalYear G/L Fiscal Year
KEY FiscalQuarter
SalesDocumentCurrency I_RevenueAccountingPosting SalesDocumentCurrency Currency
CompanyCodeCurrency I_RevenueAccountingPosting CompanyCodeCurrency Local Currency
AdditionalCurrency1 I_RevenueAccountingPosting AdditionalCurrency1 Local curr. 2
AdditionalCurrency2 I_RevenueAccountingPosting AdditionalCurrency2 Local curr. 3
RevnAcctgPostgAmtInSlsDocCrcy
RevnAcctgPostgAmtInCoCodeCrcy
RevnAcctgPostgAmtInAddlCrcy1
P_FiscalYearFrom
P_FiscalPeriodFrom
P_FiscalYearTo
CompanyCode Receiver Company Code
KEY AccountingPrinciple I_RevenueAccountingPosting AccountingPrinciple AP Ledger/CoCode
KEY RevenueAccountingContract I_RevenueAccountingPosting RevenueAccountingContract Revenue Contract
KEY RevnAcctgPostingCategory I_RevenueAccountingPosting RevnAcctgPostingCategory Update to FI
KEY PerformanceObligation I_RevenueAccountingPosting PerformanceObligation Performance Obligation
KEY FiscalYear I_RevenueAccountingPosting FiscalYear G/L Fiscal Year
KEY FiscalQuarter _RAContrBalFiscalPeriodSel FiscalQuarterNumber
SalesDocumentCurrency I_RevenueAccountingPosting SalesDocumentCurrency Currency
CompanyCodeCurrency I_RevenueAccountingPosting CompanyCodeCurrency Local Currency
AdditionalCurrency1 I_RevenueAccountingPosting AdditionalCurrency1 Local curr. 2
AdditionalCurrency2 I_RevenueAccountingPosting AdditionalCurrency2 Local curr. 3
RevnAcctgPostgAmtInSlsDocCrcy
RevnAcctgPostgAmtInCoCodeCrcy
RevnAcctgPostgAmtInAddlCrcy1
P_FiscalYearFrom
P_FiscalPeriodFrom
P_FiscalYearTo
CompanyCode Receiver Company Code
KEY AccountingPrinciple I_RevenueAccountingPosting AccountingPrinciple AP Ledger/CoCode
KEY RevenueAccountingContract I_RevenueAccountingPosting RevenueAccountingContract Revenue Contract
KEY RevnAcctgPostingCategory I_RevenueAccountingPosting RevnAcctgPostingCategory Update to FI
KEY PerformanceObligation Performance Obligation
KEY FiscalYear I_RevenueAccountingPosting FiscalYear G/L Fiscal Year
KEY FiscalQuarter _RAContrBalFiscalPeriodSel FiscalQuarterNumber
SalesDocumentCurrency I_RevenueAccountingPosting SalesDocumentCurrency Currency
CompanyCodeCurrency I_RevenueAccountingPosting CompanyCodeCurrency Local Currency
AdditionalCurrency1 I_RevenueAccountingPosting AdditionalCurrency1 Local curr. 2
AdditionalCurrency2 I_RevenueAccountingPosting AdditionalCurrency2 Local curr. 3
RevnAcctgPostgAmtInSlsDocCrcy
RevnAcctgPostgAmtInCoCodeCrcy
RevnAcctgPostgAmtInAddlCrcy1
RevnAcctgPostgAmtInAddlCrcy2

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_RACarryForwardPostingQtrA.
-- 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_FiscalYearFrom : fis_gjahr, P_FiscalPeriodFrom : fis_poper, P_FiscalYearTo : fis_gjahr, P_FiscalPeriodTo : fis_poper

CREATE VIEW P_RACarryForwardPostingQtrA AS
SELECT
  RACarryForwardPosting.CompanyCode AS CompanyCode,
  RACarryForwardPosting.AccountingPrinciple AS AccountingPrinciple,
  RACarryForwardPosting.RevenueAccountingContract AS RevenueAccountingContract,
  RACarryForwardPosting.RevnAcctgPostingCategory AS RevnAcctgPostingCategory,
  RACarryForwardPosting.PerformanceObligation AS PerformanceObligation,
  cast('0000' as fis_gjahr preserving type) AS FiscalYear,
  cast('0' as fins_fscalquarter preserving type) AS FiscalQuarter,
  RACarryForwardPosting.SalesDocumentCurrency AS SalesDocumentCurrency,
  RACarryForwardPosting.CompanyCodeCurrency AS CompanyCodeCurrency,
  RACarryForwardPosting.AdditionalCurrency1 AS AdditionalCurrency1,
  RACarryForwardPosting.AdditionalCurrency2 AS AdditionalCurrency2,
  sum(RACarryForwardPosting.RevnAcctgPostgAmtInSlsDocCrcy) AS RevnAcctgPostgAmtInSlsDocCrcy,
  sum(RACarryForwardPosting.RevnAcctgPostgAmtInCoCodeCrcy) AS RevnAcctgPostgAmtInCoCodeCrcy,
  sum(RACarryForwardPosting.RevnAcctgPostgAmtInAddlCrcy1) AS RevnAcctgPostgAmtInAddlCrcy1,
  sum(RACarryForwardPosting.RevnAcctgPostgAmtInAddlCrcy2) as RevnAcctgPostgAmtInAddlCrcy2 AS P_FiscalYearFrom,
  P_FiscalPeriodFrom: $parameters.P_FiscalPeriodFrom AS P_FiscalPeriodFrom,
  P_FiscalYearTo: $parameters.P_FiscalYearTo AS P_FiscalYearTo,
  sum(RADeltaPosting.RevnAcctgPostgAmtInAddlCrcy2) AS RevnAcctgPostgAmtInAddlCrcy2
FROM I_RevenueAccountingPosting AS RACarryForwardPosting
INNER JOIN P_RAContrBalFiscalPeriodSel ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_RevenueAccountingPosting, I_RevenueAccountingPosting
;