C_NO_SAFTJournalItemAnalysis
SAFT Norway Journal Item Analysis
C_NO_SAFTJournalItemAnalysis is a Consumption CDS View that provides data about "SAFT Norway Journal Item Analysis" in SAP S/4HANA. Part of development package GLO_FIN_IS_SAFT_NO.
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_FromPostingDate | budat | |
| P_ToPostingDate | budat | |
| P_Ledger | fins_ledger |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | SAFT Norway Journal Item Analysis | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | JournalItem | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | JournalItem | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | JournalItem | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | JournalItem | LedgerGLLineItem | Journal Entry Item |
| KEY | Ledger | JournalItem | Ledger | Ledger |
| KEY | CostAnalysisResourceName | JournalItem | CostCenter | Cost Center |
| CostCenter | JournalItem | CostCenter | Cost Center | |
| PostingDate | JournalItem | PostingDate | Posting Date for GR | |
| CompanyCodeCurrency | JournalItem | CompanyCodeCurrency | Local Currency | |
| TransactionCurrency | JournalItem | TransactionCurrency | Transaction Currency | |
| 00asfis_wslendasDebitAmountInCoCodeCrcy | ||||
| 00asfis_wslendasDebitAmountInTransCrcy | ||||
| 00asfis_wslendasCreditAmountInCoCodeCrcy | ||||
| 00asfis_wslendasCreditAmountInTransCrcy | ||||
| AnalysisStage | ||||
| AnalysisStageName | ||||
| ValidityEndDate | CostCenter | ValidityEndDate | ValidTo | |
| ValidityStartDate | CostCenter | ValidityStartDate | Validity Start Date | |
| char80asResultAnalysisDescription | ||||
| _CompanyCode | JournalItem | _CompanyCode | ||
| _FiscalYear | JournalItem | _FiscalYear | ||
| _JournalEntry | JournalItem | _JournalEntry | ||
| CompanyCode | Receiver Company Code | |||
| KEY | FiscalYear | JournalItem | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | JournalItem | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | JournalItem | LedgerGLLineItem | Journal Entry Item |
| KEY | Ledger | JournalItem | Ledger | Ledger |
| KEY | CostAnalysisResourceName | Cost Center | ||
| CostCenter | JournalItem | CostCenter | Cost Center | |
| PostingDate | JournalItem | PostingDate | Posting Date for GR | |
| CompanyCodeCurrency | JournalItem | CompanyCodeCurrency | Local Currency | |
| TransactionCurrency | JournalItem | TransactionCurrency | Transaction Currency | |
| 00asfis_wslendasDebitAmountInCoCodeCrcy | ||||
| 00asfis_wslendasDebitAmountInTransCrcy | ||||
| 00asfis_wslendasCreditAmountInCoCodeCrcy | ||||
| 00asfis_wslendasCreditAmountInTransCrcy | ||||
| AnalysisStage | ||||
| AnalysisStageName | ||||
| ValidityEndDate | Employee | ValidityEndDate | ValidTo | |
| ValidityStartDate | Employee | ValidityStartDate | Validity Start Date | |
| _CompanyCode | JournalItem | _CompanyCode | ||
| _FiscalYear | JournalItem | _FiscalYear | ||
| _JournalEntry | JournalItem | _JournalEntry | ||
| _Ledger | JournalItem | _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_SAFTJournalItemAnalysis.
-- 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.
-- Parameters: P_FromPostingDate : budat, P_ToPostingDate : budat, P_Ledger : fins_ledger
CREATE VIEW C_NO_SAFTJournalItemAnalysis AS
SELECT
JournalItem.CompanyCode AS CompanyCode,
JournalItem.FiscalYear AS FiscalYear,
JournalItem.AccountingDocument AS AccountingDocument,
JournalItem.LedgerGLLineItem AS LedgerGLLineItem,
JournalItem.Ledger AS Ledger,
JournalItem.CostCenter AS CostAnalysisResourceName,
JournalItem.CostCenter AS CostCenter,
JournalItem.PostingDate AS PostingDate,
JournalItem.CompanyCodeCurrency AS CompanyCodeCurrency,
JournalItem.TransactionCurrency AS TransactionCurrency,
case when JournalItem.DebitCreditCode = 'S' then JournalItem.AmountInCompanyCodeCurrency else cast( '0.00' as fis_wsl ) end as DebitAmountInCoCodeCrcy AS 00asfis_wslendasDebitAmountInCoCodeCrcy,
case when JournalItem.DebitCreditCode = 'S' and JournalItem.CompanyCodeCurrency <> JournalItem.TransactionCurrency then JournalItem.AmountInTransactionCurrency else cast( '0.00' as fis_wsl ) end as DebitAmountInTransCrcy AS 00asfis_wslendasDebitAmountInTransCrcy,
case when JournalItem.DebitCreditCode = 'H' and JournalItem.AmountInCompanyCodeCurrency < 0 then abs(JournalItem.AmountInCompanyCodeCurrency) when JournalItem.DebitCreditCode = 'H' and JournalItem.AmountInCompanyCodeCurrency > 0 then JournalItem.AmountInCompanyCodeCurrency * -1 else cast( '0.00' as fis_wsl ) end as CreditAmountInCoCodeCrcy AS 00asfis_wslendasCreditAmountInCoCodeCrcy,
case when JournalItem.DebitCreditCode = 'H' and JournalItem.CompanyCodeCurrency <> JournalItem.TransactionCurrency and JournalItem.AmountInTransactionCurrency < 0 then abs(JournalItem.AmountInTransactionCurrency) when JournalItem.DebitCreditCode = 'H' and JournalItem.CompanyCodeCurrency <> JournalItem.TransactionCurrency and JournalItem.AmountInTransactionCurrency > 0 then JournalItem.AmountInTransactionCurrency * -1 else cast( '0.00' as fis_wsl ) end as CreditAmountInTransCrcy AS 00asfis_wslendasCreditAmountInTransCrcy,
'A' AS AnalysisStage,
'Avdeling ' AS AnalysisStageName,
CostCenter.ValidityEndDate AS ValidityEndDate,
CostCenter.ValidityStartDate AS ValidityStartDate,
cast(coalesce(CostCenter._Text[1: Language = 'O'].CostCenterDescription, coalesce(CostCenter._Text[1: Language = 'E'].CostCenterDescription, CostCenter._Text[1: Language = $session.system_language].CostCenterDescription)) as abap.char(80)) as ResultAnalysisDescription AS char80asResultAnalysisDescription,
JournalItem._CompanyCode AS _CompanyCode,
JournalItem._FiscalYear AS _FiscalYear,
JournalItem._JournalEntry AS _JournalEntry,
JournalItem._Ledger AS _Ledger
;
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