fiscds_trk_doc_02
Journal Entry History
fiscds_trk_doc_02 is a CDS View that provides data about "Journal Entry History" in SAP S/4HANA. It reads from 1 data source (FISVD_TRK_DOC_11) and exposes 23 fields with key fields CompanyCode, Ledger, AccountingDocument, changenr, TableName. It has 2 associations to related views. Part of development package FINS_FIS_GL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| FISVD_TRK_DOC_11 | FISVD_TRK_DOC_11 | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_Language | sylangu |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | fiscds_trk_fld_text | field_text | $projection.TableName = field_text.tabname and $projection.fname = field_text.fieldname |
| [0..1] | dd04t | dele_text | $projection.fname = dele_text.rollname |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FISV_TRK_DOC_02 | view | |
| EndUserText.label | Journal Entry History | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.auditFilter | #ENABLED | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | changenr | changenr | Document Number | |
| KEY | TableName | TableName | Table/View Name | |
| KEY | tabkey | tabkey | Table Keys | |
| KEY | fname | fname | User | |
| KEY | JournalEntryItem | JournalEntryItem | Journal Entry Item | |
| ddtextendasFieldName | ||||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| ChangedBy | ChangedBy | User Name | ||
| ChangedAt | ChangedAt | Time Stamp | ||
| OldValue | OldValue | Table value | ||
| NewValue | NewValue | New Field Value | ||
| ChangedOn | ChangedOn | Time Stamp | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| text_case | text_case | Text flag | ||
| AccountType | AccountType | Accounting Type(dtl) | ||
| GLAccountNR | GLAccountNR | |||
| chngind | chngind | Change Indicator |
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_02.
-- 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: FISV_TRK_DOC_02
-- Parameters: P_Language : sylangu
CREATE VIEW fiscds_trk_doc_02 AS
SELECT
CompanyCode,
Ledger,
AccountingDocument,
changenr,
TableName,
tabkey,
fname,
JournalEntryItem,
case when field_text[1:language = :P_Language].ddtext <> '' then field_text[1:language = :P_Language].ddtext else dele_text[1:ddlanguage = :P_Language].ddtext end as FieldName AS ddtextendasFieldName,
FiscalYear,
PostingDate,
DocumentDate,
ChangedBy,
ChangedAt,
OldValue,
NewValue,
ChangedOn,
CreationDate,
CreationTime,
text_case,
AccountType,
GLAccountNR,
chngind
FROM FISVD_TRK_DOC_11
LEFT OUTER JOIN fiscds_trk_fld_text AS field_text ON TableName = field_text.tabname AND fname = field_text.fieldname -- association [0..1]
LEFT OUTER JOIN dd04t AS dele_text ON fname = dele_text.rollname -- association [0..1]
;
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