C_RO_GLAccountLineItemC
Romania G/L Account Line Items - Cube
C_RO_GLAccountLineItemC is a Consumption CDS View (Cube) that provides data about "Romania G/L Account Line Items - Cube" in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItemRawData) and exposes 35 fields with key fields CompanyCode, SourceLedger, AccountingDocument, LedgerGLLineItem, FiscalYear. It has 2 associations to related views. Part of development package GLO_FIN_IS_RO_ACCOUNTCARD.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItemRawData | AccountingDocument | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_StRpJournalEntryLog | _StRpLog | $projection.CompanyCode = _StRpLog.CompanyCode and $projection.AccountingDocument = _StRpLog.AccountingDocument and $projection.FiscalYear = _StRpLog.FiscalYear |
| [0..1] | I_OperationalAcctgDocItem | _BsegItem | $projection.CompanyCode = _BsegItem.CompanyCode and $projection.AccountingDocument = _BsegItem.AccountingDocument and $projection.FiscalYear = _BsegItem.FiscalYear and $projection.AccountingDocumentItem = _BsegItem.AccountingDocumentItem |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Romania G/L Account Line Items - Cube | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.dataCategory | #CUBE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Analytics.internalName | #LOCAL | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_GLAccountLineItemRawData | CompanyCode | |
| KEY | SourceLedger | I_GLAccountLineItemRawData | SourceLedger | |
| KEY | AccountingDocument | I_GLAccountLineItemRawData | AccountingDocument | |
| KEY | LedgerGLLineItem | I_GLAccountLineItemRawData | LedgerGLLineItem | |
| KEY | FiscalYear | I_GLAccountLineItemRawData | FiscalYear | |
| KEY | StatryRptCategory | _StRpLog | StatryRptCategory | |
| KEY | StatryRptRunID | _StRpLog | StatryRptRunID | |
| KEY | StatryRptgEntity | _StRpLog | StatryRptgEntity | |
| ReferenceDocumentItem | I_GLAccountLineItemRawData | ReferenceDocumentItem | ||
| DocumentDate | I_GLAccountLineItemRawData | DocumentDate | ||
| PostingDate | I_GLAccountLineItemRawData | PostingDate | ||
| FiscalPeriod | I_GLAccountLineItemRawData | FiscalPeriod | ||
| TaxCode | I_GLAccountLineItemRawData | TaxCode | ||
| FinancialAccountType | I_GLAccountLineItemRawData | FinancialAccountType | ||
| Supplierendasbu_partnerasBusinessPartner | ||||
| GLAccount | I_GLAccountLineItemRawData | GLAccount | ||
| GLAccountLongName | ||||
| DebitCreditCode | I_GLAccountLineItemRawData | DebitCreditCode | ||
| AccountingDocumentType | I_GLAccountLineItemRawData | AccountingDocumentType | ||
| TransactionCurrency | I_GLAccountLineItemRawData | TransactionCurrency | ||
| AmountInTransactionCurrency | I_GLAccountLineItemRawData | AmountInTransactionCurrency | ||
| CompanyCodeCurrency | I_GLAccountLineItemRawData | CompanyCodeCurrency | ||
| AmountInCompanyCodeCurrency | I_GLAccountLineItemRawData | AmountInCompanyCodeCurrency | ||
| ClearingAccountingDocument | I_GLAccountLineItemRawData | ClearingAccountingDocument | ||
| AccountingDocumentItem | I_GLAccountLineItemRawData | AccountingDocumentItem | ||
| TransactionTypeDetermination | I_GLAccountLineItemRawData | TransactionTypeDetermination | ||
| SpecialGLCode | I_GLAccountLineItemRawData | SpecialGLCode | ||
| AccountingDocumentItemType | _BsegItem | AccountingDocumentItemType | ||
| IsNegativePosting | _BsegItem | IsNegativePosting | ||
| AlternativeGLAccount | AltAcct | AlternativeGLAccount | ||
| AlternativeGLAccountLongName | AltAcctText | GLAccountLongName | ||
| AccountingDocumentHeaderText | ||||
| DocumentReferenceID | ||||
| AccountingDocumentTypeName | ||||
| ReferenceDocumentType |
@EndUserText.label: 'Romania G/L Account Line Items - Cube'
@VDM.viewType: #CONSUMPTION
@Analytics: { dataCategory: #CUBE }
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #BLOCKED_DATA_INCLUDED
@Metadata.allowExtensions:true
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.dataClass: #MIXED
@Analytics.internalName:#LOCAL
define view entity C_RO_GLAccountLineItemC
as select from I_GLAccountLineItemRawData as AccountingDocument
left outer to one join I_GLAccountInCompanyCode as AltAcct on AccountingDocument.CompanyCode = AltAcct.CompanyCode
and AccountingDocument.GLAccount = AltAcct.GLAccount
left outer to one join I_GlAccountTextInCompanycode as AltAcctText on AccountingDocument.CompanyCode = AltAcctText.CompanyCode
and AltAcct.AlternativeGLAccount = AltAcctText.GLAccount
and AltAcctText.Language = $session.system_language
association [0..1] to I_StRpJournalEntryLog as _StRpLog on $projection.CompanyCode = _StRpLog.CompanyCode
and $projection.AccountingDocument = _StRpLog.AccountingDocument
and $projection.FiscalYear = _StRpLog.FiscalYear
association [0..1] to I_OperationalAcctgDocItem as _BsegItem on $projection.CompanyCode = _BsegItem.CompanyCode
and $projection.AccountingDocument = _BsegItem.AccountingDocument
and $projection.FiscalYear = _BsegItem.FiscalYear
and $projection.AccountingDocumentItem = _BsegItem.AccountingDocumentItem
{
key AccountingDocument.CompanyCode as CompanyCode,
key AccountingDocument.SourceLedger as SourceLedger,
key AccountingDocument.AccountingDocument as AccountingDocument,
key AccountingDocument.LedgerGLLineItem as LedgerGLLineItem,
key AccountingDocument.FiscalYear as FiscalYear,
key _StRpLog.StatryRptCategory as StatryRptCategory,
key _StRpLog.StatryRptRunID as StatryRptRunID,
key _StRpLog.StatryRptgEntity as StatryRptgEntity,
AccountingDocument.ReferenceDocumentItem as ReferenceDocumentItem,
AccountingDocument.DocumentDate as DocumentDate,
AccountingDocument.PostingDate as PostingDate,
AccountingDocument.FiscalPeriod as FiscalPeriod,
AccountingDocument.TaxCode as TaxCode,
AccountingDocument.FinancialAccountType as FinancialAccountType,
cast( case
when AccountingDocument.Customer is not initial then AccountingDocument.Customer
else AccountingDocument.Supplier
end as bu_partner ) as BusinessPartner,
cast( case
when AccountingDocument._Customer.Customer is not initial then AccountingDocument._Customer.CustomerName
else AccountingDocument._Supplier.SupplierName
end as business_partner_name ) as BusinessPartnerName,
AccountingDocument.GLAccount as GLAccount,
AccountingDocument._GLAccountInChartOfAccounts._Text[1: Language = $session.system_language ].GLAccountLongName as GLAccountLongName,
AccountingDocument.DebitCreditCode as DebitCreditCode,
AccountingDocument.AccountingDocumentType as AccountingDocumentType,
AccountingDocument.TransactionCurrency as TransactionCurrency,
@Aggregation.default: #SUM
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
AccountingDocument.AmountInTransactionCurrency as AmountInTransactionCurrency,
AccountingDocument.CompanyCodeCurrency as CompanyCodeCurrency,
@Aggregation.default: #SUM
@Semantics: { amount : {currencyCode: 'CompanyCodeCurrency'} }
AccountingDocument.AmountInCompanyCodeCurrency as AmountInCompanyCodeCurrency,
AccountingDocument.ClearingAccountingDocument as ClearingAccountingDocument,
AccountingDocument.AccountingDocumentItem as AccountingDocumentItem, //buzei
AccountingDocument.TransactionTypeDetermination as TransactionTypeDetermination, //ktosl
AccountingDocument.SpecialGLCode as SpecialGLCode, //umskz
_BsegItem.AccountingDocumentItemType as AccountingDocumentItemType, //buzid
_BsegItem.IsNegativePosting as IsNegativePosting, //xnegp
AltAcct.AlternativeGLAccount as AlternativeGLAccount,
AltAcctText.GLAccountLongName as AlternativeGLAccountLongName,
AccountingDocument._JournalEntry.AccountingDocumentHeaderText as AccountingDocumentHeaderText, //Explanation
AccountingDocument._JournalEntry.DocumentReferenceID as DocumentReferenceID, //ID of a reference document
AccountingDocument._AccountingDocumentType._Text[1: Language = $session.system_language ].AccountingDocumentTypeName as AccountingDocumentTypeName, //Description of document type
AccountingDocument._JournalEntry.ReferenceDocumentType as ReferenceDocumentType //AWTYP
}
where
AccountingDocument.FiscalPeriod <> '000'
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