I_StatementOfChanges
Statement of Changes line items
I_StatementOfChanges is a Composite CDS View (Cube) that provides data about "Statement of Changes line items" in SAP S/4HANA. It reads from 5 data sources (I_GLAccountLineItem, I_LedgerCompanyCodeCrcyRoles, I_SemTagGLAccount, I_StatementOfChangesSemTag, P_LedgerCompanyCodeCrcyRoles) and exposes 101 fields with key fields SourceLedger, Ledger, CompanyCode, FiscalYear, AccountingDocument. It has 3 associations to related views.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItem | I_GLAcctBalance | from |
| I_LedgerCompanyCodeCrcyRoles | I_LedgerCompanyCodeCrcyRoles | inner |
| I_SemTagGLAccount | I_SemTagGLAccount | right_outer |
| I_StatementOfChangesSemTag | I_SOCTYPESEMTAG | right_outer |
| P_LedgerCompanyCodeCrcyRoles | P_LedgerCompanyCodeCrcyRoles | inner |
Parameters (6)
| Name | Type | Default |
|---|---|---|
| P_StatementOfChangesType | bspl_account_type | |
| P_CompanyCode | fis_bukrs | |
| P_Ledger | fis_rldnr | |
| P_FiscalYear | fis_gjahr | |
| P_FiscalPeriod | fis_period_to | |
| P_CurrencyRole | fins_curtp |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount |
| [0..1] | I_FiscalPeriodForVariant | _FiscalPeriodForVariant | $projection.FiscalYearVariant = _FiscalPeriodForVariant.FiscalYearVariant and $projection.LedgerFiscalYear = _FiscalPeriodForVariant.FiscalYear and $projection.FiscalPeriod = _FiscalPeriodForVariant.FiscalPeriod |
| [1..1] | I_FinancialTransactionType | _FinancialTransactionType | $projection.FinancialTransactionType = _FinancialTransactionType.FinancialTransactionType |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISTMNTOFCHANGES | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.dataMaintenance | #RESTRICTED | view | |
| Analytics.dataCategory | #CUBE | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Statement of Changes line items | view | |
| Analytics.internalName | #LOCAL | view |
Fields (101)
| 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 | FiscalYear | I_GLAccountLineItem | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | I_GLAccountLineItem | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | I_GLAccountLineItem | LedgerGLLineItem | Journal Entry Item |
| KEY | StatementOfChangesSortOrder | I_soc_ta | StatementOfChangesSortOrder | |
| KEY | FinancialTransactionType | I_soc_ta | FinancialTransactionType | Transact. Type |
| LedgerFiscalYear | LedgerFiscalYear | |||
| GLAccount | I_GLAccountLineItem | GLAccount | General Ledger | |
| ProfitCenter | ProfitCenter | Profit Center | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| BusinessArea | BusinessArea | Business Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| Segment | Segment | Segment number | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| FiscalYearVariant | I_GLAccountLineItem | FiscalYearVariant | FY Variant | |
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| ChartOfAccounts | I_GLAccountLineItem | ChartOfAccounts | Node Class | |
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| AmountInTransactionCurrency | AmountInTransactionCurrency | Pt Crcy Amt | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| AmountInGlobalCurrency | AmountInGlobalCurrency | Amount in Global Currency | ||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| AmountInFreeDefinedCurrency1 | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | ||
| FreeDefinedCurrency2 | FreeDefinedCurrency2 | Freely Defined Currency 2 | ||
| AmountInFreeDefinedCurrency2 | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | ||
| FreeDefinedCurrency3 | FreeDefinedCurrency3 | Freely Defined Currency 3 | ||
| AmountInFreeDefinedCurrency3 | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | ||
| FreeDefinedCurrency4 | FreeDefinedCurrency4 | Freely Defined Currency 4 | ||
| AmountInFreeDefinedCurrency4 | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | ||
| FreeDefinedCurrency5 | FreeDefinedCurrency5 | Freely Defined Currency 5 | ||
| AmountInFreeDefinedCurrency5 | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | ||
| FreeDefinedCurrency6 | FreeDefinedCurrency6 | Freely Defined Currency 6 | ||
| AmountInFreeDefinedCurrency6 | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | ||
| FreeDefinedCurrency7 | FreeDefinedCurrency7 | Freely Defined Currency 7 | ||
| AmountInFreeDefinedCurrency7 | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | ||
| FreeDefinedCurrency8 | FreeDefinedCurrency8 | Freely Defined Currency 8 | ||
| AmountInFreeDefinedCurrency8 | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| OrderID | I_GLAccountLineItem | OrderID | Order ID | |
| Supplier | I_GLAccountLineItem | Supplier | Supplier | |
| CostCenter | I_GLAccountLineItem | CostCenter | Cost Center | |
| OrganizationDivision | I_GLAccountLineItem | OrganizationDivision | Org. Division | |
| ServiceDocumentType | I_GLAccountLineItem | ServiceDocumentType | Transaction Type | |
| AssetClass | I_GLAccountLineItem | AssetClass | Asset Class | |
| Plant | I_GLAccountLineItem | Plant | Valuation Area | |
| ValuationArea | I_GLAccountLineItem | ValuationArea | Valuation Area | |
| FinancialAccountType | I_GLAccountLineItem | FinancialAccountType | Fin. Account Type | |
| SalesDocument | I_GLAccountLineItem | SalesDocument | SD Document | |
| SalesOrganization | I_GLAccountLineItem | SalesOrganization | Sales Organization | |
| DistributionChannel | I_GLAccountLineItem | DistributionChannel | RefDistCh-Cust/Mat. | |
| ServiceDocument | I_GLAccountLineItem | ServiceDocument | Transaction ID | |
| Customer | I_GLAccountLineItem | Customer | Sold-to Party | |
| AccountingDocumentType | I_GLAccountLineItem | AccountingDocumentType | Journal Entry Type | |
| ServiceDocumentItem | I_GLAccountLineItem | ServiceDocumentItem | Service Document | |
| PartnerCompany | I_GLAccountLineItem | PartnerCompany | Trading Partner | |
| FiscalQuarter | _FiscalCalendarDate | FiscalQuarter | ||
| FiscalWeek | _FiscalCalendarDate | FiscalWeek | ||
| FiscalYearQuarter | _FiscalCalendarDate | FiscalYearQuarter | ||
| FiscalYearWeek | _FiscalCalendarDate | FiscalYearWeek | ||
| FiscalPeriodStartDate | _FiscalPeriodForVariant | FiscalPeriodStartDate | ||
| FiscalPeriodEndDate | _FiscalPeriodForVariant | FiscalPeriodEndDate | ||
| _CompanyCode | _CompanyCode | |||
| _FiscalYear | _FiscalYear | |||
| _ControllingArea | _ControllingArea | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _GlobalCurrency | _GlobalCurrency | |||
| _FreeDefinedCurrency1 | _FreeDefinedCurrency1 | |||
| _FreeDefinedCurrency2 | _FreeDefinedCurrency2 | |||
| _FreeDefinedCurrency3 | _FreeDefinedCurrency3 | |||
| _FreeDefinedCurrency4 | _FreeDefinedCurrency4 | |||
| _FreeDefinedCurrency5 | _FreeDefinedCurrency5 | |||
| _FreeDefinedCurrency6 | _FreeDefinedCurrency6 | |||
| _FreeDefinedCurrency7 | _FreeDefinedCurrency7 | |||
| _FreeDefinedCurrency8 | _FreeDefinedCurrency8 | |||
| _Segment | _Segment | |||
| _ProfitCenter | _ProfitCenter | |||
| _BusinessArea | _BusinessArea | |||
| _FunctionalArea | _FunctionalArea | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _DebitCreditCode | _DebitCreditCode | |||
| _Ledger | _Ledger | |||
| _FiscalCalendarDate | _FiscalCalendarDate | |||
| _FiscalYearVariant | _FiscalYearVariant | |||
| _FinancialTransactionType | _FinancialTransactionType | |||
| _PartnerCompany | _PartnerCompany | |||
| _GLAccountInCompanyCode | I_GLAccountLineItem | _GLAccountInCompanyCode | ||
| _Supplier | I_GLAccountLineItem | _Supplier | ||
| _Order | I_GLAccountLineItem | _Order | ||
| _CurrentCostCenter | I_GLAccountLineItem | _CurrentCostCenter | ||
| _SalesDocument | I_GLAccountLineItem | _SalesDocument | ||
| _CurrentProfitCenter | I_GLAccountLineItem | _CurrentProfitCenter | ||
| _ServiceDocument | I_GLAccountLineItem | _ServiceDocument | ||
| _Customer | I_GLAccountLineItem | _Customer | ||
| _AccountingDocumentType | I_GLAccountLineItem | _AccountingDocumentType |
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 I_StatementOfChanges.
-- 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: ISTMNTOFCHANGES
-- Parameters: P_StatementOfChangesType : bspl_account_type, P_CompanyCode : fis_bukrs, P_Ledger : fis_rldnr, P_FiscalYear : fis_gjahr, P_FiscalPeriod : fis_period_to, P_CurrencyRole : fins_curtp
CREATE VIEW I_StatementOfChanges AS
SELECT
I_GLAcctBalance.SourceLedger AS SourceLedger,
I_GLAcctBalance.Ledger AS Ledger,
I_GLAcctBalance.CompanyCode AS CompanyCode,
I_GLAcctBalance.FiscalYear AS FiscalYear,
I_GLAcctBalance.AccountingDocument AS AccountingDocument,
I_GLAcctBalance.LedgerGLLineItem AS LedgerGLLineItem,
I_soc_ta.StatementOfChangesSortOrder AS StatementOfChangesSortOrder,
I_soc_ta.FinancialTransactionType AS FinancialTransactionType,
LedgerFiscalYear,
I_GLAcctBalance.GLAccount AS GLAccount,
ProfitCenter,
FunctionalArea,
BusinessArea,
ControllingArea,
Segment,
DebitCreditCode,
I_GLAcctBalance.FiscalYearVariant AS FiscalYearVariant,
FiscalYearPeriod,
PostingDate,
I_GLAcctBalance.ChartOfAccounts AS ChartOfAccounts,
TransactionCurrency,
AmountInTransactionCurrency,
CompanyCodeCurrency,
AmountInCompanyCodeCurrency,
GlobalCurrency,
AmountInGlobalCurrency,
FreeDefinedCurrency1,
AmountInFreeDefinedCurrency1,
FreeDefinedCurrency2,
AmountInFreeDefinedCurrency2,
FreeDefinedCurrency3,
AmountInFreeDefinedCurrency3,
FreeDefinedCurrency4,
AmountInFreeDefinedCurrency4,
FreeDefinedCurrency5,
AmountInFreeDefinedCurrency5,
FreeDefinedCurrency6,
AmountInFreeDefinedCurrency6,
FreeDefinedCurrency7,
AmountInFreeDefinedCurrency7,
FreeDefinedCurrency8,
AmountInFreeDefinedCurrency8,
FiscalPeriod,
I_GLAcctBalance.OrderID AS OrderID,
I_GLAcctBalance.Supplier AS Supplier,
I_GLAcctBalance.CostCenter AS CostCenter,
I_GLAcctBalance.OrganizationDivision AS OrganizationDivision,
I_GLAcctBalance.ServiceDocumentType AS ServiceDocumentType,
I_GLAcctBalance.AssetClass AS AssetClass,
I_GLAcctBalance.Plant AS Plant,
I_GLAcctBalance.ValuationArea AS ValuationArea,
I_GLAcctBalance.FinancialAccountType AS FinancialAccountType,
I_GLAcctBalance.SalesDocument AS SalesDocument,
I_GLAcctBalance.SalesOrganization AS SalesOrganization,
I_GLAcctBalance.DistributionChannel AS DistributionChannel,
I_GLAcctBalance.ServiceDocument AS ServiceDocument,
I_GLAcctBalance.Customer AS Customer,
I_GLAcctBalance.AccountingDocumentType AS AccountingDocumentType,
I_GLAcctBalance.ServiceDocumentItem AS ServiceDocumentItem,
I_GLAcctBalance.PartnerCompany AS PartnerCompany,
_FiscalCalendarDate.FiscalQuarter AS FiscalQuarter,
_FiscalCalendarDate.FiscalWeek AS FiscalWeek,
_FiscalCalendarDate.FiscalYearQuarter AS FiscalYearQuarter,
_FiscalCalendarDate.FiscalYearWeek AS FiscalYearWeek,
_FiscalPeriodForVariant.FiscalPeriodStartDate AS FiscalPeriodStartDate,
_FiscalPeriodForVariant.FiscalPeriodEndDate AS FiscalPeriodEndDate,
I_GLAcctBalance._GLAccountInCompanyCode AS _GLAccountInCompanyCode,
I_GLAcctBalance._Supplier AS _Supplier,
I_GLAcctBalance._Order AS _Order,
I_GLAcctBalance._CurrentCostCenter AS _CurrentCostCenter,
I_GLAcctBalance._SalesDocument AS _SalesDocument,
I_GLAcctBalance._CurrentProfitCenter AS _CurrentProfitCenter,
I_GLAcctBalance._ServiceDocument AS _ServiceDocument,
I_GLAcctBalance._Customer AS _Customer,
I_GLAcctBalance._AccountingDocumentType AS _AccountingDocumentType
FROM I_GLAccountLineItem AS I_GLAcctBalance
RIGHT OUTER JOIN I_StatementOfChangesSemTag AS I_SOCTYPESEMTAG ON /* join condition not captured in parsed metadata */
RIGHT OUTER JOIN I_SemTagGLAccount ON /* join condition not captured in parsed metadata */
INNER JOIN P_LedgerCompanyCodeCrcyRoles ON /* join condition not captured in parsed metadata */
INNER JOIN I_LedgerCompanyCodeCrcyRoles ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND GLAccount = _GLAccountInChartOfAccounts.GLAccount -- association [0..1]
LEFT OUTER JOIN I_FiscalPeriodForVariant AS _FiscalPeriodForVariant ON FiscalYearVariant = _FiscalPeriodForVariant.FiscalYearVariant AND LedgerFiscalYear = _FiscalPeriodForVariant.FiscalYear AND FiscalPeriod = _FiscalPeriodForVariant.FiscalPeriod -- association [0..1]
LEFT OUTER JOIN I_FinancialTransactionType AS _FinancialTransactionType ON FinancialTransactionType = _FinancialTransactionType.FinancialTransactionType -- association [1..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