I_CADunningException

DDL: I_CADUNNINGEXCEPTION SQL: ICADUNEXCPTN Type: view BASIC

Mahnausnahme

I_CADunningException is a Basic CDS View that provides data about "Mahnausnahme" in SAP S/4HANA. It reads from 1 data source (fkkmaex) and exposes 45 fields with key fields CAMassRunDate, CAMassRunID, BusinessPartner, ContractAccount, CADocumentNumber. It has 18 associations to related views.

Data Sources (1)

SourceAliasJoin Type
fkkmaex fkkmaex from

Associations (18)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompCode $projection.CompanyCode = _CompCode.CompanyCode
[0..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[0..1] I_Segment _Segment $projection.Segment = _Segment.Segment
[0..1] I_Division _Division $projection.Division = _Division.Division
[0..*] I_ProfitCenter _ProfitCenter $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.controllingarea = _ProfitCenter.ControllingArea
[1..1] I_Currency _Currency $projection.TransactionCurrency = _Currency.Currency
[1..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] I_ContractAccountHeader _CAHeader $projection.ContractAccount = _CAHeader.ContractAccount
[1..1] I_ContractAccountPartner _CAPartner $projection.BusinessPartner = _CAPartner.BusinessPartner and $projection.ContractAccount = _CAPartner.ContractAccount
[0..1] I_CAProviderContractHeader _ProviderContract $projection.CASubApplication = 'P' and $projection.CAContract = _ProviderContract.CAProviderContract
[1..1] I_CADocumentBPItemLogical _DocBPItem $projection.CADocumentNumber = _DocBPItem.CADocumentNumber and $projection.CARepetitionItemNumber = _DocBPItem.CARepetitionItemNumber and $projection.CABPItemNumber = _DocBPItem.CABPItemNumber and $projection.CASubItemNumber = _DocBPItem.CASubItemNumber
[0..1] I_ControllingArea _ControllingArea $projection.controllingarea = _ControllingArea.ControllingArea
[1..1] I_CAMainTransaction _MainTransaction $projection.CAApplicationArea = _MainTransaction.CAApplicationArea and $projection.CAMainTransaction = _MainTransaction.CAMainTransaction
[1..1] I_CASubTransaction _SubTransaction $projection.CAApplicationArea = _SubTransaction.CAApplicationArea and $projection.CAMainTransaction = _SubTransaction.CAMainTransaction and $projection.CASubTransaction = _SubTransaction.CASubTransaction
[0..1] I_CADocumentType _DocType $projection.CADocumentType = _DocType.CADocumentType and $projection.CAApplicationArea = _DocType.CAApplicationArea
[1..1] I_CADunningLockReason _DunningLockRsn $projection.CADunningLockReason = _DunningLockRsn.CADunningLockReason
[0..1] I_CADunningExceptionReason _DunExceptionReason $projection.CADunningExceptionReason = _DunExceptionReason.CADunningExceptionReason
[1..1] I_CAApplicationArea _ApplArea $projection.CAApplicationArea = _ApplArea.CAApplicationArea

Annotations (8)

NameValueLevelField
EndUserText.label Mahnausnahme view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ICADUNEXCPTN view

Fields (45)

KeyFieldSource TableSource FieldDescription
KEY CAMassRunDate laufd Run On
KEY CAMassRunID Settlement ID
KEY BusinessPartner Tech. BPartner
KEY ContractAccount Tech. CtrAcct
KEY CADocumentNumber opbel Reopen
KEY CARepetitionItemNumber opupw Repetition Item
KEY CABPItemNumber opupk Item
KEY CASubItemNumber opupz Subitem
CompanyCode bukrs Value
CAContract vtref Contract
CASubApplication subap Subapplication
BusinessArea Business Area
Segment Segment number
ProfitCenter Profit Centers
Division Source supplier
TransactionCurrency Transaction Currency
CAAmountInTransactionCurrency betrw Reduction Amt
CANetDueDate faedn Net Due Date
CAIssueDate ausdt Dunning Date
CAApplicationArea applk ApplicationArea
CAMainTransaction hvorg Main Transactn
CASubTransaction tvorg Subtransaction
CAAccountDeterminationCode kofiz Act Determ. ID
CADocumentType blart Rep. rec. doc. type
CADunningLockReason mansp DunnLockReason
CADunningExceptionReason poken Payt Exception
ControllingArea _CompCode ControllingArea Controlling Area
_CompCode _CompCode
_BusinessArea _BusinessArea
_Segment _Segment
_Division _Division
_ProfitCenter _ProfitCenter
_Currency _Currency
_BusinessPartner _BusinessPartner
_CAHeader _CAHeader
_CAPartner _CAPartner
_ProviderContract _ProviderContract
_DocBPItem _DocBPItem
_ControllingArea _ControllingArea
_MainTransaction _MainTransaction
_SubTransaction _SubTransaction
_DocType _DocType
_DunningLockRsn _DunningLockRsn
_DunExceptionReason _DunExceptionReason
_ApplArea _ApplArea

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_CADunningException.
-- 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: ICADUNEXCPTN

CREATE VIEW I_CADunningException AS
SELECT
  laufd AS CAMassRunDate,
  cast(laufi as laufi_kk preserving type ) AS CAMassRunID,
  cast(gpart as bu_partner preserving type ) AS BusinessPartner,
  cast(vkont as vkont_gfn_kk preserving type ) AS ContractAccount,
  opbel AS CADocumentNumber,
  opupw AS CARepetitionItemNumber,
  opupk AS CABPItemNumber,
  opupz AS CASubItemNumber,
  bukrs AS CompanyCode,
  vtref AS CAContract,
  subap AS CASubApplication,
  cast(cast(gsber as abap.char(4)) as fis_rbusa) AS BusinessArea,
  cast(cast(segment as abap.char(10)) as fb_segment) AS Segment,
  cast(cast(prctr as abap.char(10)) as fis_prctr) AS ProfitCenter,
  cast(cast(spart as abap.char(2)) as spart) AS Division,
  cast(waers as fis_rwcur) AS TransactionCurrency,
  betrw AS CAAmountInTransactionCurrency,
  faedn AS CANetDueDate,
  ausdt AS CAIssueDate,
  applk AS CAApplicationArea,
  hvorg AS CAMainTransaction,
  tvorg AS CASubTransaction,
  kofiz AS CAAccountDeterminationCode,
  blart AS CADocumentType,
  mansp AS CADunningLockReason,
  poken AS CADunningExceptionReason,
  _CompCode.ControllingArea AS ControllingArea
FROM fkkmaex
LEFT OUTER JOIN I_CompanyCode AS _CompCode ON CompanyCode = _CompCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea  -- association [0..1]
LEFT OUTER JOIN I_Segment AS _Segment ON Segment = _Segment.Segment  -- association [0..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter AND controllingarea = _ProfitCenter.ControllingArea  -- association [0..*]
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency  -- association [1..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _CAHeader ON ContractAccount = _CAHeader.ContractAccount  -- association [1..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _CAPartner ON BusinessPartner = _CAPartner.BusinessPartner AND ContractAccount = _CAPartner.ContractAccount  -- association [1..1]
LEFT OUTER JOIN I_CAProviderContractHeader AS _ProviderContract ON CASubApplication = 'P' AND CAContract = _ProviderContract.CAProviderContract  -- association [0..1]
LEFT OUTER JOIN I_CADocumentBPItemLogical AS _DocBPItem ON CADocumentNumber = _DocBPItem.CADocumentNumber AND CARepetitionItemNumber = _DocBPItem.CARepetitionItemNumber AND CABPItemNumber = _DocBPItem.CABPItemNumber AND CASubItemNumber = _DocBPItem.CASubItemNumber  -- association [1..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON controllingarea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_CAMainTransaction AS _MainTransaction ON CAApplicationArea = _MainTransaction.CAApplicationArea AND CAMainTransaction = _MainTransaction.CAMainTransaction  -- association [1..1]
LEFT OUTER JOIN I_CASubTransaction AS _SubTransaction ON CAApplicationArea = _SubTransaction.CAApplicationArea AND CAMainTransaction = _SubTransaction.CAMainTransaction AND CASubTransaction = _SubTransaction.CASubTransaction  -- association [1..1]
LEFT OUTER JOIN I_CADocumentType AS _DocType ON CADocumentType = _DocType.CADocumentType AND CAApplicationArea = _DocType.CAApplicationArea  -- association [0..1]
LEFT OUTER JOIN I_CADunningLockReason AS _DunningLockRsn ON CADunningLockReason = _DunningLockRsn.CADunningLockReason  -- association [1..1]
LEFT OUTER JOIN I_CADunningExceptionReason AS _DunExceptionReason ON CADunningExceptionReason = _DunExceptionReason.CADunningExceptionReason  -- association [0..1]
LEFT OUTER JOIN I_CAApplicationArea AS _ApplArea ON CAApplicationArea = _ApplArea.CAApplicationArea  -- association [1..1]
;