P_ValuationHistoryLogBalances

DDL: P_VALUATIONHISTORYLOGBALANCES SQL: PVALHISTLOGBAL Type: view BASIC

P_ValuationHistoryLogBalances 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 PVALHISTLOGBAL 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 Log 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: 'PVALHISTLOGBAL'
@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_ValuationHistoryLogBalances
  as select distinct from fagl_bsbw_hst_bl as Log
    inner join            finsc_ld_cmp     as UniversalJournalSettings on  Log.bukrs = UniversalJournalSettings.bukrs
                                                                       and Log.rldnr = UniversalJournalSettings.rldnr
{
  key Log.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
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FAGL_BSBW_HST_BL",
"FINSC_LD_CMP"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/