P_DbtflAcctsValnAllwncDoc

DDL: P_DBTFLACCTSVALNALLWNCDOC SQL: PVALNDOCDAV Type: view BASIC

P_DbtflAcctsValnAllwncDoc is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (bsbw) and exposes 11 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem, CurrencyRole.

Data Sources (1)

SourceAliasJoin Type
bsbw bsbw from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PVALNDOCDAV view
VDM.viewType #BASIC view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey AccountingDocument view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bsbw bukrs Value
KEY AccountingDocument bsbw belnr SD Document
KEY FiscalYear bsbw gjahr Settlement Year
KEY AccountingDocumentItem bsbw buzei Posting View Item
KEY CurrencyRole bsbw curtp Valuation Area
KEY GeneralLedgerValuationArea bsbw bwber Valuation Area
KEY ValuationMethod bsbw methd Val. Method
ValuationDate bsbw datum Valid to
ValuationDifferenceAmount bsbw bwshb Valuation Diff.
Customer bsbw kunnr Stock customer
AccountType bsbw koart Account type

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_DbtflAcctsValnAllwncDoc.
-- 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: PVALNDOCDAV

CREATE VIEW P_DbtflAcctsValnAllwncDoc AS
SELECT
  bsbw.bukrs AS CompanyCode,
  bsbw.belnr AS AccountingDocument,
  bsbw.gjahr AS FiscalYear,
  bsbw.buzei AS AccountingDocumentItem,
  bsbw.curtp AS CurrencyRole,
  bsbw.bwber AS GeneralLedgerValuationArea,
  bsbw.methd AS ValuationMethod,
  bsbw.datum AS ValuationDate,
  bsbw.bwshb AS ValuationDifferenceAmount,
  bsbw.kunnr AS Customer,
  bsbw.koart AS AccountType
FROM bsbw
;