P_ValuationHistoryLogBalances
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)
| Source | Alias | Join Type |
|---|---|---|
| finsc_ld_cmp | UniversalJournalSettings | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 |
@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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA