I_CorrespondenceDunning

DDL: I_CORRESPONDENCEDUNNING SQL: ICORRESPNCDUN Type: view BASIC

Correspondence Dunning

I_CorrespondenceDunning is a Basic CDS View that provides data about "Correspondence Dunning" in SAP S/4HANA. It reads from 1 data source (dfkkcoma) and exposes 13 fields with key fields CAMassRunDate, CAMassRunID, CorrespondenceKey.

Data Sources (1)

SourceAliasJoin Type
dfkkcoma dfkkcoma from

Annotations (10)

NameValueLevelField
VDM.viewType #BASIC view
AbapCatalog.sqlViewName ICORRESPNCDUN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XXL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Correspondence Dunning view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CAMassRunDate laufd Run On
KEY CAMassRunID laufi Settlement ID
KEY CorrespondenceKey cokey Correspond. Key
CustomerEventRecordID
BusinessPartner gpart Tech. BPartner
CompanyCode bukrs Value
CAIssueDate ausdt Dunning Date
CANetDueDate faedn Net Due Date
ContractAccount vkont Tech. CtrAcct
CAContract vtref Contract
CACorrespondenceType cotyp Destin. Type
CADunningNoticeIsReversed xmsto Dunning canceled
CADunningLevel mahns Old Dunn.Level

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 I_CorrespondenceDunning.
-- 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: ICORRESPNCDUN

CREATE VIEW I_CorrespondenceDunning AS
SELECT
  laufd AS CAMassRunDate,
  laufi AS CAMassRunID,
  cokey AS CorrespondenceKey,
  cast(concat(concat(mandt,laufd),concat(laufi,cokey)) as abap.char( 70 )) AS CustomerEventRecordID,
  gpart AS BusinessPartner,
  bukrs AS CompanyCode,
  ausdt AS CAIssueDate,
  faedn AS CANetDueDate,
  vkont AS ContractAccount,
  vtref AS CAContract,
  cotyp AS CACorrespondenceType,
  xmsto AS CADunningNoticeIsReversed,
  mahns AS CADunningLevel
FROM dfkkcoma
;