P_FI_CLS_REC_RL_src_documents
FI Closing Valuation Reclassfication Run Result List Output
P_FI_CLS_REC_RL_src_documents is a Composite CDS View that provides data about "FI Closing Valuation Reclassfication Run Result List Output" in SAP S/4HANA. It reads from 1 data source (P_FI_CLS_REC_RL_SRC_doc_base) and exposes 44 fields with key field JrnlPerdEndClsgRunResultUUID. It has 7 associations to related views. Part of development package FINS_FI_CLS_REC_RUN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_FI_CLS_REC_RL_SRC_doc_base | rl | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SubLedgerAccLineItemTypeT | _slalittyt | rl.SubLedgerAcctLineItemType = _slalittyt.SubLedgerAcctLineItemType and _slalittyt.Language = $session.system_language |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_GLAccountInCompanyCode | _GLAccountInCompanyCode | $projection.CompanyCode = _GLAccountInCompanyCode.CompanyCode and $projection.GLAccount = _GLAccountInCompanyCode.GLAccount |
| [0..1] | I_FinClsgGroupingRule | _GroupingRule | $projection.GROUPRULE = _GroupingRule.FinancialClosingGroupingRule |
| [0..*] | I_FinClsgGroupingRuleStep | _GroupingRuleStep | $projection.GROUPRULESTEP = _GroupingRuleStep.FinClosingGroupingRuleStep and $projection.GROUPRULE = _GroupingRuleStep.FinClosingGroupingRuleStep |
| [0..1] | I_FinClsgLineItemDetailStatusT | StatusDetailText | rl.FinClosingLineItemDetailStatus = StatusDetailText.FinClosingLineItemDetailStatus and StatusDetailText.Language = $session.system_language |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | JrnlPerdEndClsgRunResultUUID | P_FI_CLS_REC_RL_SRC_doc_base | JrnlPerdEndClsgRunResultUUID | Result List UUID |
| key1 | P_FI_CLS_REC_RL_SRC_doc_base | key1 | INT4 | |
| key2 | P_FI_CLS_REC_RL_SRC_doc_base | key2 | Character Field of Length 12 | |
| PrdcssrPerdEndClsgRunRsltUUID | P_FI_CLS_REC_RL_SRC_doc_base | PrdcssrPerdEndClsgRunRsltUUID | Predecessor Result List UUID | |
| PrdcssrJournalEntryFiscalYear | P_FI_CLS_REC_RL_SRC_doc_base | PrdcssrJournalEntryFiscalYear | Predecessor Journal Entry Fiscal Year | |
| OriginalJournalEntry | P_FI_CLS_REC_RL_SRC_doc_base | OriginalJournalEntry | ||
| OriginalJournalEntryItem | P_FI_CLS_REC_RL_SRC_doc_base | OriginalJournalEntryItem | ||
| GROUPID | P_FI_CLS_REC_RL_SRC_doc_base | GROUPID | Group name | |
| ValuationRuleAndStep | P_FI_CLS_REC_RL_SRC_doc_base | ValuationRuleAndStep | ||
| FinClosingLineItemDetailStatus | P_FI_CLS_REC_RL_SRC_doc_base | FinClosingLineItemDetailStatus | Status Detail | |
| FinClsgLineItmDetailStatusName | StatusDetailText | FinClsgLineItmDetailStatusName | ||
| GLAccount | ||||
| OffsettingAccount | ||||
| netduedate | ||||
| GeneralLedgerAgingScope | P_FI_CLS_REC_RL_SRC_doc_base | GeneralLedgerAgingScope | Aging | |
| GeneralLedgerAgingIncrement | P_FI_CLS_REC_RL_SRC_doc_base | GeneralLedgerAgingIncrement | Increment | |
| AccountType | P_FI_CLS_REC_RL_SRC_doc_base | AccountType | Accounting Type(dtl) | |
| Currency | ||||
| NominalValue | ||||
| Adjustment | ||||
| ValnAdjmtExcludeImprmt | ||||
| ImpairmentAdjustment | ||||
| RemainingAmount | ||||
| ValuationLineType | ||||
| Supplier | P_FI_CLS_REC_RL_SRC_doc_base | Supplier | Supplier | |
| Customer | P_FI_CLS_REC_RL_SRC_doc_base | Customer | Sold-to Party | |
| FinClosingRunIsTestExecution | P_FI_CLS_REC_RL_SRC_doc_base | FinClosingRunIsTestExecution | Test Run | |
| FinancialClosingLineItemType | P_FI_CLS_REC_RL_SRC_doc_base | FinancialClosingLineItemType | Line Item Type | |
| GROUPRULE | P_FI_CLS_REC_RL_SRC_doc_base | GROUPRULE | ||
| FinancialClosingLineItemStatus | P_FI_CLS_REC_RL_SRC_doc_base | FinancialClosingLineItemStatus | Status | |
| GROUPRULESTEP | P_FI_CLS_REC_RL_SRC_doc_base | GROUPRULESTEP | ||
| Ledger | P_FI_CLS_REC_RL_SRC_doc_base | Ledger | Ledger | |
| CompanyCode | P_FI_CLS_REC_RL_SRC_doc_base | CompanyCode | Receiver Company Code | |
| FiscalYear | P_FI_CLS_REC_RL_SRC_doc_base | FiscalYear | G/L Fiscal Year | |
| JrnlPeriodEndClosingRunLogUUID | P_FI_CLS_REC_RL_SRC_doc_base | JrnlPeriodEndClosingRunLogUUID | Closing Run UUID | |
| ChartOfAccounts | P_FI_CLS_REC_RL_SRC_doc_base | ChartOfAccounts | Node Class | |
| InvoiceItemReference | P_FI_CLS_REC_RL_SRC_doc_base | InvoiceItemReference | Item | |
| InvoiceReference | P_FI_CLS_REC_RL_SRC_doc_base | InvoiceReference | Invoice Reference | |
| InvoiceReferenceFiscalYear | P_FI_CLS_REC_RL_SRC_doc_base | InvoiceReferenceFiscalYear | Invoice Reference Fiscal Year | |
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _GroupingRule | _GroupingRule | |||
| _GroupingRuleStep | _GroupingRuleStep |
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_FI_CLS_REC_RL_src_documents.
-- 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_FI_CLS_REC_RL_src_documents AS
SELECT
rl.JrnlPerdEndClsgRunResultUUID AS JrnlPerdEndClsgRunResultUUID,
rl.key1 AS key1,
rl.key2 AS key2,
rl.PrdcssrPerdEndClsgRunRsltUUID AS PrdcssrPerdEndClsgRunRsltUUID,
rl.PrdcssrJournalEntryFiscalYear AS PrdcssrJournalEntryFiscalYear,
rl.OriginalJournalEntry AS OriginalJournalEntry,
rl.OriginalJournalEntryItem AS OriginalJournalEntryItem,
rl.GROUPID AS GROUPID,
rl.ValuationRuleAndStep AS ValuationRuleAndStep,
rl.FinClosingLineItemDetailStatus AS FinClosingLineItemDetailStatus,
StatusDetailText.FinClsgLineItmDetailStatusName AS FinClsgLineItmDetailStatusName,
cast( rl.GLAccount as fins_rec_target_account preserving type ) AS GLAccount,
cast( rl.OffsettingAccount as fins_rec_source_account preserving type ) AS OffsettingAccount,
cast(rl.netduedate as cls_rec_netduedate preserving type ) AS netduedate,
rl.GeneralLedgerAgingScope AS GeneralLedgerAgingScope,
rl.GeneralLedgerAgingIncrement AS GeneralLedgerAgingIncrement,
rl.AccountType AS AccountType,
cast ( '' as targetcurrency ) AS Currency,
cast ( 0 as cls_rec_nominal_value ) AS NominalValue,
cast ( 0 as cls_rec_adjustments ) AS Adjustment,
cast ( 0 as cls_rec_valuation_adjustments ) AS ValnAdjmtExcludeImprmt,
cast ( 0 as cls_rec_impairment_adjustments ) AS ImpairmentAdjustment,
cast( 0 as cls_rec_remaining_amount ) AS RemainingAmount,
cast ( _slalittyt.SubLedgerAcctLineItemTypeName as cls_rec_val_line_type_text preserving type ) AS ValuationLineType,
rl.Supplier AS Supplier,
rl.Customer AS Customer,
rl.FinClosingRunIsTestExecution AS FinClosingRunIsTestExecution,
rl.FinancialClosingLineItemType AS FinancialClosingLineItemType,
rl.GROUPRULE AS GROUPRULE,
rl.FinancialClosingLineItemStatus AS FinancialClosingLineItemStatus,
rl.GROUPRULESTEP AS GROUPRULESTEP,
rl.Ledger AS Ledger,
rl.CompanyCode AS CompanyCode,
rl.FiscalYear AS FiscalYear,
rl.JrnlPeriodEndClosingRunLogUUID AS JrnlPeriodEndClosingRunLogUUID,
rl.ChartOfAccounts AS ChartOfAccounts,
rl.InvoiceItemReference AS InvoiceItemReference,
rl.InvoiceReference AS InvoiceReference,
rl.InvoiceReferenceFiscalYear AS InvoiceReferenceFiscalYear
FROM P_FI_CLS_REC_RL_SRC_doc_base AS rl
LEFT OUTER JOIN I_SubLedgerAccLineItemTypeT AS _slalittyt ON rl.SubLedgerAcctLineItemType = _slalittyt.SubLedgerAcctLineItemType AND _slalittyt.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_GLAccountInCompanyCode AS _GLAccountInCompanyCode ON CompanyCode = _GLAccountInCompanyCode.CompanyCode AND GLAccount = _GLAccountInCompanyCode.GLAccount -- association [0..1]
LEFT OUTER JOIN I_FinClsgGroupingRule AS _GroupingRule ON GROUPRULE = _GroupingRule.FinancialClosingGroupingRule -- association [0..1]
LEFT OUTER JOIN I_FinClsgGroupingRuleStep AS _GroupingRuleStep ON GROUPRULESTEP = _GroupingRuleStep.FinClosingGroupingRuleStep AND GROUPRULE = _GroupingRuleStep.FinClosingGroupingRuleStep -- association [0..*]
LEFT OUTER JOIN I_FinClsgLineItemDetailStatusT AS StatusDetailText ON rl.FinClosingLineItemDetailStatus = StatusDetailText.FinClosingLineItemDetailStatus AND StatusDetailText.Language = $session.system_language -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA