I_ManagementAccountingCube
Management Accounting - Cube
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.
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 | ||
| KEY | CompanyCode | CompanyCode | ||
| KEY | FiscalYear | FiscalYear | ||
| KEY | AccountingDocument | AccountingDocument | ||
| KEY | LedgerGLLineItem | LedgerGLLineItem | ||
| LedgerFiscalYear | LedgerFiscalYear | |||
| FinancialTransactionType | FinancialTransactionType | |||
| BusinessTransactionType | I_JournalEntryItem | BusinessTransactionType | ||
| AccountAssignmentType | AccountAssignmentType | |||
| AccountAssignment | AccountAssignment | |||
| ReferenceDocumentType | ReferenceDocumentType | |||
| LogicalSystem | LogicalSystem | |||
| ReferenceDocumentContext | ReferenceDocumentContext | |||
| ReferenceDocument | ReferenceDocument | |||
| GLAccount | GLAccount | |||
| CostCenter | CostCenter | |||
| ProfitCenter | ProfitCenter | |||
| FunctionalArea | FunctionalArea | |||
| BusinessArea | BusinessArea | |||
| ControllingArea | ControllingArea | |||
| Segment | Segment | |||
| PartnerCostCenter | PartnerCostCenter | |||
| PartnerProfitCenter | PartnerProfitCenter | |||
| PartnerFunctionalArea | PartnerFunctionalArea | |||
| PartnerBusinessArea | PartnerBusinessArea | |||
| PartnerCompany | PartnerCompany | |||
| PartnerSegment | PartnerSegment | |||
| BalanceTransactionCurrency | BalanceTransactionCurrency | |||
| TransactionCurrency | TransactionCurrency | |||
| CompanyCodeCurrency | CompanyCodeCurrency | |||
| ControllingObjectCurrency | ControllingObjectCurrency | |||
| GlobalCurrency | GlobalCurrency | |||
| AmountInGlobalCurrency | AmountInGlobalCurrency | |||
| FixedAmountInGlobalCrcy | FixedAmountInGlobalCrcy | |||
| AmountInTransactionCurrency | AmountInTransactionCurrency | |||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | |||
| AmountInObjectCurrency | AmountInObjectCurrency | |||
| Quantity | Quantity | |||
| BaseUnit | BaseUnit | |||
| AdditionalQuantity1Unit | AdditionalQuantity1Unit | |||
| AdditionalQuantity2Unit | AdditionalQuantity2Unit | |||
| AdditionalQuantity3Unit | AdditionalQuantity3Unit | |||
| DebitCreditCode | DebitCreditCode | |||
| FiscalPeriod | FiscalPeriod | |||
| FiscalYearVariant | FiscalYearVariant | |||
| FiscalYearPeriod | FiscalYearPeriod | |||
| PostingDate | PostingDate | |||
| DocumentDate | DocumentDate | |||
| AccountingDocumentType | AccountingDocumentType | |||
| AccountingDocumentItem | AccountingDocumentItem | |||
| AssignmentReference | AssignmentReference | |||
| PostingKey | PostingKey | |||
| TransactionTypeDetermination | TransactionTypeDetermination | |||
| AccountingDocCreatedByUser | AccountingDocCreatedByUser | |||
| LastChangeDateTime | LastChangeDateTime | |||
| ChartOfAccounts | ChartOfAccounts | |||
| AlternativeGLAccount | AlternativeGLAccount | |||
| CountryChartOfAccounts | CountryChartOfAccounts | |||
| InvoiceReference | InvoiceReference | |||
| InvoiceReferenceFiscalYear | InvoiceReferenceFiscalYear | |||
| FollowOnDocumentType | FollowOnDocumentType | |||
| InvoiceItemReference | InvoiceItemReference | |||
| ReferencePurchaseOrderCategory | ReferencePurchaseOrderCategory | |||
| PurchasingDocument | PurchasingDocument | |||
| PurchasingDocumentItem | PurchasingDocumentItem | |||
| AccountAssignmentNumber | AccountAssignmentNumber | |||
| DocumentItemText | DocumentItemText | |||
| SalesOrder | SalesOrder | |||
| SalesOrderItem | SalesOrderItem | |||
| Material | Material | |||
| MaterialGroup | MaterialGroup | |||
| Product | Product | |||
| SoldProduct | SoldProduct | |||
| SoldProductGroup | SoldProductGroup | |||
| Plant | Plant | |||
| Supplier | Supplier | |||
| Customer | Customer | |||
| CustomerGroup | CustomerGroup | |||
| FinancialAccountType | FinancialAccountType | |||
| TaxCode | TaxCode | |||
| HouseBank | HouseBank | |||
| HouseBankAccount | HouseBankAccount | |||
| IsOpenItemManaged | IsOpenItemManaged | |||
| ClearingDate | ClearingDate | |||
| ClearingAccountingDocument | ClearingAccountingDocument | |||
| ClearingJournalEntry | I_JournalEntryItem | ClearingJournalEntry | ||
| ClearingDocFiscalYear | ClearingDocFiscalYear | |||
| ClearingJournalEntryFiscalYear | I_JournalEntryItem | ClearingJournalEntryFiscalYear | ||
| MasterFixedAsset | MasterFixedAsset | |||
| FixedAsset | FixedAsset | |||
| AssetValueDate | AssetValueDate | |||
| AssetTransactionType | AssetTransactionType | |||
| AssetAcctTransClassfctn | AssetAcctTransClassfctn | |||
| InventorySpecialStockValnType | InvtrySpecialStockValnType_2 | |||
| InventorySpecialStockType | InventorySpecialStockType | |||
| InventoryValuationType | InventoryValuationType | |||
| ValuationArea | ValuationArea | |||
| ControllingObjectDebitType | ControllingObjectDebitType | |||
| QuantityIsIncomplete | QuantityIsIncomplete | |||
| OffsettingAccount | OffsettingAccount | |||
| OffsettingAccountType | OffsettingAccountType | |||
| LineItemIsCompleted | LineItemIsCompleted | |||
| PersonnelNumber | PersonnelNumber | |||
| ControllingObjectClass | ControllingObjectClass | |||
| PartnerCompanyCode | PartnerCompanyCode | |||
| PartnerControllingObjectClass | PartnerControllingObjectClass | |||
| OriginCostCenter | OriginCostCenter | |||
| OriginCostCtrActivityType | OriginCostCtrActivityType | |||
| CostCtrActivityType | CostCtrActivityType | |||
| OrderID | OrderID | |||
| OrderCategory | OrderCategory | |||
| WBSElement | WBSElement | |||
| WBSElementExternalID | _WBSElementBasicData | WBSElementExternalID | ||
| Project | Project | |||
| ProjectExternalID | _ProjectBasicData | ProjectExternalID | ||
| OperatingConcern | OperatingConcern | |||
| PartnerCostCtrActivityType | PartnerCostCtrActivityType | |||
| PartnerOrder | PartnerOrder_2 | |||
| PartnerOrderCategory | PartnerOrderCategory | |||
| PartnerWBSElement | PartnerWBSElement | |||
| PartnerWBSElementExternalID | _PartnerWBSElementBasicData | WBSElementExternalID | ||
| PartnerProject | PartnerProject | |||
| PartnerProjectExternalID | _PartnerProjectBasicData | ProjectExternalID | ||
| PartnerSalesDocument | PartnerSalesDocument | |||
| PartnerSalesDocumentItem | PartnerSalesDocumentItem | |||
| BillingDocumentType | BillingDocumentType | |||
| SalesOrganization | SalesOrganization | |||
| DistributionChannel | DistributionChannel | |||
| OrganizationDivision | OrganizationDivision | |||
| SalesDocument | SalesDocument | |||
| SalesDocumentItem | SalesDocumentItem | |||
| ServiceDocument | ServiceDocument | |||
| ServiceDocumentType | ServiceDocumentType | |||
| _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 | ||||
| SupplierBasicAuthorizationGrp | ||||
| CustomerBasicAuthorizationGrp | ||||
| AcctgDocTypeAuthorizationGroup | ||||
| OrderType | ||||
| SalesOrderType | ||||
| AssetClass |
@AbapCatalog.sqlViewName: 'IFIMGMTACCCUBE'
@EndUserText.label: 'Management Accounting - Cube'
@VDM.viewType: #COMPOSITE
@Analytics: { dataCategory: #CUBE } //, dataExtraction.enabled: true }
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
usageType: { sizeCategory: #XXL,
dataClass: #MIXED,
serviceQuality: #D },
supportedCapabilities: [#ANALYTICAL_PROVIDER],
modelingPattern: #ANALYTICAL_CUBE }
@AccessControl.personalData.blocking: #REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions: true
define view I_ManagementAccountingCube as select from I_JournalEntryItem
association [1..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
association [1..1] to I_ControllingArea as _ControllingArea on $projection.ControllingArea = _ControllingArea.ControllingArea
association [0..1] to I_GLAccountInChartOfAccounts as _GLAccountInChartOfAccounts on $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts
and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount
association [0..*] to I_ProfitCenterDetail as _ProfitCenterDetail on $projection.ControllingArea = _ProfitCenterDetail.ControllingArea
and $projection.ProfitCenter = _ProfitCenterDetail.ProfitCenter
association [0..*] to I_ProfitCenter as _ProfitCenter on $projection.ControllingArea = _ProfitCenter.ControllingArea
and $projection.ProfitCenter = _ProfitCenter.ProfitCenter
association [0..1] to I_ProfitCenter as _CurrentProfitCenter on $projection.ControllingArea = _CurrentProfitCenter.ControllingArea
and $projection.ProfitCenter = _CurrentProfitCenter.ProfitCenter
and _CurrentProfitCenter.ValidityStartDate <= $session.system_date
and _CurrentProfitCenter.ValidityEndDate >= $session.system_date
association [0..1] to I_Segment as _Segment on $projection.Segment = _Segment.Segment
association [0..*] to I_CostCenterDetail as _CostCenterDetail on $projection.ControllingArea = _CostCenterDetail.ControllingArea
and $projection.CostCenter = _CostCenterDetail.CostCenter
association [0..*] to I_CostCenter as _CostCenter on $projection.ControllingArea = _CostCenter.ControllingArea
and $projection.CostCenter = _CostCenter.CostCenter
association [0..1] to I_CostCenter as _CurrentCostCenter on $projection.ControllingArea = _CurrentCostCenter.ControllingArea
and $projection.CostCenter = _CurrentCostCenter.CostCenter
and _CurrentCostCenter.ValidityStartDate <= $session.system_date
and _CurrentCostCenter.ValidityEndDate >= $session.system_date
association [0..1] to I_ChartOfAccounts as _ChartOfAccounts on $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
association [0..1] to I_AccountingDocumentType as _AccountingDocumentType on $projection.AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType
association [0..1] to I_FinancialAccountType as _FinancialAccountType on $projection.FinancialAccountType = _FinancialAccountType.FinancialAccountType
association [0..1] to I_DebitCreditCode as _DebitCreditCode on $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode
association [0..1] to I_BusinessArea as _BusinessArea on $projection.BusinessArea = _BusinessArea.BusinessArea
association [0..1] to I_Ledger as _Ledger on $projection.Ledger = _Ledger.Ledger
association [0..1] to I_GLAccount as _GLAccount on $projection.GLAccount = _GLAccount.GLAccount
and $projection.CompanyCode = _GLAccount.CompanyCode
association [0..1] to I_GLAccountInCompanyCode as _GLAccountInCompanyCode on $projection.CompanyCode = _GLAccountInCompanyCode.CompanyCode
and $projection.GLAccount = _GLAccountInCompanyCode.GLAccount
association [0..1] to I_FunctionalArea as _FunctionalArea on $projection.FunctionalArea = _FunctionalArea.FunctionalArea
association [0..1] to I_MaterialGroup as _MaterialGroup on $projection.MaterialGroup = _MaterialGroup.MaterialGroup
association [0..1] to I_CustomerGroup as _CustomerGroup on $projection.CustomerGroup = _CustomerGroup.CustomerGroup
association [0..1] to I_Order as _Order on $projection.OrderID = _Order.OrderID
association [0..1] to I_SalesDocument as _SalesDocument on $projection.SalesDocument = _SalesDocument.SalesDocument
association [0..1] to I_Supplier as _Supplier on $projection.Supplier = _Supplier.Supplier
association [0..1] to I_FixedAsset as _FixedAsset on $projection.CompanyCode = _FixedAsset.CompanyCode
and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset
and $projection.FixedAsset = _FixedAsset.FixedAsset
association [0..1] to I_Customer as _Customer on $projection.Customer = _Customer.Customer
association [0..1] to I_Currency as _BalanceTransactionCurrency on $projection.BalanceTransactionCurrency = _BalanceTransactionCurrency.Currency
association [0..1] to I_Currency as _TransactionCurrency on $projection.TransactionCurrency = _TransactionCurrency.Currency
association [0..1] to I_Currency as _CompanyCodeCurrency on $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
association [0..1] to I_Order as _PartnerOrder_2 on $projection.PartnerOrder = _PartnerOrder_2.OrderID
{
key Ledger,
key CompanyCode,
key FiscalYear,
key AccountingDocument,
key LedgerGLLineItem,
LedgerFiscalYear,
FinancialTransactionType,
I_JournalEntryItem.BusinessTransactionType,
AccountAssignmentType,
AccountAssignment,
ReferenceDocumentType,
LogicalSystem,
ReferenceDocumentContext,
ReferenceDocument,
GLAccount,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_CostCenter'
CostCenter,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_ProfitCenter'
ProfitCenter,
FunctionalArea,
BusinessArea,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_ControllingArea'
ControllingArea,
Segment,
PartnerCostCenter,
PartnerProfitCenter,
PartnerFunctionalArea,
PartnerBusinessArea,
PartnerCompany,
PartnerSegment,
@Semantics.currencyCode: true
BalanceTransactionCurrency,
@Semantics.currencyCode: true
TransactionCurrency,
@Semantics.currencyCode: true
CompanyCodeCurrency,
@Semantics.currencyCode: true
ControllingObjectCurrency,
@Semantics.currencyCode:true
GlobalCurrency,
@DefaultAggregation: #SUM
@Semantics: { amount : {currencyCode: 'GlobalCurrency'} } AmountInGlobalCurrency,
@DefaultAggregation: #SUM
@Semantics: { amount : {currencyCode: 'GlobalCurrency'} } FixedAmountInGlobalCrcy,
@DefaultAggregation: #SUM
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
AmountInTransactionCurrency,
@DefaultAggregation: #SUM
@Semantics: { amount : {currencyCode: 'CompanyCodeCurrency'} }
AmountInCompanyCodeCurrency,
@Semantics: { amount : {currencyCode: 'CompanyCodeCurrency'} }
@DefaultAggregation: #SUM
case DebitCreditCode
when 'S' then cast (AmountInCompanyCodeCurrency as fis_dr_hsl)
else cast (cast( '0' as abap.curr( 23,2)) as fis_dr_hsl)
end as DebitAmountInCoCodeCrcy,
@Semantics: { amount : {currencyCode: 'CompanyCodeCurrency'} }
@DefaultAggregation: #SUM
case DebitCreditCode
when 'H' then cast (AmountInCompanyCodeCurrency as fis_cr_hsl)
else cast (cast( '0' as abap.curr( 23,2)) as fis_cr_hsl)
end as CreditAmountInCoCodeCrcy,
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
@DefaultAggregation: #SUM
case DebitCreditCode
when 'S' then cast (AmountInTransactionCurrency as fis_dr_tsl)
else cast (cast( '0' as abap.curr( 23,2)) as fis_dr_tsl)
end as DebitAmountInTransCrcy,
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
@DefaultAggregation: #SUM
case DebitCreditCode
when 'H' then cast (AmountInTransactionCurrency as fis_cr_tsl)
else cast (cast( '0' as abap.curr( 23,2)) as fis_cr_tsl)
end as CreditAmountInTransCrcy,
@Semantics: { amount : {currencyCode: 'ControllingObjectCurrency'} }
@DefaultAggregation: #SUM
AmountInObjectCurrency,
@Semantics: { quantity : {unitOfMeasure: 'BaseUnit'} }
@DefaultAggregation: #SUM
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,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'SalesDocument'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'SalesDocument'
SalesOrder,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'SalesDocumentItem'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'SalesDocumentItem'
SalesOrderItem,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'Product'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'Product'
Material,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'SoldProductGroup'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'SoldProductGroup'
MaterialGroup,
@Analytics.internalName: #LOCAL
Product,
@Analytics.internalName: #LOCAL
SoldProduct,
@Analytics.internalName: #LOCAL
SoldProductGroup,
Plant,
Supplier,
Customer,
CustomerGroup,
FinancialAccountType,
// SpecialGLIndicator,
TaxCode,
HouseBank,
HouseBankAccount,
IsOpenItemManaged,
ClearingDate,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'ClearingJournalEntry'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'ClearingJournalEntry'
ClearingAccountingDocument,
@Analytics.internalName: #LOCAL
I_JournalEntryItem.ClearingJournalEntry,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'ClearingJournalEntryFiscalYear'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'ClearingJournalEntryFiscalYear'
ClearingDocFiscalYear,
@Analytics.internalName: #LOCAL
I_JournalEntryItem.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,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'WBSElementExternalID'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'WBSElementExternalID'
WBSElement,
@Analytics.internalName: #LOCAL
_WBSElementBasicData.WBSElementExternalID,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'ProjectExternalID'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'ProjectExternalID'
Project,
@Analytics.internalName: #LOCAL
_ProjectBasicData.ProjectExternalID,
OperatingConcern,
PartnerCostCtrActivityType,
PartnerOrder_2 as PartnerOrder,
PartnerOrderCategory,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'PartnerWBSElementExternalID'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'PartnerWBSElementExternalID'
PartnerWBSElement,
@Analytics.internalName: #LOCAL
_PartnerWBSElementBasicData.WBSElementExternalID as PartnerWBSElementExternalID,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'PartnerProjectExternalID'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'PartnerProjectExternalID'
PartnerProject,
@Analytics.internalName: #LOCAL
_PartnerProjectBasicData.ProjectExternalID as PartnerProjectExternalID,
PartnerSalesDocument,
PartnerSalesDocumentItem,
BillingDocumentType,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
SalesDocument,
@Analytics.internalName: #LOCAL
SalesDocumentItem,
@Consumption.hidden: true
ServiceDocument,
@Consumption.hidden: true
ServiceDocumentType,
_CompanyCode,
_ControllingArea,
_GLAccountInChartOfAccounts,
_ProfitCenterDetail,
_Segment,
_CostCenterDetail,
_ChartOfAccounts,
_AccountingDocumentType,
_FinancialAccountType,
_DebitCreditCode,
_BusinessArea,
_Ledger,
_BalanceTransactionCurrency,
_CompanyCodeCurrency,
_TransactionCurrency,
_FunctionalArea,
_Material,
_MaterialGroup,
_CustomerGroup,
_GLAccount,
_Order,
_SalesDocument,
_Supplier,
_GLAccountInCompanyCode,
_FixedAsset,
_Customer,
_ProfitCenter,
_CostCenter,
_CurrentProfitCenter,
_CurrentCostCenter,
@Consumption.hidden: true
_ServiceDocument,
_PartnerOrder_2,
// Just for Authorization Check!!! DO NOT USE!!! WILL BE DEPRECATED!!!
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
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRYITEM",
"I_PROJECTBASICDATA",
"I_WBSELEMENTBASICDATA"
],
"ASSOCIATED":
[
"I_ACCOUNTINGDOCUMENTTYPE",
"I_BUSINESSAREA",
"I_CHARTOFACCOUNTS",
"I_COMPANYCODE",
"I_CONTROLLINGAREA",
"I_COSTCENTER",
"I_COSTCENTERDETAIL",
"I_CURRENCY",
"I_CUSTOMER",
"I_CUSTOMERGROUP",
"I_DEBITCREDITCODE",
"I_FINANCIALACCOUNTTYPE",
"I_FIXEDASSET",
"I_FUNCTIONALAREA",
"I_GLACCOUNT",
"I_GLACCOUNTINCHARTOFACCOUNTS",
"I_GLACCOUNTINCOMPANYCODE",
"I_LEDGER",
"I_MATERIAL",
"I_MATERIALGROUP",
"I_ORDER",
"I_PROFITCENTER",
"I_PROFITCENTERDETAIL",
"I_SALESDOCUMENT",
"I_SEGMENT",
"I_SRVCDOCBYDOCUMENTTYPE",
"I_SUPPLIER"
],
"BASE":
[
"I_JOURNALENTRYITEM"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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