C_CN_TaxInvcJrnlEntrRef

DDL: C_CN_TAXINVCJRNLENTRREF SQL: CCNTXIJRNLREF Type: view CONSUMPTION Package: GLO_FIN_TAX_INVC_MGMT_COMM_CN

VAT Invoice Journal Entry Reference

C_CN_TaxInvcJrnlEntrRef is a Consumption CDS View that provides data about "VAT Invoice Journal Entry Reference" in SAP S/4HANA. It reads from 1 data source (I_JournalEntry) and exposes 23 fields with key fields CompanyCode, FiscalYear, AccountingDocument. Part of development package GLO_FIN_TAX_INVC_MGMT_COMM_CN.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntry Document from

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CCNTXIJRNLREF view
AbapCatalog.compiler.compareFilter true view
ObjectModel.representativeKey AccountingDocument view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
VDM.private false view
EndUserText.label VAT Invoice Journal Entry Reference view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_JournalEntry CompanyCode Receiver Company Code
KEY FiscalYear I_JournalEntry FiscalYear G/L Fiscal Year
KEY AccountingDocument I_JournalEntry AccountingDocument Journal Entry
DocumentDate I_JournalEntry DocumentDate Journal Entry Date
PostingDate I_JournalEntry PostingDate Posting Date for GR
AccountingDocumentType I_JournalEntry AccountingDocumentType Journal Entry Type
DocumentReferenceID I_JournalEntry DocumentReferenceID Reference
AccountingDocumentHeaderText I_JournalEntry AccountingDocumentHeaderText Doc.Header Text
Ledger I_JournalEntry Ledger Ledger
ReferenceDocumentType I_JournalEntry ReferenceDocumentType Reference Document Type
OriginalReferenceDocument I_JournalEntry OriginalReferenceDocument Original Reference Document
IsReversal I_JournalEntry IsReversal Reversal doc.
IsReversed I_JournalEntry IsReversed Reversed?
ReversalReferenceDocument I_JournalEntry ReversalReferenceDocument Reversal Reference Document
AccountingDocumentCreationDate I_JournalEntry AccountingDocumentCreationDate Created On
CreationTime I_JournalEntry CreationTime Time of Change
AccountingDocCreatedByUser I_JournalEntry AccountingDocCreatedByUser User which created overhead document
ReverseDocument I_JournalEntry ReverseDocument Reversed With
ReversalReason I_JournalEntry ReversalReason Reversal Reason
DocumentStatusDesc
_CompanyCode I_JournalEntry _CompanyCode
_FiscalYear I_JournalEntry _FiscalYear
_AccountingDocumentType I_JournalEntry _AccountingDocumentType

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_CN_TaxInvcJrnlEntrRef.
-- 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: CCNTXIJRNLREF

CREATE VIEW C_CN_TaxInvcJrnlEntrRef AS
SELECT
  Document.CompanyCode AS CompanyCode,
  Document.FiscalYear AS FiscalYear,
  Document.AccountingDocument AS AccountingDocument,
  Document.DocumentDate AS DocumentDate,
  Document.PostingDate AS PostingDate,
  Document.AccountingDocumentType AS AccountingDocumentType,
  Document.DocumentReferenceID AS DocumentReferenceID,
  Document.AccountingDocumentHeaderText AS AccountingDocumentHeaderText,
  Document.Ledger AS Ledger,
  Document.ReferenceDocumentType AS ReferenceDocumentType,
  Document.OriginalReferenceDocument AS OriginalReferenceDocument,
  Document.IsReversal AS IsReversal,
  Document.IsReversed AS IsReversed,
  Document.ReversalReferenceDocument AS ReversalReferenceDocument,
  Document.AccountingDocumentCreationDate AS AccountingDocumentCreationDate,
  Document.CreationTime AS CreationTime,
  Document.AccountingDocCreatedByUser AS AccountingDocCreatedByUser,
  Document.ReverseDocument AS ReverseDocument,
  Document.ReversalReason AS ReversalReason,
  _AccountingDocumentCategory._Text[1: Language = $session.system_language].AccountingDocumentCategoryName AS DocumentStatusDesc,
  Document._CompanyCode AS _CompanyCode,
  Document._FiscalYear AS _FiscalYear,
  Document._AccountingDocumentType AS _AccountingDocumentType
FROM I_JournalEntry AS Document
;