C_PE_StRpAstJrnlEntryItemC
Asset Journal Entry Item for Peru - Cube
C_PE_StRpAstJrnlEntryItemC is a Consumption CDS View (Cube) that provides data about "Asset Journal Entry Item for Peru - Cube" in SAP S/4HANA. It reads from 3 data sources (I_GLAccountLineItemRawData, P_PE_AssetValuationAggrgd, I_StRpJournalEntryHeaderLog) and exposes 20 fields with key fields SourceLedger, CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItemRawData | GLAccountLineItem | from |
| P_PE_AssetValuationAggrgd | P_PE_AssetValuationAggrgd | inner |
| I_StRpJournalEntryHeaderLog | StRpJournalEntryLog | inner |
Parameters (5)
| Name | Type | Default |
|---|---|---|
| P_ReportingPeriodStartDate | fis_rep_period_start_date | |
| P_ReportingCurrency | glo_reporting_currency | |
| P_FiscalYear | fis_gjahr | |
| P_KeyDate | fagl_keydate | |
| P_CurrencyRole | fins_curtype |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.dataCategory | #CUBE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Asset Journal Entry Item for Peru - Cube | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceLedger | I_GLAccountLineItemRawData | SourceLedger | Source Ledger |
| KEY | CompanyCode | I_GLAccountLineItemRawData | CompanyCode | Receiver Company Code |
| KEY | AssetDepreciationArea | I_GLAccountLineItemRawData | AssetDepreciationArea | Deprec. Area |
| KEY | MasterFixedAsset | I_GLAccountLineItemRawData | MasterFixedAsset | Fixed Asset |
| KEY | FixedAsset | I_GLAccountLineItemRawData | FixedAsset | Sub-number |
| KEY | FiscalYear | I_GLAccountLineItemRawData | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | I_GLAccountLineItemRawData | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | I_GLAccountLineItemRawData | LedgerGLLineItem | Journal Entry Item |
| KEY | StatryRptCategory | I_StRpJournalEntryHeaderLog | StatryRptCategory | Report ID |
| KEY | StatryRptgEntity | I_StRpJournalEntryHeaderLog | StatryRptgEntity | Reporting Entity |
| KEY | StatryRptRunID | I_StRpJournalEntryHeaderLog | StatryRptRunID | Report Run ID |
| AccountingDocumentCategory | I_GLAccountLineItemRawData | AccountingDocumentCategory | Journal Entry Category | |
| GLAccount | I_GLAccountLineItemRawData | GLAccount | General Ledger | |
| AlternativeGLAccount | I_GLAccountLineItemRawData | AlternativeGLAccount | Group Account | |
| DocumentDate | I_GLAccountLineItemRawData | DocumentDate | Journal Entry Date | |
| PostingDate | I_GLAccountLineItemRawData | PostingDate | Posting Date for GR | |
| ReportingCurrency | ||||
| FixedAssetDescription | ||||
| AssetAmountInReportingCurrency | AssetBalance | AssetAmountInReportingCurrency | ||
| IntngblAstAmtznAmtInRptgCrcy | AssetBalance | IntngblAstAmtznAmtInRptgCrcy |
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 C_PE_StRpAstJrnlEntryItemC.
-- 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_ReportingPeriodStartDate : fis_rep_period_start_date, P_ReportingCurrency : glo_reporting_currency, P_FiscalYear : fis_gjahr, P_KeyDate : fagl_keydate, P_CurrencyRole : fins_curtype
CREATE VIEW C_PE_StRpAstJrnlEntryItemC AS
SELECT
GLAccountLineItem.SourceLedger AS SourceLedger,
GLAccountLineItem.CompanyCode AS CompanyCode,
GLAccountLineItem.AssetDepreciationArea AS AssetDepreciationArea,
GLAccountLineItem.MasterFixedAsset AS MasterFixedAsset,
GLAccountLineItem.FixedAsset AS FixedAsset,
GLAccountLineItem.FiscalYear AS FiscalYear,
GLAccountLineItem.AccountingDocument AS AccountingDocument,
GLAccountLineItem.LedgerGLLineItem AS LedgerGLLineItem,
StRpJournalEntryLog.StatryRptCategory AS StatryRptCategory,
StRpJournalEntryLog.StatryRptgEntity AS StatryRptgEntity,
StRpJournalEntryLog.StatryRptRunID AS StatryRptRunID,
GLAccountLineItem.AccountingDocumentCategory AS AccountingDocumentCategory,
GLAccountLineItem.GLAccount AS GLAccount,
GLAccountLineItem.AlternativeGLAccount AS AlternativeGLAccount,
GLAccountLineItem.DocumentDate AS DocumentDate,
GLAccountLineItem.PostingDate AS PostingDate,
cast( $parameters.P_ReportingCurrency as glo_reporting_currency preserving type ) AS ReportingCurrency,
cast( substring(AssetBalance.FixedAssetDescription,1,40) as txa50_anlt ) AS FixedAssetDescription,
AssetBalance.AssetAmountInReportingCurrency AS AssetAmountInReportingCurrency,
AssetBalance.IntngblAstAmtznAmtInRptgCrcy AS IntngblAstAmtznAmtInRptgCrcy
FROM I_GLAccountLineItemRawData AS GLAccountLineItem
INNER JOIN I_StRpJournalEntryHeaderLog AS StRpJournalEntryLog ON /* join condition not captured in parsed metadata */
INNER JOIN P_PE_AssetValuationAggrgd ON /* join condition not captured in parsed metadata */
;
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