I_CADunningLevelActivity

DDL: I_CADUNNINGLEVELACTIVITY SQL: ICADUNLVLACTVT Type: view BASIC Package: FKK_DUNNING

Mahnaktivität für Mahnstufe

I_CADunningLevelActivity is a Basic CDS View that provides data about "Mahnaktivität für Mahnstufe" in SAP S/4HANA. It reads from 2 data sources (tfk047m, tfk047m_c) and exposes 21 fields with key fields CADunningProcedure, CADunningLevel, CADunningBalanceLimit, TransactionCurrency, CACreditWorthiness. It has 4 associations to related views. Part of development package FKK_DUNNING.

Data Sources (2)

SourceAliasJoin Type
tfk047m tfk047m from
tfk047m_c tfk047m_c union_all

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_CADunningProcedure _DunningProcedure $projection.CADunningProcedure = _DunningProcedure.CADunningProcedure
[1..1] I_CADunningLevel _DunningLevel $projection.CADunningProcedure = _DunningLevel.CADunningProcedure and $projection.CADunningLevel = _DunningLevel.CADunningLevel
[0..1] I_CADunningActivity _DunningActivity $projection.CADunningActivity = _DunningActivity.CADunningActivity
[1..1] I_Currency _Currency $projection.TransactionCurrency = _Currency.Currency

Annotations (8)

NameValueLevelField
EndUserText.label Mahnaktivität für Mahnstufe view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ICADUNLVLACTVT view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY CADunningProcedure mahnv Dunning Proc.
KEY CADunningLevel mahns Old Dunn.Level
KEY CADunningBalanceLimit mabtr Amount limit
KEY TransactionCurrency waers Transaction Currency
KEY CACreditWorthiness bonit FI-CA Creditwth
KEY CADunningActivitySequenceNmbr
CADunningActivity ackey Activity
_DunningProcedure _DunningProcedure
_DunningLevel _DunningLevel
_DunningActivity _DunningActivity
CurrencykeymahnvasCADunningProcedure
KEY CADunningLevel mahns Old Dunn.Level
KEY CADunningBalanceLimit mabtr Amount limit
KEY TransactionCurrency waers Transaction Currency
KEY CACreditWorthiness bonit FI-CA Creditwth
KEY CADunningActivitySequenceNmbr
CADunningActivity ackey Activity
_DunningProcedure _DunningProcedure
_DunningLevel _DunningLevel
_DunningActivity _DunningActivity
_Currency _Currency

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_CADunningLevelActivity.
-- 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: ICADUNLVLACTVT

CREATE VIEW I_CADunningLevelActivity AS
SELECT
  mahnv AS CADunningProcedure,
  mahns AS CADunningLevel,
  mabtr AS CADunningBalanceLimit,
  waers AS TransactionCurrency,
  bonit AS CACreditWorthiness,
  cast(cast(concat('0000',accnt) as abap.numc(6)) as akzae_kk) AS CADunningActivitySequenceNmbr,
  ackey AS CADunningActivity
FROM tfk047m
LEFT OUTER JOIN I_CADunningProcedure AS _DunningProcedure ON CADunningProcedure = _DunningProcedure.CADunningProcedure  -- association [1..1]
LEFT OUTER JOIN I_CADunningLevel AS _DunningLevel ON CADunningProcedure = _DunningLevel.CADunningProcedure AND CADunningLevel = _DunningLevel.CADunningLevel  -- association [1..1]
LEFT OUTER JOIN I_CADunningActivity AS _DunningActivity ON CADunningActivity = _DunningActivity.CADunningActivity  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency  -- association [1..1]
-- UNION ALL with additional select branch(es): tfk047m_c
;