P_ValuationHistoryLogDocuments

DDL: P_VALUATIONHISTORYLOGDOCUMENTS SQL: PVALHISLOGDOC Type: view BASIC

P_ValuationHistoryLogDocuments is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (finsc_ld_cmp) and exposes 6 fields with key fields Ledger, CompanyCode, FiscalYear, CalendarDate, GeneralLedgerValuationArea.

Data Sources (1)

SourceAliasJoin Type
finsc_ld_cmp UniversalJournalSettings inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PVALHISLOGDOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Ledger finsc_ld_cmp rldnr
KEY CompanyCode Log bukrs
KEY FiscalYear Log gjahr
KEY CalendarDate Log datum
KEY GeneralLedgerValuationArea Log bwber
AccountingPrinciple finsc_ld_cmp acc_principle
@AbapCatalog.sqlViewName: 'PVALHISLOGDOC'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@VDM.viewType: #BASIC
@VDM.private: true
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_ValuationHistoryLogDocuments
  as select distinct from fagl_bsbw_histry as Log
    inner join   finsc_ld_cmp     as UniversalJournalSettings on Log.bukrs = UniversalJournalSettings.bukrs
{
  key UniversalJournalSettings.rldnr                                   as Ledger,
  key Log.bukrs                                                        as CompanyCode,
  key Log.gjahr                                                        as FiscalYear,
  key Log.datum                                                        as CalendarDate,
  key Log.bwber                                                        as GeneralLedgerValuationArea,
      UniversalJournalSettings.acc_principle                           as AccountingPrinciple
}
where
  Log.reverse_id is initial