C_PE_StRpAstJrnlEntryItemC

DDL: C_PE_STRPASTJRNLENTRYITEMC Type: view_entity CONSUMPTION

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)

SourceAliasJoin Type
I_GLAccountLineItemRawData GLAccountLineItem from
P_PE_AssetValuationAggrgd P_PE_AssetValuationAggrgd inner
I_StRpJournalEntryHeaderLog StRpJournalEntryLog inner

Parameters (5)

NameTypeDefault
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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;