P_SAFTJournalItemTaxAbs

DDL: P_SAFTJOURNALITEMTAXABS SQL: PSAFTJITAXABS Type: view COMPOSITE

P_SAFTJournalItemTaxAbs is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_OperationalAcctgDocItem, I_SAFTJournalLineItem) and exposes 15 fields with key fields CompanyCode, FiscalYear, AccountingDocument, Ledger.

Data Sources (2)

SourceAliasJoin Type
I_OperationalAcctgDocItem AcctDoc inner
I_SAFTJournalLineItem JournalEntryItem from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PSAFTJITAXABS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_SAFTJournalLineItem CompanyCode Receiver Company Code
KEY FiscalYear I_SAFTJournalLineItem FiscalYear G/L Fiscal Year
KEY AccountingDocument I_SAFTJournalLineItem AccountingDocument Journal Entry
KEY Ledger I_SAFTJournalLineItem Ledger Ledger
AccountingDocumentItem I_SAFTJournalLineItem AccountingDocumentItem Posting View Item
PostingDate I_SAFTJournalLineItem PostingDate Posting Date for GR
CompanyCodeCurrency I_SAFTJournalLineItem CompanyCodeCurrency Local Currency
TaxCode I_SAFTJournalLineItem TaxCode Tax Code
TotalGrossAmountInCoCodeCrcy
TotalGrossAmountInTransCrcy
_CompanyCode I_SAFTJournalLineItem _CompanyCode
_FiscalYear I_SAFTJournalLineItem _FiscalYear
_JournalEntry I_SAFTJournalLineItem _JournalEntry
_Ledger I_SAFTJournalLineItem _Ledger
_CompanyCodeCurrency I_SAFTJournalLineItem _CompanyCodeCurrency

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 P_SAFTJournalItemTaxAbs.
-- 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: PSAFTJITAXABS

CREATE VIEW P_SAFTJournalItemTaxAbs AS
SELECT
  JournalEntryItem.CompanyCode AS CompanyCode,
  JournalEntryItem.FiscalYear AS FiscalYear,
  JournalEntryItem.AccountingDocument AS AccountingDocument,
  JournalEntryItem.Ledger AS Ledger,
  JournalEntryItem.AccountingDocumentItem AS AccountingDocumentItem,
  JournalEntryItem.PostingDate AS PostingDate,
  JournalEntryItem.CompanyCodeCurrency AS CompanyCodeCurrency,
  JournalEntryItem.TaxCode AS TaxCode,
  abs(JournalEntryItem.AmountInCompanyCodeCurrency) AS TotalGrossAmountInCoCodeCrcy,
  abs(JournalEntryItem.AmountInTransactionCurrency) AS TotalGrossAmountInTransCrcy,
  JournalEntryItem._CompanyCode AS _CompanyCode,
  JournalEntryItem._FiscalYear AS _FiscalYear,
  JournalEntryItem._JournalEntry AS _JournalEntry,
  JournalEntryItem._Ledger AS _Ledger,
  JournalEntryItem._CompanyCodeCurrency AS _CompanyCodeCurrency
FROM I_SAFTJournalLineItem AS JournalEntryItem
INNER JOIN I_OperationalAcctgDocItem AS AcctDoc ON /* join condition not captured in parsed metadata */
;