I_CADunningLevel

DDL: I_CADUNNINGLEVEL Type: view_entity BASIC Package: FKK_DUNNING

Dunning Level

I_CADunningLevel (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Contract Accounting Dunning Level · Contract Accounting

I_CADunningLevel is a Basic CDS View that provides data about "Dunning Level" in SAP S/4HANA. It reads from 1 data source (tfk047b) and exposes 30 fields with key fields CADunningProcedure, CADunningLevel. It has 5 associations to related views. Part of development package FKK_DUNNING.

SAP Help Documentation

CategoryCDS Views for Configuration Data
Purpose
This CDS view retrieves dunning levels of a Contract Accounting dunning procedure which determines the dunning interval, the charge schedule used for determining the dunning charges, how interest is calculated and posted, and which dunning activities are executed. Example Letter , Letter with Interest Posting This CDS view provides the data to answer the business question: Which dunning level values are available in the system? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations The SAP_A4C_BC_DEV_TST_FICA_PC ( Development - API Test - Contract Accounting ) business catalog needs to be assigned to a user to be able to use this CDS view.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA-2CL
CapabilitiesAssociation Target for Defining CDS Entities,Data Source in SQL Select,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageContract Accounting for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view retrieves dunning levels of a Contract Accounting dunning procedure which determines the dunning interval, the charge schedule used for determining the dunning charges, how interest is calculated and posted, and which dunning activities are executed.</p> Example <p>Letter, Letter with Interest Posting</p> <p>This CDS view provides the data to answer the business question: Which dunning level values are available in the system?</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
tfk047b tfk047b from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_CADunningLevelText _Text $projection.CADunningProcedure = _Text.CADunningProcedure and $projection.CADunningLevel = _Text.CADunningLevel
[1..1] I_CADunningProcedure _DunningProcedure $projection.CADunningProcedure = _DunningProcedure.CADunningProcedure
[1..1] I_CADunningLevelCategory _DunningLevelCat $projection.CADunningLevelCategory = _DunningLevelCat.CADunningLevelCategory
[0..1] I_CAInterestCode _InterestCode $projection.CAInterestCode = _InterestCode.CAInterestCode
[0..1] I_CAChargesSchema _ChargesSchema $projection.CADunningChargesSchema = _ChargesSchema.CAChargesSchema

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Dunning Level view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey CADunningLevel view
ObjectModel.sapObjectNodeType.name ContrAcctgDunningLevel view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY CADunningProcedure mahnv Dunning Procedure
KEY CADunningLevel mahns Old Dunn.Level
CANumberOfDaysInArrears vertg Number Of Days in Arrears
CADunningFrequencyInDays rhyth Dunning frequency in days
CADaysToPaymentDeadline frist Payment Deadline in Days
CAAllItemsArePrinted xpost Print All Items
CADunningNoticeIsAlwaysCreated xaend Always Dun Dunning Level
CACreditWorthinessRatingValue bonig Creditworthiness Number
CADunningLevelIsOptional xmfak Dunning Level is Optional
CADunningLevelIsOnlyForIntRsn xmsus Entry in Dunning History only Technically Conditional
CAInterestCode ikey Interest key
CAPostingCodeForDunInterest ipost Posting Key for Dunning Interest
CAInterestIsCalculated icalc Determine Interest
CADunningChargesSchema chgid Charges Schedule
CADunningLevelCategory mstyp Dunning Level Category
CADunningLevelSettingCode xextm Set Dunning Level
CANumberOfDaysInArrearsExt avert Number of days in arrears for external program
CADunningFrequencyInDaysExt arhyt Dunning frequency in days for external program
CAOnlyItmsOfLastDunLvlAreAllwd xnbgm Only Items from Previous Dunning Level
CADunningRecipientDetnCode mempf Control for Dunning Recipient
CAIntrstIsCalculatedBfrCharges intfirst Calculation of Interest before Charges in Dunning Program
CADaysBeforeDueDateForReminder eritg Number of Days for Reminder before Due Date
CAMinimalPctOfAmountStillOpen minpz Dunning Proposal: Limit Percentage Rate
CAIntrstAndChargeIsAddedToHist newdc Dun New Documents Immediately
CADunningSuccessCanBeEvaluated xdsuc Subsequent Success Valuation of Dunning
_Text _Text
_DunningProcedure _DunningProcedure
_DunningLevelCat _DunningLevelCat
_InterestCode _InterestCode
_ChargesSchema _ChargesSchema

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_CADunningLevel.
-- 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.

CREATE VIEW I_CADunningLevel AS
SELECT
  mahnv AS CADunningProcedure,
  mahns AS CADunningLevel,
  vertg AS CANumberOfDaysInArrears,
  rhyth AS CADunningFrequencyInDays,
  frist AS CADaysToPaymentDeadline,
  xpost AS CAAllItemsArePrinted,
  xaend AS CADunningNoticeIsAlwaysCreated,
  bonig AS CACreditWorthinessRatingValue,
  xmfak AS CADunningLevelIsOptional,
  xmsus AS CADunningLevelIsOnlyForIntRsn,
  ikey AS CAInterestCode,
  ipost AS CAPostingCodeForDunInterest,
  icalc AS CAInterestIsCalculated,
  chgid AS CADunningChargesSchema,
  mstyp AS CADunningLevelCategory,
  xextm AS CADunningLevelSettingCode,
  avert AS CANumberOfDaysInArrearsExt,
  arhyt AS CADunningFrequencyInDaysExt,
  xnbgm AS CAOnlyItmsOfLastDunLvlAreAllwd,
  mempf AS CADunningRecipientDetnCode,
  intfirst AS CAIntrstIsCalculatedBfrCharges,
  eritg AS CADaysBeforeDueDateForReminder,
  minpz AS CAMinimalPctOfAmountStillOpen,
  newdc AS CAIntrstAndChargeIsAddedToHist,
  xdsuc AS CADunningSuccessCanBeEvaluated
FROM tfk047b
LEFT OUTER JOIN I_CADunningLevelText AS _Text ON CADunningProcedure = _Text.CADunningProcedure AND CADunningLevel = _Text.CADunningLevel  -- association [0..*]
LEFT OUTER JOIN I_CADunningProcedure AS _DunningProcedure ON CADunningProcedure = _DunningProcedure.CADunningProcedure  -- association [1..1]
LEFT OUTER JOIN I_CADunningLevelCategory AS _DunningLevelCat ON CADunningLevelCategory = _DunningLevelCat.CADunningLevelCategory  -- association [1..1]
LEFT OUTER JOIN I_CAInterestCode AS _InterestCode ON CAInterestCode = _InterestCode.CAInterestCode  -- association [0..1]
LEFT OUTER JOIN I_CAChargesSchema AS _ChargesSchema ON CADunningChargesSchema = _ChargesSchema.CAChargesSchema  -- association [0..1]
;