C_CACustFinOvwCorrespondence
Correspondence
C_CACustFinOvwCorrespondence is a Consumption CDS View that provides data about "Correspondence" in SAP S/4HANA. It reads from 1 data source (I_CACorrespondenceHistory) and exposes 34 fields with key fields CACorrespondenceType, BusinessPartner, ContractAccount, CACorrespondence. Part of development package ODATA_O2C_FICA_CFO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CACorrespondenceHistory | I_CACorrespondenceHistory | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCACFOCORR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Correspondence | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CACorrespondenceType | CACorrespondenceType | Corresp. Type | |
| KEY | BusinessPartner | BusinessPartner | Issuing Authority | |
| KEY | ContractAccount | ContractAccount | Contract Acct | |
| KEY | CACorrespondence | CACorrespondence | Correspond. Key | |
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| OriglCorrespondenceRecipient | OriglCorrespondenceRecipient | Orig. Recipient | ||
| OriglCorrespncRecipientName | _OriglCorrespondenceRecipient | BusinessPartnerFullName | Broker Name | |
| CACorrespondenceTypeName | ||||
| ContractAccountName | _ContractAccountPartner | ContractAccountName | Cont. acct name | |
| CATechCorrespondenceStatus | CATechCorrespondenceStatus | Techn. Status | ||
| CATechCorrespondenceStatusName | ||||
| CreationDate | CreationDate | Time Stamp | ||
| CorrespondenceIssueDate | CorrespondenceIssueDate | Issue Date | ||
| CorrespondenceIssueDateTime | CorrespondenceIssueDateTime | Issue Time | ||
| CorrespondenceIssuedByUser | CorrespondenceIssuedByUser | Issue User | ||
| CorrespondenceIssuedByUserName | _CorrespondenceIssuedByUser | UserDescription | Full Name | |
| CorrespondencePrintDate | CorrespondencePrintDate | Print Date | ||
| CorrespondencePrintDateTime | CorrespondencePrintDateTime | Print Timestamp | ||
| CorrespondencePrintedByUser | CorrespondencePrintedByUser | Print User | ||
| CorrespondencePrintedByUsrName | _CorrespondencePrintedByUser | UserDescription | Full Name | |
| CACorrespondenceStatus | CACorrespondenceStatus | Corr. Status | ||
| CACorrespncDispatchControl | CACorrespncDispatchControl | |||
| CACorrespncDispatchControlName | ||||
| CAContract | CAContract | Contract | ||
| CASubApplication | CASubApplication | Subapplication | ||
| CAAmountInLocalCurrency | CAAmountInLocalCurrency | Local Crcy Amt | ||
| Currency | Currency | Valuation Crcy | ||
| CASubApplicationText | ||||
| CAPrintRunDate | CAPrintRunDate | Date ID | ||
| CAPrintRunID | CAPrintRunID | Identification | ||
| _ContractAccountPartner | _ContractAccountPartner | |||
| _CAProviderContract | _CAProviderContract | |||
| _BusinessPartner | _BusinessPartner |
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_CACustFinOvwCorrespondence.
-- 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: CCACFOCORR
CREATE VIEW C_CACustFinOvwCorrespondence AS
SELECT
CACorrespondenceType,
BusinessPartner,
ContractAccount,
CACorrespondence,
CompanyCode,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
OriglCorrespondenceRecipient,
_OriglCorrespondenceRecipient.BusinessPartnerFullName AS OriglCorrespncRecipientName,
_CACorrespondenceType._Text[1: Language=$session.system_language].CACorrespondenceTypeName AS CACorrespondenceTypeName,
_ContractAccountPartner.ContractAccountName AS ContractAccountName,
CATechCorrespondenceStatus,
_CATechCorrespondenceStatus._Text[1: Language=$session.system_language].CATechCorrespondenceStatusName AS CATechCorrespondenceStatusName,
CreationDate,
CorrespondenceIssueDate,
CorrespondenceIssueDateTime,
CorrespondenceIssuedByUser,
_CorrespondenceIssuedByUser.UserDescription AS CorrespondenceIssuedByUserName,
CorrespondencePrintDate,
CorrespondencePrintDateTime,
CorrespondencePrintedByUser,
_CorrespondencePrintedByUser.UserDescription AS CorrespondencePrintedByUsrName,
CACorrespondenceStatus,
CACorrespncDispatchControl,
_CACorrespncDispatchControl._Text[1: Language=$session.system_language].CACorrespncDispatchControlName AS CACorrespncDispatchControlName,
CAContract,
CASubApplication,
CAAmountInLocalCurrency,
Currency,
_CASubApplication._CASubApplicationText[1: Language=$session.system_language].CASubApplicationText AS CASubApplicationText,
CAPrintRunDate,
CAPrintRunID
FROM I_CACorrespondenceHistory
;
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