P_SI_StstcsFinAccount
Slovenian SFR report
P_SI_StstcsFinAccount is a Composite CDS View that provides data about "Slovenian SFR report" in SAP S/4HANA. It reads from 2 data sources (I_GLAccountLineItem, I_StRpJournalEntryLog) and exposes 27 fields with key fields SourceLedger, Ledger, CompanyCode, AccountingDocument, FiscalYear. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItem | GLAccountLineItem | from |
| I_StRpJournalEntryLog | StRpJournalEntryLog | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SI_StatFinRepAcctgCstmzg | _Customizing | _Customizing.CompanyCode = GLAccountLineItem.CompanyCode and _Customizing.FromGLAccount <= GLAccountLineItem.GLAccount and _Customizing.ToGLAccount >= GLAccountLineItem.GLAccount |
| [0..1] | I_SI_CntrlBkRptgPrtnAssignment | _CustomerFinSector | _CustomerFinSector.CompanyCode = GLAccountLineItem.CompanyCode and ( _CustomerFinSector.Customer = GLAccountLineItem.Customer and GLAccountLineItem.Customer is not initial and GLAccountLineItem.Customer is not null ) |
| [0..1] | I_SI_CntrlBkRptgPrtnAssignment | _SupplierFinSector | _SupplierFinSector.CompanyCode = GLAccountLineItem.CompanyCode and ( _SupplierFinSector.Supplier = GLAccountLineItem.Supplier and GLAccountLineItem.Supplier is not initial and GLAccountLineItem.Supplier is not null ) |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Slovenian SFR report | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceLedger | I_GLAccountLineItem | SourceLedger | Source Ledger |
| KEY | Ledger | I_GLAccountLineItem | Ledger | Ledger |
| KEY | CompanyCode | I_GLAccountLineItem | CompanyCode | Receiver Company Code |
| KEY | AccountingDocument | I_GLAccountLineItem | AccountingDocument | Journal Entry |
| KEY | FiscalYear | I_GLAccountLineItem | FiscalYear | G/L Fiscal Year |
| KEY | LedgerGLLineItem | I_GLAccountLineItem | LedgerGLLineItem | Journal Entry Item |
| KEY | StatryRptgEntity | I_StRpJournalEntryLog | StatryRptgEntity | Reporting Entity |
| KEY | StatryRptCategory | I_StRpJournalEntryLog | StatryRptCategory | Report ID |
| KEY | StatryRptRunID | I_StRpJournalEntryLog | StatryRptRunID | Report Run ID |
| AccountingDocumentItem | I_GLAccountLineItem | AccountingDocumentItem | Posting View Item | |
| DebitCreditCode | I_GLAccountLineItem | DebitCreditCode | Single-Character Flag | |
| PostingDate | I_GLAccountLineItem | PostingDate | Posting Date for GR | |
| DocumentDate | I_GLAccountLineItem | DocumentDate | Journal Entry Date | |
| GLAccount | I_GLAccountLineItem | GLAccount | General Ledger | |
| DocumentItemText | I_GLAccountLineItem | DocumentItemText | Text | |
| FinancialAccountType | I_GLAccountLineItem | FinancialAccountType | Fin. Account Type | |
| Customer | I_GLAccountLineItem | Customer | Sold-to Party | |
| CustomerCountry | ||||
| Supplier | I_GLAccountLineItem | Supplier | Supplier | |
| SupplierCountry | ||||
| TransactionCurrency | I_GLAccountLineItem | TransactionCurrency | Transaction Currency | |
| CompanyCodeCurrency | I_GLAccountLineItem | CompanyCodeCurrency | Local Currency | |
| SI_GLAccountType | _Customizing | SI_GLAccountType | ||
| SI_FinancialInstrument | _Customizing | SI_FinancialInstrument | ||
| Calculation | _Customizing | Calculation | ||
| _Customer | I_GLAccountLineItem | _Customer | ||
| _Supplier | I_GLAccountLineItem | _Supplier |
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_SI_StstcsFinAccount.
-- 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_SI_StstcsFinAccount AS
SELECT
GLAccountLineItem.SourceLedger AS SourceLedger,
GLAccountLineItem.Ledger AS Ledger,
GLAccountLineItem.CompanyCode AS CompanyCode,
GLAccountLineItem.AccountingDocument AS AccountingDocument,
GLAccountLineItem.FiscalYear AS FiscalYear,
GLAccountLineItem.LedgerGLLineItem AS LedgerGLLineItem,
StRpJournalEntryLog.StatryRptgEntity AS StatryRptgEntity,
StRpJournalEntryLog.StatryRptCategory AS StatryRptCategory,
StRpJournalEntryLog.StatryRptRunID AS StatryRptRunID,
GLAccountLineItem.AccountingDocumentItem AS AccountingDocumentItem,
GLAccountLineItem.DebitCreditCode AS DebitCreditCode,
GLAccountLineItem.PostingDate AS PostingDate,
GLAccountLineItem.DocumentDate AS DocumentDate,
GLAccountLineItem.GLAccount AS GLAccount,
GLAccountLineItem.DocumentItemText AS DocumentItemText,
GLAccountLineItem.FinancialAccountType AS FinancialAccountType,
GLAccountLineItem.Customer AS Customer,
GLAccountLineItem._Customer.Country AS CustomerCountry,
GLAccountLineItem.Supplier AS Supplier,
GLAccountLineItem._Supplier.Country AS SupplierCountry,
GLAccountLineItem.TransactionCurrency AS TransactionCurrency,
GLAccountLineItem.CompanyCodeCurrency AS CompanyCodeCurrency,
_Customizing.SI_GLAccountType AS SI_GLAccountType,
_Customizing.SI_FinancialInstrument AS SI_FinancialInstrument,
_Customizing.Calculation AS Calculation,
GLAccountLineItem._Customer AS _Customer,
GLAccountLineItem._Supplier AS _Supplier
FROM I_GLAccountLineItem AS GLAccountLineItem
INNER JOIN I_StRpJournalEntryLog AS StRpJournalEntryLog ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SI_StatFinRepAcctgCstmzg AS _Customizing ON _Customizing.CompanyCode = GLAccountLineItem.CompanyCode AND _Customizing.FromGLAccount <= GLAccountLineItem.GLAccount AND _Customizing.ToGLAccount >= GLAccountLineItem.GLAccount -- association [0..1]
LEFT OUTER JOIN I_SI_CntrlBkRptgPrtnAssignment AS _CustomerFinSector ON _CustomerFinSector.CompanyCode = GLAccountLineItem.CompanyCode AND ( _CustomerFinSector.Customer = GLAccountLineItem.Customer AND GLAccountLineItem.Customer is not initial AND GLAccountLineItem.Customer is not null ) -- association [0..1]
LEFT OUTER JOIN I_SI_CntrlBkRptgPrtnAssignment AS _SupplierFinSector ON _SupplierFinSector.CompanyCode = GLAccountLineItem.CompanyCode AND ( _SupplierFinSector.Supplier = GLAccountLineItem.Supplier AND GLAccountLineItem.Supplier is not initial AND GLAccountLineItem.Supplier is not null ) -- 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