P_MX_FinancialStmntStructure3
Financial Statement Structure for MX
P_MX_FinancialStmntStructure3 is a Composite CDS View that provides data about "Financial Statement Structure for MX" in SAP S/4HANA. It reads from 1 data source (P_MX_FinancialStmntStructure2) and exposes 20 fields with key fields HierarchyNodeUniqueID, FinancialStatementVariant, ChartOfAccounts, CompanyCode, GLAccount. It has 1 association to related views. Part of development package GLO_FIN_IS_GL_MX_AUX_ACCT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_MX_FinancialStmntStructure2 | P_MX_FinancialStmntStructure2 | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_AlternativeGLAccount | figlmx_prim |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_StRpGLAccountLog | _ReportedGLAcctLog | _ReportedGLAcctLog.CompanyCode = FSV.CompanyCode and _ReportedGLAcctLog.GLAccount = FSV.GLAccount |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMXFINSTMNTSTRU3 | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | HierarchyNodeUniqueID | FSV | HierarchyNode | Node |
| KEY | FinancialStatementVariant | FSV | FinancialStatementHierarchy | Hierarchy ID |
| KEY | ChartOfAccounts | FSV | ChartOfAccounts | Node Class |
| KEY | CompanyCode | FSV | CompanyCode | Receiver Company Code |
| KEY | GLAccount | FSV | GLAccount | General Ledger |
| KEY | StatryRptCategory | _ReportedGLAcctLog | StatryRptCategory | Report ID |
| KEY | StatryRptgEntity | _ReportedGLAcctLog | StatryRptgEntity | Reporting Entity |
| KEY | StatryRptRunID | _ReportedGLAcctLog | StatryRptRunID | Report Run ID |
| KEY | ValidityEndDate | FSV | ValidityEndDate | ValidTo |
| ValidityStartDate | FSV | ValidityStartDate | Validity Start Date | |
| FinancialStatementItem | FSV | FinancialStatementItem | FS Item | |
| VATRegistration | FSV | VATRegistration | VAT Registration No. | |
| GLAccountType | FSV | GLAccountType | G/L Account Type | |
| GLAccountInfo | FSV | GLAccountInfo | ||
| MX_SATGLAccountGrouping | FSV | FinancialStatementItem | FS Item | |
| GLAccountGroup | FSV | GLAccountGroup | Account Group | |
| OperationalGLAccount | FSV | OperationalGLAccount | Operational G/L Acct | |
| OperationalChartOfAccounts | FSV | OperationalChartOfAccounts | ||
| _GLAccountInChartOfAccounts | FSV | _GLAccountInChartOfAccounts | ||
| _ReportedGLAcctLog | _ReportedGLAcctLog |
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_MX_FinancialStmntStructure3.
-- 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.
-- SQL view name: PMXFINSTMNTSTRU3
-- Parameters: P_AlternativeGLAccount : figlmx_prim
CREATE VIEW P_MX_FinancialStmntStructure3 AS
SELECT
FSV.HierarchyNode AS HierarchyNodeUniqueID,
FSV.FinancialStatementHierarchy AS FinancialStatementVariant,
FSV.ChartOfAccounts AS ChartOfAccounts,
FSV.CompanyCode AS CompanyCode,
FSV.GLAccount AS GLAccount,
_ReportedGLAcctLog.StatryRptCategory AS StatryRptCategory,
_ReportedGLAcctLog.StatryRptgEntity AS StatryRptgEntity,
_ReportedGLAcctLog.StatryRptRunID AS StatryRptRunID,
FSV.ValidityEndDate AS ValidityEndDate,
FSV.ValidityStartDate AS ValidityStartDate,
FSV.FinancialStatementItem AS FinancialStatementItem,
FSV.VATRegistration AS VATRegistration,
FSV.GLAccountType AS GLAccountType,
FSV.GLAccountInfo AS GLAccountInfo,
FSV.FinancialStatementItem AS MX_SATGLAccountGrouping,
FSV.GLAccountGroup AS GLAccountGroup,
FSV.OperationalGLAccount AS OperationalGLAccount,
FSV.OperationalChartOfAccounts AS OperationalChartOfAccounts,
FSV._GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts
FROM P_MX_FinancialStmntStructure2
LEFT OUTER JOIN I_StRpGLAccountLog AS _ReportedGLAcctLog ON _ReportedGLAcctLog.CompanyCode = FSV.CompanyCode AND _ReportedGLAcctLog.GLAccount = FSV.GLAccount -- 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