I_MPJournalEntryItemCube

DDL: I_MPJOURNALENTRYITEMCUBE SQL: IMPJRNLCUBE Type: view COMPOSITE

Master Project Accounting Journal Entry Item Cube

I_MPJournalEntryItemCube is a Composite CDS View (Cube) that provides data about "Master Project Accounting Journal Entry Item Cube" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 94 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntryItem I_JournalEntryItem from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_InternalOrder _InternalOrder $projection.OrderID = _InternalOrder.InternalOrder
[0..1] I_Order _Order $projection.OrderID = _Order.OrderID

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IMPJRNLCUBE view
VDM.viewType #COMPOSITE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Master Project Accounting Journal Entry Item Cube view
ObjectModel.representativeKey LedgerGLLineItem view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
Analytics.dataCategory #CUBE view
Analytics.dataExtraction.enabled true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.ignorePropagatedAnnotations true view
AccessControl.personalData.blocking #REQUIRED view
Metadata.allowExtensions true view

Fields (94)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger SourceLedger Source Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
KEY Ledger Ledger Ledger
LedgerFiscalYear LedgerFiscalYear
GLRecordType GLRecordType Record Type
LedgerName
CompanyCodeName
ChartOfAccounts ChartOfAccounts Node Class
ControllingArea ControllingArea Controlling Area
ControllingAreaName
BusinessTransactionType BusinessTransactionType Bus.transaction
ReferenceDocumentType ReferenceDocumentType Reference Document Type
ReferenceDocument ReferenceDocument Reference Document
ReferenceDocumentItem ReferenceDocumentItem Reference item
ReferenceDocumentItemGroup ReferenceDocumentItemGroup Reference Document Item Group
GLAccount GLAccount General Ledger
CostCenter CostCenter Cost Center
PartnerCostCenter PartnerCostCenter Sender Cost Ctr
BusinessArea BusinessArea Business Area
Segment Segment Segment number
TransactionCurrency TransactionCurrency Transaction Currency
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
ControllingObjectCurrency ControllingObjectCurrency CO Object Currency
AmountInObjectCurrency AmountInObjectCurrency Amount in Obj Crcy
BaseUnit BaseUnit Unit of Measure
Quantity Quantity Value
FixedQuantity FixedQuantity Fixed Quantity
CostSourceUnit CostSourceUnit
ValuationQuantity ValuationQuantity
FiscalPeriod FiscalPeriod Tax period
PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
AccountingDocumentType AccountingDocumentType Journal Entry Type
AccountingDocumentTypeName
AccountingDocumentItem AccountingDocumentItem Posting View Item
AssignmentReference AssignmentReference Assignment Reference
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
PurchasingDocument PurchasingDocument Purchasing Document
PurchasingDocumentItem PurchasingDocumentItem Purchasing Doc. Item
DocumentItemText DocumentItemText Text
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
Material Material Vehicle Model
Plant Plant Valuation Area
Supplier Supplier Supplier
Customer Customer Sold-to Party
FinancialAccountType FinancialAccountType Fin. Account Type
ControllingObject ControllingObject Object number
PersonnelNumber PersonnelNumber Personnel No.
AccountAssignment AccountAssignment Sender Acct Assgmt
AccountAssignmentType AccountAssignmentType Sndr AcctAssgmt Type
CostCtrActivityType CostCtrActivityType Activity Type
OrderID OrderID Order ID
OrderCategory OrderCategory Order Category
WBSElement WBSElement WBS Internal ID
WorkPackage WorkPackage Plan Item
Project Project WBS Element
ProjectNetwork ProjectNetwork Order
RelatedNetworkActivity RelatedNetworkActivity Netwk activity
BillingDocumentType BillingDocumentType Billing Type
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision OrganizationDivision Org. Division
_SourceLedger _SourceLedger
_JournalEntry _JournalEntry
_CompanyCode _CompanyCode
_FiscalYear _FiscalYear
_ChartOfAccounts _ChartOfAccounts
_ControllingArea _ControllingArea
_TransactionCurrency _TransactionCurrency
_CostCenter _CostCenter
_BaseUnit _BaseUnit
_WBSElement _WBSElement
_Project _Project
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_GLAccountInCompanyCode _GLAccountInCompanyCode
_AccountingDocumentType _AccountingDocumentType
_WorkPackage _WorkPackage
_Ledger _Ledger
_Plant _Plant
_Supplier _Supplier
_Material _Material
_Customer _Customer
_SalesOrder _SalesOrder
_InternalOrder _InternalOrder
_Order _Order
_CostSourceUnit _CostSourceUnit
_FinancialAccountType _FinancialAccountType
_BusinessArea _BusinessArea
_Segment _Segment

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_MPJournalEntryItemCube.
-- 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: IMPJRNLCUBE

CREATE VIEW I_MPJournalEntryItemCube AS
SELECT
  SourceLedger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  Ledger,
  LedgerFiscalYear,
  GLRecordType,
  _Ledger._Text[1: Language = $session.system_language].LedgerName AS LedgerName,
  cast( _CompanyCode.CompanyCodeName as fis_butxt preserving type ) AS CompanyCodeName,
  ChartOfAccounts,
  ControllingArea,
  cast( _ControllingArea.ControllingAreaName as fis_bezei preserving type ) AS ControllingAreaName,
  BusinessTransactionType,
  ReferenceDocumentType,
  ReferenceDocument,
  ReferenceDocumentItem,
  ReferenceDocumentItemGroup,
  GLAccount,
  CostCenter,
  PartnerCostCenter,
  BusinessArea,
  Segment,
  TransactionCurrency,
  AmountInTransactionCurrency,
  ControllingObjectCurrency,
  AmountInObjectCurrency,
  BaseUnit,
  Quantity,
  FixedQuantity,
  CostSourceUnit,
  ValuationQuantity,
  FiscalPeriod,
  cast (PostingDate as abap.char( 10 )) AS PostingDate,
  DocumentDate,
  AccountingDocumentType,
  _AccountingDocumentType._Text[1: Language = $session.system_language].AccountingDocumentTypeName AS AccountingDocumentTypeName,
  AccountingDocumentItem,
  AssignmentReference,
  AccountingDocumentCategory,
  AccountingDocCreatedByUser,
  PurchasingDocument,
  PurchasingDocumentItem,
  DocumentItemText,
  SalesOrder,
  SalesOrderItem,
  Material,
  Plant,
  Supplier,
  Customer,
  FinancialAccountType,
  ControllingObject,
  PersonnelNumber,
  AccountAssignment,
  AccountAssignmentType,
  CostCtrActivityType,
  OrderID,
  OrderCategory,
  WBSElement,
  WorkPackage,
  Project,
  ProjectNetwork,
  RelatedNetworkActivity,
  BillingDocumentType,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision
FROM I_JournalEntryItem
LEFT OUTER JOIN I_InternalOrder AS _InternalOrder ON OrderID = _InternalOrder.InternalOrder  -- association [0..1]
LEFT OUTER JOIN I_Order AS _Order ON OrderID = _Order.OrderID  -- association [0..1]
;