P_SAFTJournalEntryLedger

DDL: P_SAFTJOURNALENTRYLEDGER SQL: PSAFTJOURNALDG Type: view COMPOSITE

P_SAFTJournalEntryLedger is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 7 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntryItem I_JournalEntryItem from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PSAFTJOURNALDG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger SourceLedger
KEY CompanyCode CompanyCode
KEY FiscalYear FiscalYear
KEY AccountingDocument AccountingDocument
Ledger Ledger
DebitAmountInCoCodeCrcy
CreditAmountInCoCodeCrcy
@AbapCatalog.sqlViewName: 'PSAFTJOURNALDG'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass:  #MIXED
@ObjectModel.usageType.serviceQuality: #P
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking : #NOT_REQUIRED
define view P_SAFTJournalEntryLedger
  as select from I_JournalEntryItem
{

  key SourceLedger,
  key CompanyCode,
  key FiscalYear,
  key AccountingDocument,
      Ledger,
      sum( DebitAmountInCoCodeCrcy )  as DebitAmountInCoCodeCrcy,
      sum( CreditAmountInCoCodeCrcy ) as CreditAmountInCoCodeCrcy

}
group by
  SourceLedger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  Ledger
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRYITEM"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/