C_JrnlEntryCorrespnc
Correspondence SAP09 - Ledger View - Journal Entry
C_JrnlEntryCorrespnc is a Consumption CDS View that provides data about "Correspondence SAP09 - Ledger View - Journal Entry" in SAP S/4HANA. It reads from 1 data source (I_JournalEntry) and exposes 73 fields with key fields CompanyCode, FiscalYear, AccountingDocument. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntry | I_JournalEntry | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | C_JrnlEntryItemCorrespnc | _Item | $projection.AccountingDocument = _Item.AccountingDocument and $projection.CompanyCode = _Item.CompanyCode and $projection.FiscalYear = _Item.FiscalYear |
| [0..*] | I_AccountingDocumentTypeText | _AccountingDocumentTypeText | $projection.AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType |
| [0..*] | I_ReferenceDocumentTypeText | _ReferenceDocumentTypeText | $projection.ReferenceDocumentType = _ReferenceDocumentTypeText.ReferenceDocumentType |
| [1..1] | I_CurrencyTypesCorrespnc | _CurrencyTypesCorrespnc | $projection.CompanyCode = _CurrencyTypesCorrespnc.CompanyCode and $projection.SourceLedger = _CurrencyTypesCorrespnc.Ledger |
| [0..*] | C_CorrespondenceHeaderNote | _CorrespondenceHeaderNote | $projection.CompanyCode = _CorrespondenceHeaderNote.CompanyCode and $projection.FiscalYear = _CorrespondenceHeaderNote.FiscalYear and $projection.AccountingDocument = _CorrespondenceHeaderNote.AccountingDocument |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CJRNLENCOR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Search.searchable | true | view | |
| EndUserText.label | Correspondence SAP09 - Ledger View - Journal Entry | view |
Fields (73)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | FiscalYear | FiscalYear | ||
| KEY | AccountingDocument | AccountingDocument | ||
| AccountingDocumentType | AccountingDocumentType | |||
| AccountingDocumentTypeName | ||||
| DocumentDate | DocumentDate | |||
| PostingDate | PostingDate | |||
| FiscalPeriod | FiscalPeriod | |||
| AccountingDocumentCreationDate | AccountingDocumentCreationDate | |||
| CreationTime | CreationTime | |||
| LastManualChangeDate | LastManualChangeDate | |||
| LastAutomaticChangeDate | LastAutomaticChangeDate | |||
| LastChangeDate | LastChangeDate | |||
| ExchangeRateDate | ExchangeRateDate | |||
| AccountingDocCreatedByUser | AccountingDocCreatedByUser | |||
| TransactionCode | TransactionCode | |||
| IntercompanyTransaction | IntercompanyTransaction | |||
| DocumentReferenceID | DocumentReferenceID | |||
| RecurringAccountingDocument | RecurringAccountingDocument | |||
| ReverseDocument | ReverseDocument | |||
| ReverseDocumentFiscalYear | ReverseDocumentFiscalYear | |||
| AccountingDocumentHeaderText | AccountingDocumentHeaderText | |||
| TransactionCurrency | TransactionCurrency | |||
| ExchangeRate | ExchangeRate | |||
| AccountingDocumentCategory | AccountingDocumentCategory | |||
| BusinessTransactionType | BusinessTransactionType | |||
| BatchInputSession | BatchInputSession | |||
| ReferenceDocumentType | ReferenceDocumentType | |||
| ReferenceDocumentTypeName | ||||
| OriginalReferenceDocument | OriginalReferenceDocument | |||
| FinancialManagementArea | FinancialManagementArea | |||
| CompanyCodeCurrency | CompanyCodeCurrency | |||
| AdditionalCurrency1 | AdditionalCurrency1 | |||
| AdditionalCurrency2 | AdditionalCurrency2 | |||
| ReversalIsPlanned | ReversalIsPlanned | |||
| PlannedReversalDate | PlannedReversalDate | |||
| TaxIsCalculatedAutomatically | TaxIsCalculatedAutomatically | |||
| TaxBaseAmountIsNetAmount | TaxBaseAmountIsNetAmount | |||
| SourceCompanyCode | SourceCompanyCode | |||
| LogicalSystem | LogicalSystem | |||
| ReferenceDocumentLogicalSystem | ReferenceDocumentLogicalSystem | |||
| TaxExchangeRate | TaxExchangeRate | |||
| ReversalReason | ReversalReason | |||
| ParkingDate | ParkingDate | |||
| ParkingTime | ParkingTime | |||
| Branch | Branch | |||
| NmbrOfPages | NmbrOfPages | |||
| IsDiscountDocument | IsDiscountDocument | |||
| Reference1InDocumentHeader | Reference1InDocumentHeader | |||
| Reference2InDocumentHeader | Reference2InDocumentHeader | |||
| InvoiceReceiptDate | InvoiceReceiptDate | |||
| Ledger | Ledger | |||
| LedgerGroup | LedgerGroup | |||
| AlternativeReferenceDocument | ||||
| TaxReportingDate | TaxReportingDate | |||
| AccountingDocumentClass | AccountingDocumentClass | |||
| ExchangeRateType | ExchangeRateType | |||
| SenderLogicalSystem | SenderLogicalSystem | |||
| SenderCompanyCode | SenderCompanyCode | |||
| SenderAccountingDocument | SenderAccountingDocument | |||
| SenderFiscalYear | SenderFiscalYear | |||
| ReversalReferenceDocumentCntxt | ReversalReferenceDocumentCntxt | |||
| ReversalReferenceDocument | ReversalReferenceDocument | |||
| LatePaymentReason | LatePaymentReason | |||
| SalesDocumentCondition | SalesDocumentCondition | |||
| IsReversal | IsReversal | |||
| IsReversed | IsReversed | |||
| SourceLedger | Ledger | |||
| ControllingArea | _CompanyCode | ControllingArea | ||
| ControllingAreaName | ||||
| _Item | _Item | |||
| _CurrencyTypesCorrespnc | _CurrencyTypesCorrespnc | |||
| _CorrespondenceHeaderNote | _CorrespondenceHeaderNote |
@AbapCatalog.sqlViewName: 'CJRNLENCOR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.buffering.status: #NOT_ALLOWED
@VDM.viewType: #CONSUMPTION
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@Search.searchable: true
@EndUserText.label: 'Correspondence SAP09 - Ledger View - Journal Entry'
define view C_JrnlEntryCorrespnc
as select from I_JournalEntry
association [1..*] to C_JrnlEntryItemCorrespnc as _Item on $projection.AccountingDocument = _Item.AccountingDocument
and $projection.CompanyCode = _Item.CompanyCode
and $projection.FiscalYear = _Item.FiscalYear
association [0..*] to I_AccountingDocumentTypeText as _AccountingDocumentTypeText on $projection.AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType
association [0..*] to I_ReferenceDocumentTypeText as _ReferenceDocumentTypeText on $projection.ReferenceDocumentType = _ReferenceDocumentTypeText.ReferenceDocumentType
// association [1..1] to I_CurrencyTypesCorrespnc as _CurrencyTypesCorrespnc on $projection.CompanyCode = _CurrencyTypesCorrespnc.CompanyCode
// and $projection.SourceLedger = _CurrencyTypesCorrespnc.Ledger
association [1..1] to I_CurrencyTypesCorrespnc as _CurrencyTypesCorrespnc on $projection.CompanyCode = _CurrencyTypesCorrespnc.CompanyCode
and $projection.SourceLedger = _CurrencyTypesCorrespnc.Ledger
association [0..*] to C_CorrespondenceHeaderNote as _CorrespondenceHeaderNote on $projection.CompanyCode = _CorrespondenceHeaderNote.CompanyCode and
$projection.FiscalYear = _CorrespondenceHeaderNote.FiscalYear and
$projection.AccountingDocument = _CorrespondenceHeaderNote.AccountingDocument
{
//I_JournalEntry
@Search.defaultSearchElement: true
key CompanyCode,
key FiscalYear,
key AccountingDocument,
AccountingDocumentType,
_AccountingDocumentTypeText[1:Language = $session.system_language].AccountingDocumentTypeName,
DocumentDate,
PostingDate,
FiscalPeriod,
AccountingDocumentCreationDate,
CreationTime,
LastManualChangeDate,
LastAutomaticChangeDate,
LastChangeDate,
ExchangeRateDate,
AccountingDocCreatedByUser,
TransactionCode,
IntercompanyTransaction,
DocumentReferenceID,
RecurringAccountingDocument,
ReverseDocument,
ReverseDocumentFiscalYear,
AccountingDocumentHeaderText,
TransactionCurrency,
ExchangeRate,
AccountingDocumentCategory,
BusinessTransactionType,
BatchInputSession,
ReferenceDocumentType,
_ReferenceDocumentTypeText[1:Language = $session.system_language].ReferenceDocumentTypeName,
OriginalReferenceDocument,
FinancialManagementArea,
CompanyCodeCurrency,
AdditionalCurrency1,
AdditionalCurrency2,
ReversalIsPlanned,
PlannedReversalDate,
TaxIsCalculatedAutomatically,
TaxBaseAmountIsNetAmount,
SourceCompanyCode,
LogicalSystem,
ReferenceDocumentLogicalSystem,
TaxExchangeRate,
ReversalReason,
ParkingDate,
ParkingTime,
Branch,
NmbrOfPages,
IsDiscountDocument,
Reference1InDocumentHeader,
Reference2InDocumentHeader,
InvoiceReceiptDate,
Ledger,
LedgerGroup,
cast(AlternativeReferenceDocument as fis_xblnr_alt_alpha) as AlternativeReferenceDocument,
TaxReportingDate,
AccountingDocumentClass,
ExchangeRateType,
SenderLogicalSystem,
SenderCompanyCode,
SenderAccountingDocument,
SenderFiscalYear,
ReversalReferenceDocumentCntxt,
ReversalReferenceDocument,
LatePaymentReason,
SalesDocumentCondition,
IsReversal,
IsReversed,
Ledger as SourceLedger,
_CompanyCode.ControllingArea,
_CompanyCode._ControllingAreaText.ControllingAreaName,
//Associations
_Item,
_CurrencyTypesCorrespnc,
@ObjectModel.filter.enabled: false
_CorrespondenceHeaderNote
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ACCOUNTINGDOCUMENTTYPETEXT",
"I_COMPANYCODE",
"I_CONTROLLINGAREA",
"I_JOURNALENTRY",
"I_REFERENCEDOCUMENTTYPETEXT"
],
"ASSOCIATED":
[
"C_CORRESPONDENCEHEADERNOTE",
"C_JRNLENTRYITEMCORRESPNC",
"I_ACCOUNTINGDOCUMENTTYPETEXT",
"I_CURRENCYTYPESCORRESPNC",
"I_REFERENCEDOCUMENTTYPETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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