I_CashJournalPosition
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)
| Source | Alias | Join Type |
|---|---|---|
| P_CASHJOURNALPOSITION | P_CASHJOURNALPOSITION | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- 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
- S/4HANA CDS View Deprecation: What You Need to Know
- 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