FISCDS_TRK_DOC_03
Change History for Ledger View
FISCDS_TRK_DOC_03 is a CDS View that provides data about "Change History for Ledger View" in SAP S/4HANA. It reads from 6 data sources and exposes 37 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocument, FiscalYear.
Data Sources (6)
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FISCDSTRKDOC03 | view | |
| EndUserText.label | Change History for Ledger View | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (37)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | bseg_add | bukrs | Value |
| KEY | AccountingDocument | bseg_add | belnr | SD Document |
| KEY | FiscalYear | bseg_add | gjahr | Settlement Year |
| JournalEntryItem | Matching Document Line Item | |||
| Ledger | bkpf | ldgrp | Ledger (Compat.) | |
| PostingDate | bkpf | budat | Posting Date | |
| DocumentDate | bldat | Journal Entry Date | ||
| timestamp | cputm | Time | ||
| CreationTime | cputm | Time | ||
| CreationDate | cpudt | Imported On | ||
| objectid | ||||
| AccountType | bseg_add | koart | Account type | |
| bukrsasCompanyCode | ||||
| KEY | AccountingDocument | bseg_add | belnr | SD Document |
| KEY | FiscalYear | bseg_add | gjahr | Settlement Year |
| JournalEntryItem | Matching Document Line Item | |||
| Ledger | bkpf | ldgrp | Ledger (Compat.) | |
| PostingDate | bkpf | budat | Posting Date | |
| DocumentDate | bldat | Journal Entry Date | ||
| timestamp | cputm | Time | ||
| CreationTime | cputm | Time | ||
| CreationDate | cpudt | Imported On | ||
| objectid | ||||
| AccountType | bseg_add | koart | Account type | |
| rbukrsasCompanyCode | ||||
| KEY | AccountingDocument | acdoca | belnr | SD Document |
| KEY | FiscalYear | acdoca | gjahr | Settlement Year |
| JournalEntryItem | acdoca | docln | Matching Document Line Item | |
| Ledger | acdoca | rldnr | Ledger (Compat.) | |
| PostingDate | bkpf | budat | Posting Date | |
| DocumentDate | bkpf | bldat | Journal Entry Date | |
| timestamp | cputm | Time | ||
| CreationTime | cputm | Time | ||
| CreationDate | cpudt | Imported On | ||
| objectid | ||||
| AccountType | acdoca | koart | Account type | |
| GLAccountNR | acdoca | racct | GL Account From |
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_03.
-- 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: FISCDSTRKDOC03
CREATE VIEW FISCDS_TRK_DOC_03 AS
SELECT
bsegadd.bukrs AS CompanyCode,
bsegadd.belnr AS AccountingDocument,
bsegadd.gjahr AS FiscalYear,
cast(bsegadd.buzei as docln6) AS JournalEntryItem,
bkpf.ldgrp AS Ledger,
bkpf.budat AS PostingDate,
bldat AS DocumentDate,
cputm AS timestamp,
cputm AS CreationTime,
cpudt AS CreationDate,
replace(replace(concat( bsegadd.mandt, concat(rpad(bsegadd.bukrs, 4, '|'), concat( bsegadd.belnr, bsegadd.gjahr))), '|', '| |'), '|', '') AS objectid,
bsegadd.koart AS AccountType,
bsegadd.hkont as GLAccountNR AS bukrsasCompanyCode,
bsegadd.hkont as GLAccountNR AS rbukrsasCompanyCode,
acdoca.racct AS GLAccountNR
FROM bseg_add AS bsegadd
LEFT OUTER JOIN bkpf ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): bseg_add, acdoca
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA