I_PL_SAFTJournalItem
SAF-T Journal Item
I_PL_SAFTJournalItem is a Basic CDS View that provides data about "SAF-T Journal Item" in SAP S/4HANA. It reads from 2 data sources (I_CompanyCode, snd_pl_kr_i) and exposes 14 fields with key fields SAFTExtractionUUID, FiscalYear, AccountingDocument, Account, GLAccountLineItem. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | CompanyCode | inner |
| snd_pl_kr_i | saftn_pl_KR_i | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_GLAccount | _GLAccount | _GLAccount.GLAccount = saftn_pl_KR_i.hkont and _GLAccount.CompanyCode = saftn_pl_KR_i.bukrs |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPLSAFTJOURNALI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | SAF-T Journal Item | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.lifecycle.status | #DEPRECATED | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SAFTExtractionUUID | snd_pl_kr_i | extraction_id | Extraction ID |
| KEY | FiscalYear | snd_pl_kr_i | gjahr | Settlement Year |
| KEY | AccountingDocument | snd_pl_kr_i | belnr | SD Document |
| KEY | Account | snd_pl_kr_i | hkont | Transfer acct |
| KEY | GLAccountLineItem | snd_pl_kr_i | docln | Matching Document Line Item |
| CompanyCode | snd_pl_kr_i | bukrs | Value | |
| DocumentItemText | snd_pl_kr_i | sgtxt | Text | |
| DebitAmountInDisplayCrcy | snd_pl_kr_i | amount_d | Db.Amt.Loc.Crcy | |
| CreditAmountInDisplayCrcy | snd_pl_kr_i | amount_c | Cr.Amt.Loc.Crcy | |
| DebitAmountInBalanceTransCrcy | snd_pl_kr_i | doc_amount_d | Deb.Amt.Crcy. | |
| CreditAmountInBalanceTransCrcy | snd_pl_kr_i | doc_amount_c | Cred.Amt.Crcy. | |
| Currency | snd_pl_kr_i | doc_curr | Doc. Currency | |
| CompanyCodeCurrency | I_CompanyCode | Currency | Valuation Crcy | |
| _GLAccount | _GLAccount |
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 I_PL_SAFTJournalItem.
-- 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: IPLSAFTJOURNALI
CREATE VIEW I_PL_SAFTJournalItem AS
SELECT
saftn_pl_KR_i.extraction_id AS SAFTExtractionUUID,
saftn_pl_KR_i.gjahr AS FiscalYear,
saftn_pl_KR_i.belnr AS AccountingDocument,
saftn_pl_KR_i.hkont AS Account,
saftn_pl_KR_i.docln AS GLAccountLineItem,
saftn_pl_KR_i.bukrs AS CompanyCode,
saftn_pl_KR_i.sgtxt AS DocumentItemText,
saftn_pl_KR_i.amount_d AS DebitAmountInDisplayCrcy,
saftn_pl_KR_i.amount_c AS CreditAmountInDisplayCrcy,
saftn_pl_KR_i.doc_amount_d AS DebitAmountInBalanceTransCrcy,
saftn_pl_KR_i.doc_amount_c AS CreditAmountInBalanceTransCrcy,
saftn_pl_KR_i.doc_curr AS Currency,
CompanyCode.Currency AS CompanyCodeCurrency
FROM snd_pl_kr_i AS saftn_pl_KR_i
INNER JOIN I_CompanyCode AS CompanyCode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_GLAccount AS _GLAccount ON _GLAccount.GLAccount = saftn_pl_KR_i.hkont AND _GLAccount.CompanyCode = saftn_pl_KR_i.bukrs -- association [0..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- 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