P_SAFTJournalEntryLedger

DDL: P_SAFTJOURNALENTRYLEDGER SQL: PSAFTJOURNALDG Type: view COMPOSITE Package: GLO_FIN_IS_SAFT_GEN

SAFT Journal Entry Ledger

P_SAFTJournalEntryLedger is a Composite CDS View that provides data about "SAFT Journal Entry Ledger" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 7 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument. Part of development package GLO_FIN_IS_SAFT_GEN.

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