FISCDS_TRK_DOC_05

DDL: FISVD_TRK_DOC_05 SQL: FISCDSTRKDOC05 Type: view

Change History from non-leading Ledger

FISCDS_TRK_DOC_05 is a CDS View that provides data about "Change History from non-leading Ledger" in SAP S/4HANA. It reads from 1 data source (bkpf) and exposes 14 fields with key fields CompanyCode, AccountingDocument, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
bkpf bkpf from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName FISCDSTRKDOC05 view
EndUserText.label Change History from non-leading Ledger view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bkpf bukrs Value
KEY AccountingDocument bkpf belnr SD Document
KEY FiscalYear bkpf gjahr Settlement Year
JournalEntryItem
Ledger bkpf rldnr Ledger (Compat.)
PostingDate bkpf budat Posting Date
DocumentDate bldat Journal Entry Date
timestamp cputm Time
CreationTime cputm Time
CreationDate cpudt Imported On
objectid
bkpf_tabkey
AccountType
GLAccountNR

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 FISCDS_TRK_DOC_05.
-- 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: FISCDSTRKDOC05

CREATE VIEW FISCDS_TRK_DOC_05 AS
SELECT
  bkpf.bukrs AS CompanyCode,
  bkpf.belnr AS AccountingDocument,
  bkpf.gjahr AS FiscalYear,
  cast('' as docln6) AS JournalEntryItem,
  bkpf.rldnr AS Ledger,
  bkpf.budat AS PostingDate,
  bldat AS DocumentDate,
  cputm AS timestamp,
  cputm AS CreationTime,
  cpudt AS CreationDate,
  replace(replace(concat( bkpf.mandt, concat(rpad(bkpf.bukrs, 4, '|'), concat( bkpf.belnr, bkpf.gjahr))), '|', '| |'), '|', '') AS objectid,
  replace(replace(concat( bkpf.mandt, concat(rpad(bkpf.bukrs, 4, '|'), concat( bkpf.belnr, bkpf.gjahr))), '|', '| |'), '|', '') AS bkpf_tabkey,
  '' AS AccountType,
  '' AS GLAccountNR
FROM bkpf
;