I_CashJournalPosition

DDL: I_CASHJOURNALPOSITION SQL: ICASHJNLPOS Type: view BASIC Package: FINS_FIS_FICO

View for table TCJ_POSITIONS

I_CashJournalPosition is a Basic CDS View that provides data about "View for table TCJ_POSITIONS" in SAP S/4HANA. It reads from 1 data source (P_CASHJOURNALPOSITION) and exposes 33 fields with key fields CompanyCode, CashJournal, FiscalYear, CashJournalDocumentInternalID, CashJournalDocumentItem. It has 8 associations to related views. Part of development package FINS_FIS_FICO.

Data Sources (1)

SourceAliasJoin Type
P_CASHJOURNALPOSITION P_CASHJOURNALPOSITION from

Associations (8)

CardinalityTargetAliasCondition
[0..*] I_BusinessAreaText _BusinessAreaText $projection.BusinessArea = _BusinessAreaText.BusinessArea
[0..1] I_FiscalYearForCompanyCode _FiscalYear $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode
[0..1] I_CashJournalTransaction _CashJournalTransaction $projection.CompanyCode = _CashJournalTransaction.CompanyCode and $projection.CashJournalTransaction = _CashJournalTransaction.CashJournalTransaction and $projection.Language = _CashJournalTransaction.Language
[0..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[0..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[0..1] I_CashJournal _CashJournal $projection.CompanyCode = _CashJournal.CompanyCode and $projection.CashJournal = _CashJournal.CashJournal and $projection.Language = _CashJournal.Language
[0..1] I_Customer _Customer $projection.CustomerNum = _Customer.Customer
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ICASHJNLPOS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label View for table TCJ_POSITIONS view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY CashJournal CashJournal Cash Journal Number
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY CashJournalDocumentInternalID CashJournalDocumentInternalID Internal doc. number
KEY CashJournalDocumentItem CashJournalDocumentItem Item
KEY Language _CashJournalTransaction Language Report Text Language
Currency Currency Valuation Crcy
CashJournalItemType CashJournalItemType Item Category
CashJournalTransaction CashJournalTransaction
TaxAmountInTransCrcy TaxAmountInTransCrcy TaxAmt in Tran. Crcy
CashJournalReceiptAmount CashJournalReceiptAmount
TaxRate TaxRate Tax Rate
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
BusinessArea BusinessArea Business Area
CashJournalDocumentTransType CashJournalDocumentTransType Trans type
TaxCode TaxCode Tax Code
GLAccount GLAccount General Ledger
CashJournalDocumentItemText CashJournalDocumentItemText Text for item
Supplier Supplier Supplier
CustomerNum CustomerNum Customer
PersonnelNumber PersonnelNumber Personnel No.
SupplierName _Supplier SupplierName Supplier Name
CustomerName _Customer CustomerName Name of Customer
_FiscalYear _FiscalYear
_Currency _Currency
_CashJournalTransaction _CashJournalTransaction
_BusinessArea _BusinessArea
_CashJournal _CashJournal
_Customer _Customer
_Supplier _Supplier
_BusinessAreaText _BusinessAreaText
_GLAccountText _GLAccountText

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_CashJournalPosition.
-- 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: ICASHJNLPOS

CREATE VIEW I_CashJournalPosition AS
SELECT
  CompanyCode,
  CashJournal,
  FiscalYear,
  CashJournalDocumentInternalID,
  CashJournalDocumentItem,
  _CashJournalTransaction.Language AS Language,
  Currency,
  CashJournalItemType,
  CashJournalTransaction,
  TaxAmountInTransCrcy,
  CashJournalReceiptAmount,
  TaxRate,
  CostCenter,
  ProfitCenter,
  BusinessArea,
  CashJournalDocumentTransType,
  TaxCode,
  GLAccount,
  CashJournalDocumentItemText,
  Supplier,
  CustomerNum,
  PersonnelNumber,
  _Supplier.SupplierName AS SupplierName,
  _Customer.CustomerName AS CustomerName
FROM P_CASHJOURNALPOSITION
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CashJournalTransaction AS _CashJournalTransaction ON CompanyCode = _CashJournalTransaction.CompanyCode AND CashJournalTransaction = _CashJournalTransaction.CashJournalTransaction AND Language = _CashJournalTransaction.Language  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea  -- association [0..1]
LEFT OUTER JOIN I_CashJournal AS _CashJournal ON CompanyCode = _CashJournal.CompanyCode AND CashJournal = _CashJournal.CashJournal AND Language = _CashJournal.Language  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON CustomerNum = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
;