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

I_PL_SAFTJournalHeader

DDL: I_PL_SAFTJOURNALHEADER SQL: IPLSAFTJOURNALH Type: view BASIC Package: GLO_FIN_IS_SAFT_PL

SAF-T Journal Header

I_PL_SAFTJournalHeader is a Basic CDS View that provides data about "SAF-T Journal Header" in SAP S/4HANA. It reads from 2 data sources (snd_pl_kr_h, snc_pl_bc) and exposes 18 fields with key fields SAFTExtractionUUID, FiscalYear, AccountingDocument. Part of development package GLO_FIN_IS_SAFT_PL.

Data Sources (2)

SourceAliasJoin Type
snd_pl_kr_h saftn_pl_KR_h from
snc_pl_bc saftn_settings left_outer

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPLSAFTJOURNALH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
EndUserText.label SAF-T Journal Header view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.status #DEPRECATED view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY SAFTExtractionUUID snd_pl_kr_h extraction_id Extraction ID
KEY FiscalYear snd_pl_kr_h gjahr Settlement Year
KEY AccountingDocument snd_pl_kr_h belnr SD Document
EmailAddress
LocalTaxOffice snc_pl_bc tax_office Tax Office Code
District snc_pl_bc district District Court
CompanyRegion snc_pl_bc regon REGON
Municipality snc_pl_bc sub_district Sub District
CompanyCode snd_pl_kr_h bukrs Value
LedgerTypeName snd_pl_kr_h ledger_descr Ledger Description
AccountingDocumentType snd_pl_kr_h blart Rep. rec. doc. type
PostingDate snd_pl_kr_h budat Posting Date
DocumentDate snd_pl_kr_h bldat Journal Entry Date
UserName snd_pl_kr_h usnam User Name
DocumentHeaderText snd_pl_kr_h bktxt Header Text
TotalAmountInTransactionCrcy snd_pl_kr_h tot_doc_amount Amount
InvoiceReceiptDate snd_pl_kr_h reindat Inv. Recpt Date
_CompanyCode _CompanyCode

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_SAFTJournalHeader.
-- 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: IPLSAFTJOURNALH

CREATE VIEW I_PL_SAFTJournalHeader AS
SELECT
  saftn_pl_KR_h.extraction_id AS SAFTExtractionUUID,
  saftn_pl_KR_h.gjahr AS FiscalYear,
  saftn_pl_KR_h.belnr AS AccountingDocument,
  cast(saftn_settings.file_email as abap.char(241)) AS EmailAddress,
  saftn_settings.tax_office AS LocalTaxOffice,
  saftn_settings.district AS District,
  saftn_settings.regon AS CompanyRegion,
  saftn_settings.sub_district AS Municipality,
  saftn_pl_KR_h.bukrs AS CompanyCode,
  saftn_pl_KR_h.ledger_descr AS LedgerTypeName,
  saftn_pl_KR_h.blart AS AccountingDocumentType,
  saftn_pl_KR_h.budat AS PostingDate,
  saftn_pl_KR_h.bldat AS DocumentDate,
  saftn_pl_KR_h.usnam AS UserName,
  saftn_pl_KR_h.bktxt AS DocumentHeaderText,
  saftn_pl_KR_h.tot_doc_amount AS TotalAmountInTransactionCrcy,
  saftn_pl_KR_h.reindat AS InvoiceReceiptDate
FROM snd_pl_kr_h AS saftn_pl_KR_h
LEFT OUTER JOIN snc_pl_bc AS saftn_settings ON /* join condition not captured in parsed metadata */
;