C_NO_SAFTJournalEntryCube
SAF-T Norway Journal Entry Cube
C_NO_SAFTJournalEntryCube is a Consumption CDS View (Cube) that provides data about "SAF-T Norway Journal Entry Cube" in SAP S/4HANA. It reads from 2 data sources (I_JournalEntry, I_JournalEntryItem) and exposes 27 fields with key fields CompanyCode, FiscalYear, AccountingDocument, Ledger.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntry | JournalEntry | inner |
| I_JournalEntryItem | JournalItem | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_Ledger | fins_ledger | |
| P_StartDate | dats | |
| P_EndDate | dats | |
| P_CompanyCode | bukrs |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CNOSAFTJORENTC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #CUBE | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.internalName | #LOCAL | view | |
| EndUserText.label | SAF-T Norway Journal Entry Cube | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_JournalEntry | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | I_JournalEntry | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | I_JournalEntry | AccountingDocument | Journal Entry |
| KEY | Ledger | I_JournalEntryItem | Ledger | Ledger |
| LedgerGroup | I_JournalEntryItem | SourceLedger | Source Ledger | |
| PostingDate | I_JournalEntry | PostingDate | Posting Date for GR | |
| JournalEntryType | ||||
| CreationTime | I_JournalEntry | CreationTime | Time of Change | |
| LastChangeDateTime | I_JournalEntryItem | LastChangeDateTime | Timestamp | |
| LastManualChangeDate | I_JournalEntry | LastManualChangeDate | Manual Change Date | |
| FiscalPeriod | I_JournalEntry | FiscalPeriod | Tax period | |
| DocumentDate | I_JournalEntry | DocumentDate | Journal Entry Date | |
| DocumentReferenceID | I_JournalEntry | DocumentReferenceID | Reference | |
| AccountingDocumentType | I_JournalEntry | AccountingDocumentType | Journal Entry Type | |
| AccountingDocumentTypeName | ||||
| AccountingDocumentCreationDate | I_JournalEntry | AccountingDocumentCreationDate | Journal Entry Date | |
| AccountingDocCreatedByUser | I_JournalEntry | AccountingDocCreatedByUser | User which created overhead document | |
| AccountingDocumentHeaderText | I_JournalEntry | AccountingDocumentHeaderText | Doc.Header Text | |
| ExchangeRateelse0endasExchangeRate | ||||
| CompanyCodeCurrency | I_JournalEntry | CompanyCodeCurrency | Local Currency | |
| TransactionCurrency | I_JournalEntry | TransactionCurrency | Transaction Currency | |
| DocumentTransaction | ||||
| _CompanyCode | I_JournalEntry | _CompanyCode | ||
| _FiscalYear | I_JournalEntry | _FiscalYear | ||
| _FiscalPeriod | I_JournalEntry | _FiscalPeriod | ||
| _AccountingDocumentType | I_JournalEntry | _AccountingDocumentType | ||
| _Ledger | I_JournalEntryItem | _Ledger |
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 C_NO_SAFTJournalEntryCube.
-- 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: CNOSAFTJORENTC
-- Parameters: P_Ledger : fins_ledger, P_StartDate : dats, P_EndDate : dats, P_CompanyCode : bukrs
CREATE VIEW C_NO_SAFTJournalEntryCube AS
SELECT
JournalEntry.CompanyCode AS CompanyCode,
JournalEntry.FiscalYear AS FiscalYear,
JournalEntry.AccountingDocument AS AccountingDocument,
JournalItem.Ledger AS Ledger,
JournalItem.SourceLedger AS LedgerGroup,
JournalEntry.PostingDate AS PostingDate,
cast( 'A' as fis_blart ) AS JournalEntryType,
JournalEntry.CreationTime AS CreationTime,
JournalItem.LastChangeDateTime AS LastChangeDateTime,
JournalEntry.LastManualChangeDate AS LastManualChangeDate,
JournalEntry.FiscalPeriod AS FiscalPeriod,
JournalEntry.DocumentDate AS DocumentDate,
JournalEntry.DocumentReferenceID AS DocumentReferenceID,
JournalEntry.AccountingDocumentType AS AccountingDocumentType,
coalesce(JournalEntry._AccountingDocumentTypeText[1: Language = $session.system_language].AccountingDocumentTypeName,' ') AS AccountingDocumentTypeName,
JournalEntry.AccountingDocumentCreationDate AS AccountingDocumentCreationDate,
JournalEntry.AccountingDocCreatedByUser AS AccountingDocCreatedByUser,
JournalEntry.AccountingDocumentHeaderText AS AccountingDocumentHeaderText,
case when JournalEntry.CompanyCodeCurrency <> JournalEntry.TransactionCurrency then JournalEntry.ExchangeRate else 0 end as ExchangeRate AS ExchangeRateelse0endasExchangeRate,
JournalEntry.CompanyCodeCurrency AS CompanyCodeCurrency,
JournalEntry.TransactionCurrency AS TransactionCurrency,
concat(concat(JournalEntry.CompanyCode, JournalEntry.AccountingDocument), JournalEntry.FiscalYear ) AS DocumentTransaction,
JournalEntry._CompanyCode AS _CompanyCode,
JournalEntry._FiscalYear AS _FiscalYear,
JournalEntry._FiscalPeriod AS _FiscalPeriod,
JournalEntry._AccountingDocumentType AS _AccountingDocumentType,
JournalItem._Ledger AS _Ledger
FROM I_JournalEntryItem AS JournalItem
INNER JOIN I_JournalEntry AS JournalEntry ON /* join condition not captured in parsed metadata */
;
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