I_TH_AssetDepreciationCube
Cube View for Thailand Depreciation List
I_TH_AssetDepreciationCube is a Composite CDS View (Cube) that provides data about "Cube View for Thailand Depreciation List" in SAP S/4HANA. It reads from 2 data sources (I_AssetBalanceCube, I_StRpJournalEntryLog) and exposes 31 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, Ledger. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_AssetBalanceCube | I_AssetBalanceCube | from |
| I_StRpJournalEntryLog | ReportedItemsLog | left_outer |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_AssetAccountingKeyFigureSet | faa_key_figure_set | |
| P_FiscalYear | fis_gjahr | |
| P_FiscalPeriod | fis_poper | |
| P_KeyDate | fagl_keydate |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SelectedCurrencyBranch | _SelectedCurrencyBranch | _SelectedCurrencyBranch.SelectedCurrencyBranch = $projection.SelectedCurrencyBranch |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ITHDEPRCUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Cube View for Thailand Depreciation List | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | AssetBalance | CompanyCode | Receiver Company Code |
| KEY | AssetDepreciationArea | AssetDepreciationArea | Deprec. Area | |
| KEY | MasterFixedAsset | MasterFixedAsset | Fixed Asset | |
| KEY | FixedAsset | FixedAsset | Sub-number | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | FiscalYear | AssetBalance | FiscalYear | G/L Fiscal Year |
| KEY | FiscalPeriod | FiscalPeriod | Tax period | |
| KEY | SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | |
| KEY | AssetAcctTransClassfctn | AssetAcctTransClassfctn | Trans.Type Cat. | |
| KEY | AssetAccountingKeyFigure | AssetAccountingKeyFigure | ||
| KEY | AssetAccountingKeyFigureSet | AssetAccountingKeyFigureSet | ||
| KEY | AccountingDocument | AssetBalance | AccountingDocument | Journal Entry |
| KEY | TransactionSubitem | TransactionSubitem | Sub Transaction | |
| KEY | DebitCreditCode | DebitCreditCode | Single-Character Flag | |
| KEY | CurrencyRole | CurrencyRole | Curr./Val. Type | |
| KEY | ReferenceDocument | ReferenceDocument | Reference Document | |
| KEY | LedgerGLLineItem | 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 |
| AccountingPrinciple | AccountingPrinciple | AP Ledger/CoCode | ||
| AssetAccountDetermination | AssetAccountDetermination | Account Determ. | ||
| AssetClass | AssetClass | Asset Class | ||
| AssetCapitalizationDate | AssetCapitalizationDate | Asset Capitalization | ||
| FixedAssetDescription | _FixedAsset | FixedAssetDescription | Description | |
| AssetAuthorizationContext | AssetAuthorizationContext | |||
| SelectedCurrencyBranch | SelectedCurrencyBranch | |||
| DisplayCurrency | DisplayCurrency | Display Currency | ||
| AmountInDisplayCurrency | AmountInDisplayCurrency | |||
| _SelectedCurrencyBranch | _SelectedCurrencyBranch | |||
| _Currency | _Currency |
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_TH_AssetDepreciationCube.
-- 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: ITHDEPRCUBE
-- Parameters: P_AssetAccountingKeyFigureSet : faa_key_figure_set, P_FiscalYear : fis_gjahr, P_FiscalPeriod : fis_poper, P_KeyDate : fagl_keydate
CREATE VIEW I_TH_AssetDepreciationCube AS
SELECT
AssetBalance.CompanyCode AS CompanyCode,
AssetDepreciationArea,
MasterFixedAsset,
FixedAsset,
Ledger,
AssetBalance.FiscalYear AS FiscalYear,
FiscalPeriod,
SubLedgerAcctLineItemType,
AssetAcctTransClassfctn,
AssetAccountingKeyFigure,
AssetAccountingKeyFigureSet,
AssetBalance.AccountingDocument AS AccountingDocument,
TransactionSubitem,
DebitCreditCode,
CurrencyRole,
ReferenceDocument,
LedgerGLLineItem,
ReportedItemsLog.StatryRptgEntity AS StatryRptgEntity,
ReportedItemsLog.StatryRptCategory AS StatryRptCategory,
ReportedItemsLog.StatryRptRunID AS StatryRptRunID,
AccountingPrinciple,
AssetAccountDetermination,
AssetClass,
AssetCapitalizationDate,
_FixedAsset.FixedAssetDescription AS FixedAssetDescription,
AssetAuthorizationContext,
SelectedCurrencyBranch,
DisplayCurrency,
AmountInDisplayCurrency
FROM I_AssetBalanceCube
LEFT OUTER JOIN I_StRpJournalEntryLog AS ReportedItemsLog ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SelectedCurrencyBranch AS _SelectedCurrencyBranch ON _SelectedCurrencyBranch.SelectedCurrencyBranch = SelectedCurrencyBranch -- 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