C_CACustFinOvwCorrespondence

DDL: C_CACUSTFINOVWCORRESPONDENCE SQL: CCACFOCORR Type: view CONSUMPTION Package: ODATA_O2C_FICA_CFO

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)

SourceAliasJoin Type
I_CACorrespondenceHistory I_CACorrespondenceHistory from

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;