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 Ledger (Compat.)
KEY CompanyCode Log bukrs Value
KEY FiscalYear Log gjahr Settlement Year
KEY CalendarDate Log datum Valid to
KEY GeneralLedgerValuationArea Log bwber Valuation Area
AccountingPrinciple finsc_ld_cmp acc_principle Evaluation area EBRR

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_ValuationHistoryLogDocuments.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PVALHISLOGDOC

CREATE VIEW P_ValuationHistoryLogDocuments AS
SELECT
  UniversalJournalSettings.rldnr AS Ledger,
  Log.bukrs AS CompanyCode,
  Log.gjahr AS FiscalYear,
  Log.datum AS CalendarDate,
  Log.bwber AS GeneralLedgerValuationArea,
  UniversalJournalSettings.acc_principle AS AccountingPrinciple
INNER JOIN finsc_ld_cmp AS UniversalJournalSettings ON /* join condition not captured in parsed metadata */
;