I_CAInboundCorrespondence

DDL: I_CAINBOUNDCORRESPONDENCE SQL: ICAINBCORRESPNC Type: view BASIC Package: FKKC

Eingangskorrespondenzen

I_CAInboundCorrespondence is a Basic CDS View that provides data about "Eingangskorrespondenzen" in SAP S/4HANA. It reads from 1 data source (dfkkcohincorr) and exposes 13 fields with key field CACorrespondence. It has 3 associations to related views. Part of development package FKKC.

Data Sources (1)

SourceAliasJoin Type
dfkkcohincorr dfkkcohincorr from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CAInboundCorrespncCategory _Category $projection.CAInboundCorrespncCategory = _Category.CAInboundCorrespncCategory
[0..1] I_CAInbCorrespncClearingRsn _ClearingRsn $projection.CAInbCorrespncClearingRsn = _ClearingRsn.CAInbCorrespncClearingRsn
[0..1] I_CAPeriodCode _Period $projection.CAPeriodCode = _Period.CAPeriodCode

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICAINBCORRESPNC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Eingangskorrespondenzen view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CACorrespondence cokey Correspond. Key
CAEndDateOfBillingPeriod Calc. period
CAPeriodCode Period Key
CADeferralDate Deferral to
CAInboundCorrespncCategory incotyp InboundCorrCat
AlternativePeriodIsExisting spccal Alt. Per.
CAInbCorrespncClearingRsn augrd Clrg Reasn
CAInbCorrespncLeadingObject leadobj Leading Object
CAInbCorrespncCnsldtnStatus constatus ConsolidatnStat
ReminderIsSent xreminder Reminder
_Category _Category
_ClearingRsn _ClearingRsn
_Period _Period

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_CAInboundCorrespondence.
-- 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: ICAINBCORRESPNC

CREATE VIEW I_CAInboundCorrespondence AS
SELECT
  cokey AS CACorrespondence,
  cast(abrzo as abrzo_kk) AS CAEndDateOfBillingPeriod,
  cast(cast(persl as abap.char(4)) as persl_kk) AS CAPeriodCode,
  cast(defer as studt_kk) AS CADeferralDate,
  incotyp AS CAInboundCorrespncCategory,
  spccal AS AlternativePeriodIsExisting,
  augrd AS CAInbCorrespncClearingRsn,
  leadobj AS CAInbCorrespncLeadingObject,
  constatus AS CAInbCorrespncCnsldtnStatus,
  xreminder AS ReminderIsSent
FROM dfkkcohincorr
LEFT OUTER JOIN I_CAInboundCorrespncCategory AS _Category ON CAInboundCorrespncCategory = _Category.CAInboundCorrespncCategory  -- association [0..1]
LEFT OUTER JOIN I_CAInbCorrespncClearingRsn AS _ClearingRsn ON CAInbCorrespncClearingRsn = _ClearingRsn.CAInbCorrespncClearingRsn  -- association [0..1]
LEFT OUTER JOIN I_CAPeriodCode AS _Period ON CAPeriodCode = _Period.CAPeriodCode  -- association [0..1]
;