I_ManagementAccountingCube
Management Accounting - Cube
I_ManagementAccountingCube (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Accounting and Financial Close
I_ManagementAccountingCube is a Composite CDS View (Cube) that provides data about "Management Accounting - Cube" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 172 fields with key fields Ledger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 30 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Accounting and Financial Close |
| Application Component | FI-FIO-GL-IS |
| Capabilities | Data Provider for Analytical Queries |
| Package | Accounting and Financial Close for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntryItem | I_JournalEntryItem | from |
Associations (30)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..1] | I_GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount |
| [0..*] | I_ProfitCenterDetail | _ProfitCenterDetail | $projection.ControllingArea = _ProfitCenterDetail.ControllingArea and $projection.ProfitCenter = _ProfitCenterDetail.ProfitCenter |
| [0..*] | I_ProfitCenter | _ProfitCenter | $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.ProfitCenter = _ProfitCenter.ProfitCenter |
| [0..1] | I_ProfitCenter | _CurrentProfitCenter | $projection.ControllingArea = _CurrentProfitCenter.ControllingArea and $projection.ProfitCenter = _CurrentProfitCenter.ProfitCenter and _CurrentProfitCenter.ValidityStartDate <= $session.system_date and _CurrentProfitCenter.ValidityEndDate >= $session.system_date |
| [0..1] | I_Segment | _Segment | $projection.Segment = _Segment.Segment |
| [0..*] | I_CostCenterDetail | _CostCenterDetail | $projection.ControllingArea = _CostCenterDetail.ControllingArea and $projection.CostCenter = _CostCenterDetail.CostCenter |
| [0..*] | I_CostCenter | _CostCenter | $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CostCenter = _CostCenter.CostCenter |
| [0..1] | I_CostCenter | _CurrentCostCenter | $projection.ControllingArea = _CurrentCostCenter.ControllingArea and $projection.CostCenter = _CurrentCostCenter.CostCenter and _CurrentCostCenter.ValidityStartDate <= $session.system_date and _CurrentCostCenter.ValidityEndDate >= $session.system_date |
| [0..1] | I_ChartOfAccounts | _ChartOfAccounts | $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts |
| [0..1] | I_AccountingDocumentType | _AccountingDocumentType | $projection.AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType |
| [0..1] | I_FinancialAccountType | _FinancialAccountType | $projection.FinancialAccountType = _FinancialAccountType.FinancialAccountType |
| [0..1] | I_DebitCreditCode | _DebitCreditCode | $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode |
| [0..1] | I_BusinessArea | _BusinessArea | $projection.BusinessArea = _BusinessArea.BusinessArea |
| [0..1] | I_Ledger | _Ledger | $projection.Ledger = _Ledger.Ledger |
| [0..1] | I_GLAccount | _GLAccount | $projection.GLAccount = _GLAccount.GLAccount and $projection.CompanyCode = _GLAccount.CompanyCode |
| [0..1] | I_GLAccountInCompanyCode | _GLAccountInCompanyCode | $projection.CompanyCode = _GLAccountInCompanyCode.CompanyCode and $projection.GLAccount = _GLAccountInCompanyCode.GLAccount |
| [0..1] | I_FunctionalArea | _FunctionalArea | $projection.FunctionalArea = _FunctionalArea.FunctionalArea |
| [0..1] | I_MaterialGroup | _MaterialGroup | $projection.MaterialGroup = _MaterialGroup.MaterialGroup |
| [0..1] | I_CustomerGroup | _CustomerGroup | $projection.CustomerGroup = _CustomerGroup.CustomerGroup |
| [0..1] | I_Order | _Order | $projection.OrderID = _Order.OrderID |
| [0..1] | I_SalesDocument | _SalesDocument | $projection.SalesDocument = _SalesDocument.SalesDocument |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_FixedAsset | _FixedAsset | $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset |
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_Currency | _BalanceTransactionCurrency | $projection.BalanceTransactionCurrency = _BalanceTransactionCurrency.Currency |
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..1] | I_Currency | _CompanyCodeCurrency | $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency |
| [0..1] | I_Order | _PartnerOrder_2 | $projection.PartnerOrder = _PartnerOrder_2.OrderID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFIMGMTACCCUBE | view | |
| EndUserText.label | Management Accounting - Cube | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (172)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | Ledger | Ledger in General Ledger Accounting | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | General Ledger Journal Entry Line Item | |
| LedgerFiscalYear | LedgerFiscalYear | Fiscal Year of Ledger | ||
| FinancialTransactionType | FinancialTransactionType | Financial Transaction Type | ||
| BusinessTransactionType | I_JournalEntryItem | BusinessTransactionType | Business Transaction Type | |
| AccountAssignmentType | AccountAssignmentType | Account Assignment Type | ||
| AccountAssignment | AccountAssignment | Sender Acct Assgmt | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| LogicalSystem | LogicalSystem | Logical System | ||
| ReferenceDocumentContext | ReferenceDocumentContext | Reference Document Context | ||
| ReferenceDocument | ReferenceDocument | Reference Doc. Number | ||
| GLAccount | GLAccount | General Ledger | ||
| CostCenter | CostCenter | Cost Center | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| BusinessArea | BusinessArea | Business Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| Segment | Segment | Segment for Segmental Reporting | ||
| PartnerCostCenter | PartnerCostCenter | Partner Cost Center | ||
| PartnerProfitCenter | PartnerProfitCenter | Partner Profit Center | ||
| PartnerFunctionalArea | PartnerFunctionalArea | Partner Functional Area | ||
| PartnerBusinessArea | PartnerBusinessArea | Partner Business Area | ||
| PartnerCompany | PartnerCompany | Company ID of Trading Partner | ||
| PartnerSegment | PartnerSegment | Partner Segment for Segmental Reporting | ||
| BalanceTransactionCurrency | BalanceTransactionCurrency | Balance Transaction Currency | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Company Code Currency | ||
| ControllingObjectCurrency | ControllingObjectCurrency | CO Object Currency | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| AmountInGlobalCurrency | AmountInGlobalCurrency | Amount in Global Currency | ||
| FixedAmountInGlobalCrcy | FixedAmountInGlobalCrcy | Fixed Amount in Global Currency | ||
| AmountInTransactionCurrency | AmountInTransactionCurrency | Amount in Transaction Currency | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Amount in Company Code Currency | ||
| AmountInObjectCurrency | AmountInObjectCurrency | Amount in Object Currency | ||
| Quantity | Quantity | Quantity | ||
| BaseUnit | BaseUnit | Base Unit of Measure | ||
| AdditionalQuantity1Unit | AdditionalQuantity1Unit | Additional Quantity 1 Unit | ||
| AdditionalQuantity2Unit | AdditionalQuantity2Unit | Additional Quantity 2 Unit | ||
| AdditionalQuantity3Unit | AdditionalQuantity3Unit | Additional Quantity 3 Unit | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| FiscalPeriod | FiscalPeriod | Fiscal Period | ||
| FiscalYearVariant | FiscalYearVariant | Fiscal Year Variant | ||
| FiscalYearPeriod | FiscalYearPeriod | Fiscal Year Period | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| AccountingDocumentItem | AccountingDocumentItem | Journal Entry Posting View Item | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| PostingKey | PostingKey | Posting Key | ||
| TransactionTypeDetermination | TransactionTypeDetermination | Transaction Key | ||
| AccountingDocCreatedByUser | AccountingDocCreatedByUser | User which created overhead document | ||
| LastChangeDateTime | LastChangeDateTime | Last Change Date Time | ||
| ChartOfAccounts | ChartOfAccounts | Chart of Accounts | ||
| AlternativeGLAccount | AlternativeGLAccount | Alternative G/L Account Number In Company Code | ||
| CountryChartOfAccounts | CountryChartOfAccounts | Alternative Chart of Accounts for Country/Region | ||
| InvoiceReference | InvoiceReference | Invoice Reference | ||
| InvoiceReferenceFiscalYear | InvoiceReferenceFiscalYear | Invoice Reference Fiscal Year | ||
| FollowOnDocumentType | FollowOnDocumentType | Follow-On Document Type | ||
| InvoiceItemReference | InvoiceItemReference | Invoice Item Reference | ||
| ReferencePurchaseOrderCategory | ReferencePurchaseOrderCategory | Category of Reference Purchase Order | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Document Item | ||
| AccountAssignmentNumber | AccountAssignmentNumber | Account Assignment Number | ||
| DocumentItemText | DocumentItemText | Item Text | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| Material | Material | Material Number | ||
| MaterialGroup | MaterialGroup | Product Sold Group | ||
| Product | Product | Product Number | ||
| SoldProduct | SoldProduct | Product Sold | ||
| SoldProductGroup | SoldProductGroup | Product Sold Group | ||
| Plant | Plant | Valuation Area | ||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Customer Number | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| TaxCode | TaxCode | Tax on Sales/Purchases Code | ||
| HouseBank | HouseBank | House Bank Key | ||
| HouseBankAccount | HouseBankAccount | House Bank Account | ||
| IsOpenItemManaged | IsOpenItemManaged | Managed on an Open Item Basis | ||
| ClearingDate | ClearingDate | Clearing Date | ||
| ClearingAccountingDocument | ClearingAccountingDocument | Clearing Journal Entry (Deprecated) | ||
| ClearingJournalEntry | I_JournalEntryItem | ClearingJournalEntry | Clearing Journal Entry | |
| ClearingDocFiscalYear | ClearingDocFiscalYear | Fiscal Year of Clearing Journal Entry (Deprecated) | ||
| ClearingJournalEntryFiscalYear | I_JournalEntryItem | ClearingJournalEntryFiscalYear | Fiscal Year of Clearing Journal Entry | |
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| FixedAsset | FixedAsset | Asset Subnumber | ||
| AssetValueDate | AssetValueDate | Asset Value Date | ||
| AssetTransactionType | AssetTransactionType | Asset Transaction Type | ||
| AssetAcctTransClassfctn | AssetAcctTransClassfctn | Transaction Type Category | ||
| InventorySpecialStockValnType | InvtrySpecialStockValnType_2 | Inventory Special Stock Valuation Type | ||
| InventorySpecialStockType | InventorySpecialStockType | Inventory Special Stock Type | ||
| InventoryValuationType | InventoryValuationType | Inventory Valuation Type | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| ControllingObjectDebitType | ControllingObjectDebitType | Controlling Object Debit Type | ||
| QuantityIsIncomplete | QuantityIsIncomplete | Indicator: Quantity Is Incomplete | ||
| OffsettingAccount | OffsettingAccount | Offsetting Account | ||
| OffsettingAccountType | OffsettingAccountType | Offsetting Account Type | ||
| LineItemIsCompleted | LineItemIsCompleted | Indicator: Line Item is Completed | ||
| PersonnelNumber | PersonnelNumber | Personnel Number | ||
| ControllingObjectClass | ControllingObjectClass | Controlling Object Class | ||
| PartnerCompanyCode | PartnerCompanyCode | Partner Company Code | ||
| PartnerControllingObjectClass | PartnerControllingObjectClass | Partner Controlling Object Class | ||
| OriginCostCenter | OriginCostCenter | Origin Cost Center | ||
| OriginCostCtrActivityType | OriginCostCtrActivityType | Origin Cost Center Activity Type | ||
| CostCtrActivityType | CostCtrActivityType | Activity Type | ||
| OrderID | OrderID | Order ID | ||
| OrderCategory | OrderCategory | Order Category | ||
| WBSElement | WBSElement | WBS Internal ID | ||
| WBSElementExternalID | _WBSElementBasicData | WBSElementExternalID | Work Breakdown Structure Element (WBS Element) Edited | |
| Project | Project | WBS Element | ||
| ProjectExternalID | _ProjectBasicData | ProjectExternalID | Project Number (External) Edited | |
| OperatingConcern | OperatingConcern | Operating concern | ||
| PartnerCostCtrActivityType | PartnerCostCtrActivityType | Partner Cost Center Activity Type | ||
| PartnerOrder | PartnerOrder_2 | Partner Order | ||
| PartnerOrderCategory | PartnerOrderCategory | Partner Order Category | ||
| PartnerWBSElement | PartnerWBSElement | Partner WBS Element | ||
| PartnerWBSElementExternalID | _PartnerWBSElementBasicData | WBSElementExternalID | Work Breakdown Structure Element (WBS Element) Edited | |
| PartnerProject | PartnerProject | Partner Project | ||
| PartnerProjectExternalID | _PartnerProjectBasicData | ProjectExternalID | Project Number (External) Edited | |
| PartnerSalesDocument | PartnerSalesDocument | Partner Sales Document | ||
| PartnerSalesDocumentItem | PartnerSalesDocumentItem | Partner Sales Document Item | ||
| BillingDocumentType | BillingDocumentType | Billing Type | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | Distribution Channel | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| SalesDocument | SalesDocument | Sales Document | ||
| SalesDocumentItem | SalesDocumentItem | Sales Document Item | ||
| ServiceDocument | ServiceDocument | Service Document ID | ||
| ServiceDocumentType | ServiceDocumentType | Service Document Type | ||
| _CompanyCode | _CompanyCode | |||
| _ControllingArea | _ControllingArea | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _ProfitCenterDetail | _ProfitCenterDetail | |||
| _Segment | _Segment | |||
| _CostCenterDetail | _CostCenterDetail | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _FinancialAccountType | _FinancialAccountType | |||
| _DebitCreditCode | _DebitCreditCode | |||
| _BusinessArea | _BusinessArea | |||
| _Ledger | _Ledger | |||
| _BalanceTransactionCurrency | _BalanceTransactionCurrency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _FunctionalArea | _FunctionalArea | |||
| _Material | _Material | |||
| _MaterialGroup | _MaterialGroup | |||
| _CustomerGroup | _CustomerGroup | |||
| _GLAccount | _GLAccount | |||
| _Order | _Order | |||
| _SalesDocument | _SalesDocument | |||
| _Supplier | _Supplier | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _FixedAsset | _FixedAsset | |||
| _Customer | _Customer | |||
| _ProfitCenter | _ProfitCenter | |||
| _CostCenter | _CostCenter | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _CurrentCostCenter | _CurrentCostCenter | |||
| _ServiceDocument | _ServiceDocument | |||
| _PartnerOrder_2 | _PartnerOrder_2 | |||
| GLAccountAuthorizationGroup | Authorization Group | |||
| SupplierBasicAuthorizationGrp | Authorization Group | |||
| CustomerBasicAuthorizationGrp | Authorization Group | |||
| AcctgDocTypeAuthorizationGroup | Authorization Group | |||
| OrderType | Order Type | |||
| SalesOrderType | Sales Document Type | |||
| AssetClass | Asset Class |
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_ManagementAccountingCube.
-- 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: IFIMGMTACCCUBE
CREATE VIEW I_ManagementAccountingCube AS
SELECT
Ledger,
CompanyCode,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
LedgerFiscalYear,
FinancialTransactionType,
I_JournalEntryItem.BusinessTransactionType AS BusinessTransactionType,
AccountAssignmentType,
AccountAssignment,
ReferenceDocumentType,
LogicalSystem,
ReferenceDocumentContext,
ReferenceDocument,
GLAccount,
CostCenter,
ProfitCenter,
FunctionalArea,
BusinessArea,
ControllingArea,
Segment,
PartnerCostCenter,
PartnerProfitCenter,
PartnerFunctionalArea,
PartnerBusinessArea,
PartnerCompany,
PartnerSegment,
BalanceTransactionCurrency,
TransactionCurrency,
CompanyCodeCurrency,
ControllingObjectCurrency,
GlobalCurrency,
AmountInGlobalCurrency,
FixedAmountInGlobalCrcy,
AmountInTransactionCurrency,
AmountInCompanyCodeCurrency,
AmountInObjectCurrency,
Quantity,
BaseUnit,
AdditionalQuantity1Unit,
AdditionalQuantity2Unit,
AdditionalQuantity3Unit,
DebitCreditCode,
FiscalPeriod,
FiscalYearVariant,
FiscalYearPeriod,
PostingDate,
DocumentDate,
AccountingDocumentType,
AccountingDocumentItem,
AssignmentReference,
PostingKey,
TransactionTypeDetermination,
AccountingDocCreatedByUser,
LastChangeDateTime,
ChartOfAccounts,
AlternativeGLAccount,
CountryChartOfAccounts,
InvoiceReference,
InvoiceReferenceFiscalYear,
FollowOnDocumentType,
InvoiceItemReference,
ReferencePurchaseOrderCategory,
PurchasingDocument,
PurchasingDocumentItem,
AccountAssignmentNumber,
DocumentItemText,
SalesOrder,
SalesOrderItem,
Material,
MaterialGroup,
Product,
SoldProduct,
SoldProductGroup,
Plant,
Supplier,
Customer,
CustomerGroup,
FinancialAccountType,
TaxCode,
HouseBank,
HouseBankAccount,
IsOpenItemManaged,
ClearingDate,
ClearingAccountingDocument,
I_JournalEntryItem.ClearingJournalEntry AS ClearingJournalEntry,
ClearingDocFiscalYear,
I_JournalEntryItem.ClearingJournalEntryFiscalYear AS ClearingJournalEntryFiscalYear,
MasterFixedAsset,
FixedAsset,
AssetValueDate,
AssetTransactionType,
AssetAcctTransClassfctn,
InvtrySpecialStockValnType_2 AS InventorySpecialStockValnType,
InventorySpecialStockType,
InventoryValuationType,
ValuationArea,
ControllingObjectDebitType,
QuantityIsIncomplete,
OffsettingAccount,
OffsettingAccountType,
LineItemIsCompleted,
PersonnelNumber,
ControllingObjectClass,
PartnerCompanyCode,
PartnerControllingObjectClass,
OriginCostCenter,
OriginCostCtrActivityType,
CostCtrActivityType,
OrderID,
OrderCategory,
WBSElement,
_WBSElementBasicData.WBSElementExternalID AS WBSElementExternalID,
Project,
_ProjectBasicData.ProjectExternalID AS ProjectExternalID,
OperatingConcern,
PartnerCostCtrActivityType,
PartnerOrder_2 AS PartnerOrder,
PartnerOrderCategory,
PartnerWBSElement,
_PartnerWBSElementBasicData.WBSElementExternalID AS PartnerWBSElementExternalID,
PartnerProject,
_PartnerProjectBasicData.ProjectExternalID AS PartnerProjectExternalID,
PartnerSalesDocument,
PartnerSalesDocumentItem,
BillingDocumentType,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
SalesDocument,
SalesDocumentItem,
ServiceDocument,
ServiceDocumentType,
cast( '' as brgru) AS GLAccountAuthorizationGroup,
cast( '' as brgru) AS SupplierBasicAuthorizationGrp,
cast( '' as brgru) AS CustomerBasicAuthorizationGrp,
cast( '' as brgru) AS AcctgDocTypeAuthorizationGroup,
cast( '' as aufart) AS OrderType,
cast( '' as auart) AS SalesOrderType,
cast( '' as anlkl) AS AssetClass
FROM I_JournalEntryItem
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [1..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND GLAccount = _GLAccountInChartOfAccounts.GLAccount -- association [0..1]
LEFT OUTER JOIN I_ProfitCenterDetail AS _ProfitCenterDetail ON ControllingArea = _ProfitCenterDetail.ControllingArea AND ProfitCenter = _ProfitCenterDetail.ProfitCenter -- association [0..*]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ControllingArea = _ProfitCenter.ControllingArea AND ProfitCenter = _ProfitCenter.ProfitCenter -- association [0..*]
LEFT OUTER JOIN I_ProfitCenter AS _CurrentProfitCenter ON ControllingArea = _CurrentProfitCenter.ControllingArea AND ProfitCenter = _CurrentProfitCenter.ProfitCenter AND _CurrentProfitCenter.ValidityStartDate <= $session.system_date AND _CurrentProfitCenter.ValidityEndDate >= $session.system_date -- association [0..1]
LEFT OUTER JOIN I_Segment AS _Segment ON Segment = _Segment.Segment -- association [0..1]
LEFT OUTER JOIN I_CostCenterDetail AS _CostCenterDetail ON ControllingArea = _CostCenterDetail.ControllingArea AND CostCenter = _CostCenterDetail.CostCenter -- association [0..*]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON ControllingArea = _CostCenter.ControllingArea AND CostCenter = _CostCenter.CostCenter -- association [0..*]
LEFT OUTER JOIN I_CostCenter AS _CurrentCostCenter ON ControllingArea = _CurrentCostCenter.ControllingArea AND CostCenter = _CurrentCostCenter.CostCenter AND _CurrentCostCenter.ValidityStartDate <= $session.system_date AND _CurrentCostCenter.ValidityEndDate >= $session.system_date -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentType AS _AccountingDocumentType ON AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType -- association [0..1]
LEFT OUTER JOIN I_FinancialAccountType AS _FinancialAccountType ON FinancialAccountType = _FinancialAccountType.FinancialAccountType -- association [0..1]
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode -- association [0..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger -- association [0..1]
LEFT OUTER JOIN I_GLAccount AS _GLAccount ON GLAccount = _GLAccount.GLAccount AND CompanyCode = _GLAccount.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_GLAccountInCompanyCode AS _GLAccountInCompanyCode ON CompanyCode = _GLAccountInCompanyCode.CompanyCode AND GLAccount = _GLAccountInCompanyCode.GLAccount -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea -- association [0..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup -- association [0..1]
LEFT OUTER JOIN I_CustomerGroup AS _CustomerGroup ON CustomerGroup = _CustomerGroup.CustomerGroup -- association [0..1]
LEFT OUTER JOIN I_Order AS _Order ON OrderID = _Order.OrderID -- association [0..1]
LEFT OUTER JOIN I_SalesDocument AS _SalesDocument ON SalesDocument = _SalesDocument.SalesDocument -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON CompanyCode = _FixedAsset.CompanyCode AND MasterFixedAsset = _FixedAsset.MasterFixedAsset AND FixedAsset = _FixedAsset.FixedAsset -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_Currency AS _BalanceTransactionCurrency ON BalanceTransactionCurrency = _BalanceTransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Order AS _PartnerOrder_2 ON PartnerOrder = _PartnerOrder_2.OrderID -- 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