P_FI_CLS_FXV_RL
FI Closing Foreign Currency Valuation Result List Output
P_FI_CLS_FXV_RL is a Composite CDS View that provides data about "FI Closing Foreign Currency Valuation Result List Output" in SAP S/4HANA. It reads from 1 data source (P_FIVALUATIONRESULTLIST) and exposes 117 fields with key fields Ledger, CompanyCode, FiscalYear, PrimaryKey1, PrimaryKey2. It has 8 associations to related views. Part of development package FINS_FI_CLS_FXV_RUN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_FIVALUATIONRESULTLIST | rl | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_FinClsgLineItemDetailStatusT | StatusDetailText | rl.FinClosingLineItemDetailStatus = StatusDetailText.FinClosingLineItemDetailStatus and StatusDetailText.Language = $session.system_language |
| [1..1] | I_GLAccountInChartOfAccounts | _GLAccountText | $projection.GLAccount = _GLAccountText.GLAccount and $projection.ChartOfAccounts = _GLAccountText.ChartOfAccounts |
| [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..*] | I_ProfitCenter | _CurrentProfitCenter | $projection.ControllingArea = _CurrentProfitCenter.ControllingArea and $projection.ProfitCenter = _CurrentProfitCenter.ProfitCenter and _CurrentProfitCenter.ValidityStartDate <= $session.system_date and _CurrentProfitCenter.ValidityEndDate >= $session.system_date |
| [0..1] | I_FinClsgGroupingRule | _GroupingRule | $projection.GROUPRULE = _GroupingRule.FinancialClosingGroupingRule |
| [0..*] | I_FinClsgGroupingRuleStep | _GroupingRuleStep | $projection.GROUPRULESTEP = _GroupingRuleStep.FinClosingGroupingRuleStep and $projection.GROUPRULE = _GroupingRuleStep.FinClosingGroupingRuleStep |
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 (117)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | P_FIVALUATIONRESULTLIST | Ledger | Ledger |
| KEY | CompanyCode | P_FIVALUATIONRESULTLIST | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | P_FIVALUATIONRESULTLIST | FiscalYear | G/L Fiscal Year |
| KEY | PrimaryKey1 | P_FIVALUATIONRESULTLIST | AccountingDocument | Journal Entry |
| KEY | PrimaryKey2 | P_FIVALUATIONRESULTLIST | LedgerGLLineItem | Journal Entry Item |
| KEY | JrnlPeriodEndClosingRunLogUUID | P_FIVALUATIONRESULTLIST | JrnlPeriodEndClosingRunLogUUID | Closing Run UUID |
| JrnlPerdEndClsgRunResultUUID | P_FIVALUATIONRESULTLIST | JrnlPerdEndClsgRunResultUUID | Result List UUID | |
| ALLOWANCETYPE | ||||
| ValuationRuleAndStep | ||||
| FinClosingLineItemStatusName | StatusText | FinClosingLineItemStatusName | ||
| FinClosingLineItemDetailStatus | P_FIVALUATIONRESULTLIST | FinClosingLineItemDetailStatus | Status Detail | |
| FinClsgLineItmDetailStatusName | StatusDetailText | FinClsgLineItmDetailStatusName | ||
| FinancialClosingLineItemType | P_FIVALUATIONRESULTLIST | FinancialClosingLineItemType | Line Item Type | |
| GLAccount | P_FIVALUATIONRESULTLIST | GLAccount | General Ledger | |
| GLAccountText | ||||
| ChartOfAccounts | P_FIVALUATIONRESULTLIST | ChartOfAccounts | Node Class | |
| GROUPID | ||||
| GROUPRULE | ||||
| GROUPRULESTEP | ||||
| NetDueDate | P_FIVALUATIONRESULTLIST | NetDueDate | Net Due Date | |
| OldestOpenItemNetDueDate | P_FIVALUATIONRESULTLIST | OldestOpenItemNetDueDate | Group Net Due Date | |
| PredecessorJournalEntry | ||||
| PredecessorJournalEntryItem | ||||
| PrdcssrJournalEntryFiscalYear | ||||
| ClearingDate | ||||
| ClearingAccountingDocument | ||||
| ClearingDocFiscalYear | ||||
| OriginalExchangeRate | ||||
| ValuationExchangeRate | P_FIVALUATIONRESULTLIST | ExchangeRate | Exchange rate | |
| DocumentCurrency | ||||
| AmountInDocumentCurrency | ||||
| SourceCurrency | ||||
| AmountInSourceCurrency | ||||
| TargetCurrency | ||||
| ValuatedAmountInTargetCurrency | ||||
| PrevPerdsDeltaAmtInTgtCrcy | ||||
| RecalculatedAmountInTargetCrcy | ||||
| CurPerdFxAmtInTargetCurrency | ||||
| CalcdDeltaAmtInTargetCurrency | ||||
| PostedDeltaAmtInTargetCurrency | ||||
| HistoricalAmount | ||||
| FinClsgRunRsltFDCrcy1 | P_FIVALUATIONRESULTLIST | FinClsgRunRsltFDCrcy1 | ||
| FinClsgRunRsltAmtInFDCrcy1 | P_FIVALUATIONRESULTLIST | FinClsgRunRsltAmtInFDCrcy1 | Amount in Currency 1 | |
| BalanceTransactionCurrency | P_FIVALUATIONRESULTLIST | BalanceTransactionCurrency | Currency | |
| AmountInBalanceTransacCrcy | P_FIVALUATIONRESULTLIST | AmountInBalanceTransacCrcy | Amount in Balance Transaction Currency | |
| CompanyCodeCurrency | P_FIVALUATIONRESULTLIST | CompanyCodeCurrency | Local Currency | |
| AmountInCompanyCodeCurrency | P_FIVALUATIONRESULTLIST | AmountInCompanyCodeCurrency | Local Crcy Amt | |
| GlobalCurrency | P_FIVALUATIONRESULTLIST | GlobalCurrency | GM Billing Element: Global Currency | |
| AmountInGlobalCurrency | P_FIVALUATIONRESULTLIST | AmountInGlobalCurrency | Amount in Global Currency | |
| FreeDefinedCurrency1 | P_FIVALUATIONRESULTLIST | FreeDefinedCurrency1 | Freely Defined Currency 1 | |
| AmountInFreeDefinedCurrency1 | P_FIVALUATIONRESULTLIST | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | |
| FreeDefinedCurrency2 | P_FIVALUATIONRESULTLIST | FreeDefinedCurrency2 | Freely Defined Currency 2 | |
| AmountInFreeDefinedCurrency2 | P_FIVALUATIONRESULTLIST | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | |
| FreeDefinedCurrency3 | P_FIVALUATIONRESULTLIST | FreeDefinedCurrency3 | Freely Defined Currency 3 | |
| AmountInFreeDefinedCurrency3 | P_FIVALUATIONRESULTLIST | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | |
| FreeDefinedCurrency4 | P_FIVALUATIONRESULTLIST | FreeDefinedCurrency4 | Freely Defined Currency 4 | |
| AmountInFreeDefinedCurrency4 | P_FIVALUATIONRESULTLIST | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | |
| FreeDefinedCurrency5 | P_FIVALUATIONRESULTLIST | FreeDefinedCurrency5 | Freely Defined Currency 5 | |
| AmountInFreeDefinedCurrency5 | P_FIVALUATIONRESULTLIST | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | |
| FreeDefinedCurrency6 | P_FIVALUATIONRESULTLIST | FreeDefinedCurrency6 | Freely Defined Currency 6 | |
| AmountInFreeDefinedCurrency6 | P_FIVALUATIONRESULTLIST | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | |
| FreeDefinedCurrency7 | P_FIVALUATIONRESULTLIST | FreeDefinedCurrency7 | Freely Defined Currency 7 | |
| AmountInFreeDefinedCurrency7 | P_FIVALUATIONRESULTLIST | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | |
| FreeDefinedCurrency8 | P_FIVALUATIONRESULTLIST | FreeDefinedCurrency8 | Freely Defined Currency 8 | |
| AmountInFreeDefinedCurrency8 | P_FIVALUATIONRESULTLIST | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | |
| FinancialTransactionType | P_FIVALUATIONRESULTLIST | FinancialTransactionType | Transact. Type | |
| ProfitCenter | P_FIVALUATIONRESULTLIST | ProfitCenter | Profit Center | |
| SalesOrder | P_FIVALUATIONRESULTLIST | SalesOrder | SD Document | |
| SalesOrderItem | P_FIVALUATIONRESULTLIST | SalesOrderItem | Sales Order Item | |
| SupplierName | _Supplier | SupplierName | Supplier Name | |
| Supplier | P_FIVALUATIONRESULTLIST | Supplier | Supplier | |
| CustomerName | _Customer | CustomerName | Name of Customer | |
| Customer | P_FIVALUATIONRESULTLIST | Customer | Sold-to Party | |
| HouseBank | P_FIVALUATIONRESULTLIST | HouseBank | House Bank | |
| HouseBankAccount | P_FIVALUATIONRESULTLIST | HouseBankAccount | House Bank Account | |
| CostCtrActivityType | P_FIVALUATIONRESULTLIST | CostCtrActivityType | Activity Type | |
| OrderID | P_FIVALUATIONRESULTLIST | OrderID | Order ID | |
| WBSElementInternalID | P_FIVALUATIONRESULTLIST | WBSElementInternalID | WBS Internal ID | |
| ProjectNetwork | P_FIVALUATIONRESULTLIST | ProjectNetwork | Order | |
| RelatedNetworkActivity | P_FIVALUATIONRESULTLIST | RelatedNetworkActivity | Netwk activity | |
| BusinessProcess | P_FIVALUATIONRESULTLIST | BusinessProcess | Business Process | |
| CostCenter | P_FIVALUATIONRESULTLIST | CostCenter | Cost Center | |
| FunctionalArea | P_FIVALUATIONRESULTLIST | FunctionalArea | Sendr Fctl Area | |
| BusinessArea | P_FIVALUATIONRESULTLIST | BusinessArea | Business Area | |
| ControllingArea | P_FIVALUATIONRESULTLIST | ControllingArea | Controlling Area | |
| Segment | P_FIVALUATIONRESULTLIST | Segment | Segment number | |
| PartnerCostCenter | P_FIVALUATIONRESULTLIST | PartnerCostCenter | Sender Cost Ctr | |
| PartnerProfitCenter | P_FIVALUATIONRESULTLIST | PartnerProfitCenter | Profit Center | |
| PartnerFunctionalArea | P_FIVALUATIONRESULTLIST | PartnerFunctionalArea | Rec. Fntcl Area | |
| PartnerBusinessArea | P_FIVALUATIONRESULTLIST | PartnerBusinessArea | Trdg Part.BA | |
| PartnerCompany | P_FIVALUATIONRESULTLIST | PartnerCompany | Trading Partner | |
| CostObject | P_FIVALUATIONRESULTLIST | CostObject | Cost Object | |
| PartnerSegment | P_FIVALUATIONRESULTLIST | PartnerSegment | Partner Segment | |
| JointVenture | P_FIVALUATIONRESULTLIST | JointVenture | Joint venture | |
| JointVentureEquityGroup | P_FIVALUATIONRESULTLIST | JointVentureEquityGroup | Joint Venture Equity Group | |
| JointVentureCostRecoveryCode | P_FIVALUATIONRESULTLIST | JointVentureCostRecoveryCode | Recovery Ind. | |
| JointVenturePartner | P_FIVALUATIONRESULTLIST | JointVenturePartner | Joint Venture Partner | |
| PartnerVenture | P_FIVALUATIONRESULTLIST | PartnerVenture | PartnerVenture | |
| FinancialValuationObjectType | P_FIVALUATIONRESULTLIST | FinancialValuationObjectType | Type of Fin.Val.Obj. | |
| FinancialValuationObject | P_FIVALUATIONRESULTLIST | FinancialValuationObject | Fin Valuation Object | |
| FinancialValuationSubobject | P_FIVALUATIONRESULTLIST | FinancialValuationSubobject | Fin.Val.Sub.Object | |
| OffsettingAccount | P_FIVALUATIONRESULTLIST | OffsettingAccount | Offsetting Acct | |
| SubLedgerAcctLineItemType | P_FIVALUATIONRESULTLIST | SubLedgerAcctLineItemType | SLALineItemType | |
| PostingDate | P_FIVALUATIONRESULTLIST | PostingDate | Posting Date for GR | |
| AccountingDocumentCategory | P_FIVALUATIONRESULTLIST | AccountingDocumentCategory | Journal Entry Category | |
| FiscalPeriod | P_FIVALUATIONRESULTLIST | FiscalPeriod | Tax period | |
| InvoiceItemReference | P_FIVALUATIONRESULTLIST | InvoiceItemReference | Item | |
| InvoiceReference | P_FIVALUATIONRESULTLIST | InvoiceReference | Invoice Reference | |
| InvoiceReferenceFiscalYear | P_FIVALUATIONRESULTLIST | InvoiceReferenceFiscalYear | Invoice Reference Fiscal Year | |
| PrdcssrJournalEntryCompanyCode | P_FIVALUATIONRESULTLIST | PrdcssrJournalEntryCompanyCode | Predecessor Journal Entry Company Code | |
| FinClosingEntryCalculationType | P_FIVALUATIONRESULTLIST | FinClosingEntryCalculationType | Calc. Line Type | |
| _Customer | _Customer | |||
| _Supplier | _Supplier | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _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_FXV_RL.
-- 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_FXV_RL AS
SELECT
rl.Ledger AS Ledger,
rl.CompanyCode AS CompanyCode,
rl.FiscalYear AS FiscalYear,
rl.AccountingDocument AS PrimaryKey1,
rl.LedgerGLLineItem AS PrimaryKey2,
rl.JrnlPeriodEndClosingRunLogUUID AS JrnlPeriodEndClosingRunLogUUID,
rl.JrnlPerdEndClsgRunResultUUID AS JrnlPerdEndClsgRunResultUUID,
cast ( slalittyt.SubLedgerAcctLineItemTypeName as allowancetype ) AS ALLOWANCETYPE,
cast( concat( concat(rl.FinancialClosingValuationRule, '/' ) ,rl.FinClosingValuationRuleStep) as cls_val_rule_and_step preserving type ) AS ValuationRuleAndStep,
StatusText.FinClosingLineItemStatusName AS FinClosingLineItemStatusName,
rl.FinClosingLineItemDetailStatus AS FinClosingLineItemDetailStatus,
StatusDetailText.FinClsgLineItmDetailStatusName AS FinClsgLineItmDetailStatusName,
rl.FinancialClosingLineItemType AS FinancialClosingLineItemType,
rl.GLAccount AS GLAccount,
cast( _GLAccountText._Text[1: Language = $session.system_language].GLAccountName as fis_txt30_skat ) AS GLAccountText,
rl.ChartOfAccounts AS ChartOfAccounts,
cast ( rl.FinancialClosingGrouping as cls_run_group_id ) AS GROUPID,
cast ( rl.FinancialClosingGroupingRule as fins_val_grouping_rule ) AS GROUPRULE,
cast ( rl.FinClosingGroupingRuleStep as fins_val_grouping_rule_step ) AS GROUPRULESTEP,
rl.NetDueDate AS NetDueDate,
rl.OldestOpenItemNetDueDate AS OldestOpenItemNetDueDate,
cast( rl.PredecessorJournalEntry as cls_val_original_journal_entry preserving type ) AS PredecessorJournalEntry,
cast( rl.PredecessorJournalEntryItem as cls_val_original_journal_item preserving type ) AS PredecessorJournalEntryItem,
cast( rl.PrdcssrJournalEntryFiscalYear as cls_val_original_fiscal_year preserving type ) AS PrdcssrJournalEntryFiscalYear,
cast( rl.ClearingDate as cls_val_clearingdate preserving type ) AS ClearingDate,
cast( rl.ClearingAccountingDocument as cls_val_clearingdoc preserving type ) AS ClearingAccountingDocument,
cast( rl.ClearingDocFiscalYear as cls_val_clearingyear preserving type ) AS ClearingDocFiscalYear,
cast( 0 as fagl_hist_rate ) AS OriginalExchangeRate,
rl.ExchangeRate AS ValuationExchangeRate,
cast( rl.FinClsgRunRsltFDCrcy1 as fins_currw preserving type ) AS DocumentCurrency,
cast( rl.FinClsgRunRsltAmtInFDCrcy1 as valuatedamtintgtcrcy preserving type ) AS AmountInDocumentCurrency,
cast( rl.FinClsgRunRsltFDCrcy1 as fins_currw ) AS SourceCurrency,
cast( rl.FinClsgRunRsltAmtInFDCrcy1 as valuatedamtintgtcrcy preserving type ) AS AmountInSourceCurrency,
cast( rl.FinClsgRunRsltFDCrcy2 as targetcurrency ) AS TargetCurrency,
cast( rl.FinClsgRunRsltAmtInFDCrcy2 as valuatedamtintgtcrcy preserving type ) AS ValuatedAmountInTargetCurrency,
cast( rl.FinClsgRunRsltAmtInFDCrcy3 as prevperdsdeltaamtintgtcrcy preserving type ) AS PrevPerdsDeltaAmtInTgtCrcy,
cast( rl.FinClsgRunRsltAmtInFDCrcy4 as recalculatedamountintargetcrcy preserving type ) AS RecalculatedAmountInTargetCrcy,
cast( rl.FinClsgRunRsltAmtInFDCrcy6 as curperdfxamtintargetcurrency preserving type ) AS CurPerdFxAmtInTargetCurrency,
cast( rl.FinClsgRunRsltAmtInFDCrcy7 as calcddeltaamtintargetcurrency preserving type ) AS CalcdDeltaAmtInTargetCurrency,
cast( rl.FinClsgRunRsltAmtInFDCrcy5 as posteddeltaamtintargetcurrency preserving type ) AS PostedDeltaAmtInTargetCurrency,
cast( rl.FinClsgRunRsltAmtInFDCrcy8 as historicalamount preserving type ) AS HistoricalAmount,
rl.FinClsgRunRsltFDCrcy1 AS FinClsgRunRsltFDCrcy1,
rl.FinClsgRunRsltAmtInFDCrcy1 AS FinClsgRunRsltAmtInFDCrcy1,
rl.BalanceTransactionCurrency AS BalanceTransactionCurrency,
rl.AmountInBalanceTransacCrcy AS AmountInBalanceTransacCrcy,
rl.CompanyCodeCurrency AS CompanyCodeCurrency,
rl.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
rl.GlobalCurrency AS GlobalCurrency,
rl.AmountInGlobalCurrency AS AmountInGlobalCurrency,
rl.FreeDefinedCurrency1 AS FreeDefinedCurrency1,
rl.AmountInFreeDefinedCurrency1 AS AmountInFreeDefinedCurrency1,
rl.FreeDefinedCurrency2 AS FreeDefinedCurrency2,
rl.AmountInFreeDefinedCurrency2 AS AmountInFreeDefinedCurrency2,
rl.FreeDefinedCurrency3 AS FreeDefinedCurrency3,
rl.AmountInFreeDefinedCurrency3 AS AmountInFreeDefinedCurrency3,
rl.FreeDefinedCurrency4 AS FreeDefinedCurrency4,
rl.AmountInFreeDefinedCurrency4 AS AmountInFreeDefinedCurrency4,
rl.FreeDefinedCurrency5 AS FreeDefinedCurrency5,
rl.AmountInFreeDefinedCurrency5 AS AmountInFreeDefinedCurrency5,
rl.FreeDefinedCurrency6 AS FreeDefinedCurrency6,
rl.AmountInFreeDefinedCurrency6 AS AmountInFreeDefinedCurrency6,
rl.FreeDefinedCurrency7 AS FreeDefinedCurrency7,
rl.AmountInFreeDefinedCurrency7 AS AmountInFreeDefinedCurrency7,
rl.FreeDefinedCurrency8 AS FreeDefinedCurrency8,
rl.AmountInFreeDefinedCurrency8 AS AmountInFreeDefinedCurrency8,
rl.FinancialTransactionType AS FinancialTransactionType,
rl.ProfitCenter AS ProfitCenter,
rl.SalesOrder AS SalesOrder,
rl.SalesOrderItem AS SalesOrderItem,
_Supplier.SupplierName AS SupplierName,
rl.Supplier AS Supplier,
_Customer.CustomerName AS CustomerName,
rl.Customer AS Customer,
rl.HouseBank AS HouseBank,
rl.HouseBankAccount AS HouseBankAccount,
rl.CostCtrActivityType AS CostCtrActivityType,
rl.OrderID AS OrderID,
rl.WBSElementInternalID AS WBSElementInternalID,
rl.ProjectNetwork AS ProjectNetwork,
rl.RelatedNetworkActivity AS RelatedNetworkActivity,
rl.BusinessProcess AS BusinessProcess,
rl.CostCenter AS CostCenter,
rl.FunctionalArea AS FunctionalArea,
rl.BusinessArea AS BusinessArea,
rl.ControllingArea AS ControllingArea,
rl.Segment AS Segment,
rl.PartnerCostCenter AS PartnerCostCenter,
rl.PartnerProfitCenter AS PartnerProfitCenter,
rl.PartnerFunctionalArea AS PartnerFunctionalArea,
rl.PartnerBusinessArea AS PartnerBusinessArea,
rl.PartnerCompany AS PartnerCompany,
rl.CostObject AS CostObject,
rl.PartnerSegment AS PartnerSegment,
rl.JointVenture AS JointVenture,
rl.JointVentureEquityGroup AS JointVentureEquityGroup,
rl.JointVentureCostRecoveryCode AS JointVentureCostRecoveryCode,
rl.JointVenturePartner AS JointVenturePartner,
rl.PartnerVenture AS PartnerVenture,
rl.FinancialValuationObjectType AS FinancialValuationObjectType,
rl.FinancialValuationObject AS FinancialValuationObject,
rl.FinancialValuationSubobject AS FinancialValuationSubobject,
rl.OffsettingAccount AS OffsettingAccount,
rl.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
rl.PostingDate AS PostingDate,
rl.AccountingDocumentCategory AS AccountingDocumentCategory,
rl.FiscalPeriod AS FiscalPeriod,
rl.InvoiceItemReference AS InvoiceItemReference,
rl.InvoiceReference AS InvoiceReference,
rl.InvoiceReferenceFiscalYear AS InvoiceReferenceFiscalYear,
rl.PrdcssrJournalEntryCompanyCode AS PrdcssrJournalEntryCompanyCode,
rl.FinClosingEntryCalculationType AS FinClosingEntryCalculationType
FROM P_FIVALUATIONRESULTLIST AS rl
LEFT OUTER JOIN I_FinClsgLineItemDetailStatusT AS StatusDetailText ON rl.FinClosingLineItemDetailStatus = StatusDetailText.FinClosingLineItemDetailStatus AND StatusDetailText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountText ON GLAccount = _GLAccountText.GLAccount AND ChartOfAccounts = _GLAccountText.ChartOfAccounts -- association [1..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_ProfitCenter AS _CurrentProfitCenter ON ControllingArea = _CurrentProfitCenter.ControllingArea AND ProfitCenter = _CurrentProfitCenter.ProfitCenter AND _CurrentProfitCenter.ValidityStartDate <= $session.system_date AND _CurrentProfitCenter.ValidityEndDate >= $session.system_date -- association [0..*]
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..*]
;
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