I_LU_SAFTGenLedgerLineSum
SAFT LU General Ledger Lines Total
I_LU_SAFTGenLedgerLineSum is a Composite CDS View that provides data about "SAFT LU General Ledger Lines Total" in SAP S/4HANA. It reads from 2 data sources (I_LU_SAFTGenericSettings, I_OperationalAcctgDocItem) and exposes 7 fields with key fields CompanyCode, FiscalYear, AccountingDocument, TaxCode. Part of development package GLO_FIN_IS_SAFT_LU.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_LU_SAFTGenericSettings | GenSet | inner |
| I_OperationalAcctgDocItem | GLEntries | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILUSAFTGLLNSUM | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | SAFT LU General Ledger Lines Total | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_OperationalAcctgDocItem | CompanyCode | |
| KEY | FiscalYear | I_OperationalAcctgDocItem | FiscalYear | |
| KEY | AccountingDocument | I_OperationalAcctgDocItem | AccountingDocument | |
| KEY | TaxCode | I_OperationalAcctgDocItem | TaxCode | |
| PostingDate | I_OperationalAcctgDocItem | PostingDate | ||
| AmountInCompanyCodeCurrency | ||||
| AmountInTransactionCurrency |
@AbapCatalog.sqlViewName: 'ILUSAFTGLLNSUM'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.personalData.blocking: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MIXED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'SAFT LU General Ledger Lines Total'
define view I_LU_SAFTGenLedgerLineSum
as select from I_OperationalAcctgDocItem as GLEntries
inner join I_LU_SAFTGenericSettings as GenSet on GenSet.CompanyCode = GLEntries.CompanyCode
and GenSet.FiscalYearFrom <= GLEntries.FiscalYear
{
key GLEntries.CompanyCode as CompanyCode,
key GLEntries.FiscalYear as FiscalYear,
key GLEntries.AccountingDocument as AccountingDocument,
key GLEntries.TaxCode,
GLEntries.PostingDate,
sum(GLEntries.AmountInCompanyCodeCurrency) as AmountInCompanyCodeCurrency,
sum(GLEntries.AmountInTransactionCurrency) as AmountInTransactionCurrency
}
where
(
GLEntries.AccountingDocumentItemType <> 'T'
and GLEntries.FinancialAccountType = 'S'
and GLEntries.TaxCode <> ''
)
group by
GLEntries.CompanyCode,
GLEntries.FiscalYear,
GLEntries.AccountingDocument,
GLEntries.TaxCode,
GLEntries.PostingDate
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