P_AUDIT_AT_BKPF

DDL: P_AUDIT_AT_BKPF SQL: PAUDITATBKPF Type: view COMPOSITE

P_AUDIT_AT_BKPF is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_JournalEntry, P_AUDIT_AT_HELPER_LEDGER) and exposes 15 fields with key fields bukrs, belnr, gjahr, Ledger.

Data Sources (2)

SourceAliasJoin Type
I_JournalEntry I_JournalEntry inner
P_AUDIT_AT_HELPER_LEDGER P_AUDIT_AT_HELPER_LEDGER from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PAUDITATBKPF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY bukrs I_JournalEntry CompanyCode
KEY belnr I_JournalEntry AccountingDocument
KEY gjahr I_JournalEntry FiscalYear
KEY Ledger P_AUDIT_AT_HELPER_LEDGER Ledger
blart I_JournalEntry AccountingDocumentType
bldat I_JournalEntry DocumentDate
budat I_JournalEntry PostingDate
vatdate I_JournalEntry TaxReportingDate
xblnr I_JournalEntry DocumentReferenceID
ltext I_JournalEntry AccountingDocumentHeaderText
bstat I_JournalEntry AccountingDocumentCategory
waers I_JournalEntry TransactionCurrency
kursf I_JournalEntry AbsoluteExchangeRate
dbblg I_JournalEntry RecurringAccountingDocument
xmwst I_JournalEntry TaxIsCalculatedAutomatically
@AbapCatalog.sqlViewName: 'PAUDITATBKPF'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.dataClass: #TRANSACTIONAL

define view P_AUDIT_AT_BKPF
  as select from P_AUDIT_AT_HELPER_LEDGER
    inner join   I_JournalEntry on  I_JournalEntry.CompanyCode        = P_AUDIT_AT_HELPER_LEDGER.CompanyCode
                                and I_JournalEntry.FiscalYear         = P_AUDIT_AT_HELPER_LEDGER.FiscalYear
                                and I_JournalEntry.AccountingDocument = P_AUDIT_AT_HELPER_LEDGER.AccountingDocument
{
  key I_JournalEntry.CompanyCode                  as bukrs,
  key I_JournalEntry.AccountingDocument           as belnr,
  key I_JournalEntry.FiscalYear                   as gjahr,
  key P_AUDIT_AT_HELPER_LEDGER.Ledger             as Ledger,
      I_JournalEntry.AccountingDocumentType       as blart,
      I_JournalEntry.DocumentDate                 as bldat,
      I_JournalEntry.PostingDate                  as budat,
      I_JournalEntry.TaxReportingDate             as vatdate,
      I_JournalEntry.DocumentReferenceID          as xblnr,
      I_JournalEntry.AccountingDocumentHeaderText as ltext,
      I_JournalEntry.AccountingDocumentCategory   as bstat,
      I_JournalEntry.TransactionCurrency          as waers,
      I_JournalEntry.AbsoluteExchangeRate         as kursf,
      I_JournalEntry.RecurringAccountingDocument  as dbblg,
      I_JournalEntry.TaxIsCalculatedAutomatically as xmwst

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRY",
"P_AUDIT_AT_HELPER_LEDGER"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/