Deprecated
This CDS view is deprecated in S/4HANA. View all deprecated CDS views →

I_PL_SAFTJournalItem

DDL: I_PL_SAFTJOURNALITEM SQL: IPLSAFTJOURNALI Type: view BASIC

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)

SourceAliasJoin Type
I_CompanyCode CompanyCode inner
snd_pl_kr_i saftn_pl_KR_i from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_GLAccount _GLAccount _GLAccount.GLAccount = saftn_pl_KR_i.hkont and _GLAccount.CompanyCode = saftn_pl_KR_i.bukrs

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;