P_RAContrBalRclassfctnAging

DDL: P_RACONTRBALRCLASSFCTNAGING Type: view_entity COMPOSITE

P_RAContrBalRclassfctnAging is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_GLAgingScopeIncrement) and exposes 9 fields with key fields AccountingPrinciple, GeneralLedgerAgingScope, GeneralLedgerAgingIncrement.

Data Sources (1)

SourceAliasJoin Type
I_GLAgingScopeIncrement AgingScopeIncrement inner

Parameters (2)

NameTypeDefault
P_FiscalYear farr_from_fiscal_year
P_FiscalPeriod farr_from_fiscal_period

Annotations (3)

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

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY AccountingPrinciple RAAcctPriciple AccountingPrinciple AP Ledger/CoCode
KEY GeneralLedgerAgingScope I_GLAgingScopeIncrement GeneralLedgerAgingScope Aging
KEY GeneralLedgerAgingIncrement I_GLAgingScopeIncrement GeneralLedgerAgingIncrement Increment
GLAgingIncrmtRelativeMonths I_GLAgingScopeIncrement GLAgingIncrmtRelativeMonths Thresh. Months
GLAgingIncrmtRelativeDays I_GLAgingScopeIncrement GLAgingIncrmtRelativeDays Thresh.Days
CompanyCode RAPeriod CompanyCode Receiver Company Code
RAContrLevelLbltyAstCalcMethod RAAcctPriciple RAContrLevelLbltyAstCalcMethod
FiscalYearVariant RAPeriod FiscalYearVariant FY Variant
FiscalPeriodEndDate RAPeriod FiscalPeriodEndDate

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_RAContrBalRclassfctnAging.
-- 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_FiscalYear : farr_from_fiscal_year, P_FiscalPeriod : farr_from_fiscal_period

CREATE VIEW P_RAContrBalRclassfctnAging AS
SELECT
  RAAcctPriciple.AccountingPrinciple AS AccountingPrinciple,
  AgingScopeIncrement.GeneralLedgerAgingScope AS GeneralLedgerAgingScope,
  AgingScopeIncrement.GeneralLedgerAgingIncrement AS GeneralLedgerAgingIncrement,
  AgingScopeIncrement.GLAgingIncrmtRelativeMonths AS GLAgingIncrmtRelativeMonths,
  AgingScopeIncrement.GLAgingIncrmtRelativeDays AS GLAgingIncrmtRelativeDays,
  RAPeriod.CompanyCode AS CompanyCode,
  RAAcctPriciple.RAContrLevelLbltyAstCalcMethod AS RAContrLevelLbltyAstCalcMethod,
  RAPeriod.FiscalYearVariant AS FiscalYearVariant,
  RAPeriod.FiscalPeriodEndDate AS FiscalPeriodEndDate
INNER JOIN I_GLAgingScopeIncrement AS AgingScopeIncrement ON /* join condition not captured in parsed metadata */
;