P_FTR_FS_FIB_DS3

DDL: P_FTR_FS_FIB_DS3 Type: view_entity COMPOSITE

P_FTR_FS_FIB_DS3 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_FiscalYear, I_GLAccountLineItem) and exposes 40 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_FiscalYear FiscalYear inner
I_GLAccountLineItem I_GLAccountLineItem from

Parameters (1)

NameTypeDefault
P_KeyDate vdm_v_key_date

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_HouseBankWithRiskBP _BankLinkage $projection.CompanyCode = _BankLinkage.CompanyCode and $projection.HouseBank = _BankLinkage.HouseBank

Annotations (3)

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

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger I_GLAccountLineItem SourceLedger Source Ledger
KEY CompanyCode I_GLAccountLineItem CompanyCode Receiver Company Code
KEY FiscalYear I_GLAccountLineItem FiscalYear G/L Fiscal Year
KEY AccountingDocument I_GLAccountLineItem AccountingDocument Journal Entry
KEY LedgerGLLineItem I_GLAccountLineItem LedgerGLLineItem Journal Entry Item
KEY Ledger I_GLAccountLineItem Ledger Ledger
FinancialPositionDataSource
TransactionDate I_GLAccountLineItem PostingDate Posting Date for GR
BookValueAmtInPositionCurrency I_GLAccountLineItem AmountInTransactionCurrency Pt Crcy Amt
UtilizedAmountInTransCrcy
TotalAmountInTransactionCrcy
TransactionCurrency I_GLAccountLineItem TransactionCurrency Transaction Currency
GLAccount I_GLAccountLineItem GLAccount General Ledger
ChartOfAccounts I_GLAccountLineItem ChartOfAccounts Node Class
HouseBank I_GLAccountLineItem HouseBank House Bank
HouseBankAccount I_GLAccountLineItem HouseBankAccount House Bank Account
AccountingDocumentType I_GLAccountLineItem AccountingDocumentType Journal Entry Type
BusinessArea I_GLAccountLineItem BusinessArea Business Area
NominalCurrency I_GLAccountLineItem TransactionCurrency Transaction Currency
NominalAmountInNominalCurrency I_GLAccountLineItem AmountInTransactionCurrency Pt Crcy Amt
FiscalYearEndDate I_FiscalYear FiscalYearEndDate
FiscalYearStartDate I_FiscalYear FiscalYearStartDate
TreasuryValuationArea
FinancialInstrumentProductType
FinancialInstrTransactionType
TreasuryValuationClass
Portfolio
SecurityAccount
SecurityClass
TreasuryPositionAccount
FinancialTransaction
Issuer
Counterparty
CommitmentBusinessPartner
Fund I_GLAccountLineItem Fund Sender Fund
GrantID I_GLAccountLineItem GrantID Sender Grant
ProfitCenter I_GLAccountLineItem ProfitCenter Profit Center
CostCenter I_GLAccountLineItem CostCenter Cost Center
WBSElementInternalID I_GLAccountLineItem WBSElementInternalID WBS Internal ID
FunctionalArea I_GLAccountLineItem FunctionalArea Sendr Fctl Area

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_FTR_FS_FIB_DS3.
-- 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_KeyDate : vdm_v_key_date

CREATE VIEW P_FTR_FS_FIB_DS3 AS
SELECT
  I_GLAccountLineItem.SourceLedger AS SourceLedger,
  I_GLAccountLineItem.CompanyCode AS CompanyCode,
  I_GLAccountLineItem.FiscalYear AS FiscalYear,
  I_GLAccountLineItem.AccountingDocument AS AccountingDocument,
  I_GLAccountLineItem.LedgerGLLineItem AS LedgerGLLineItem,
  I_GLAccountLineItem.Ledger AS Ledger,
  cast ('FIB' as ftr_gen_fin_pos_datasource ) AS FinancialPositionDataSource,
  I_GLAccountLineItem.PostingDate AS TransactionDate,
  I_GLAccountLineItem.AmountInTransactionCurrency AS BookValueAmtInPositionCurrency,
  cast ( 0 as ftr_utilamtintranscrcy) AS UtilizedAmountInTransCrcy,
  cast ( 0 as ftr_totamtintranscrcy) AS TotalAmountInTransactionCrcy,
  I_GLAccountLineItem.TransactionCurrency AS TransactionCurrency,
  I_GLAccountLineItem.GLAccount AS GLAccount,
  I_GLAccountLineItem.ChartOfAccounts AS ChartOfAccounts,
  I_GLAccountLineItem.HouseBank AS HouseBank,
  I_GLAccountLineItem.HouseBankAccount AS HouseBankAccount,
  I_GLAccountLineItem.AccountingDocumentType AS AccountingDocumentType,
  I_GLAccountLineItem.BusinessArea AS BusinessArea,
  I_GLAccountLineItem.TransactionCurrency AS NominalCurrency,
  I_GLAccountLineItem.AmountInTransactionCurrency AS NominalAmountInNominalCurrency,
  FiscalYear.FiscalYearEndDate AS FiscalYearEndDate,
  FiscalYear.FiscalYearStartDate AS FiscalYearStartDate,
  cast('' as tpm_val_area) AS TreasuryValuationArea,
  cast('' as vvsart) AS FinancialInstrumentProductType,
  cast('' as tb_sfhaart) AS FinancialInstrTransactionType,
  cast('' as tpm_val_class) AS TreasuryValuationClass,
  cast('' as rportb) AS Portfolio,
  cast('' as ftr_gen_security_account) AS SecurityAccount,
  cast('' as ftr_gen_security_class) AS SecurityClass,
  cast('' as tpm_pos_account_fut) AS TreasuryPositionAccount,
  cast ('' as tb_rfha) AS FinancialTransaction,
  cast ('' as repke_new) AS Issuer,
  cast ('' as rkontrah_new) AS Counterparty,
  cast ('' as fti_ldb_risk_counterparty) AS CommitmentBusinessPartner,
  I_GLAccountLineItem.Fund AS Fund,
  I_GLAccountLineItem.GrantID AS GrantID,
  I_GLAccountLineItem.ProfitCenter AS ProfitCenter,
  I_GLAccountLineItem.CostCenter AS CostCenter,
  I_GLAccountLineItem.WBSElementInternalID AS WBSElementInternalID,
  I_GLAccountLineItem.FunctionalArea AS FunctionalArea
FROM I_GLAccountLineItem
INNER JOIN I_FiscalYear AS FiscalYear ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_HouseBankWithRiskBP AS _BankLinkage ON CompanyCode = _BankLinkage.CompanyCode AND HouseBank = _BankLinkage.HouseBank  -- association [0..1]
;