I_DunningEntryItem
Dunning Entry Item
I_DunningEntryItem (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Dunning Notice · Financial Operations
I_DunningEntryItem is a Basic CDS View that provides data about "Dunning Entry Item" in SAP S/4HANA. It reads from 1 data source (mhnd) and exposes 59 fields with key fields DunningRunDate, DunningRun, FinancialAccountType, CompanyCode, Customer. It has 10 associations to related views. Part of development package FINS_DUNNING_CDS.
SAP Help Documentation
| Category | CDS Views for Dunning |
|---|
This CDS view provides details about dunning data on item level. This CDS view provides the data to answer the following business questions: Which journal entry was dunned? What was the last dunning date? 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 Users who want to use this CDS view must have a role with the following restriction types set to read access: BEGRU_KNA1 ( Authorization Group for Customers ) BEGRU_LFA1 ( Authorization Group for Suppliers ) KOART ( Account Type ) BUKRS ( Company Code ) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.
Structure
Important Fields Important fields in this view include the following: Field Name Description DunningRunDate Dunning Run Date DunningRun Dunning Run ID FinancialAccountType Account Type CompanyCode Company Code Customer Customer Supplier Supplier OneTimeAcctBankAccount Bank Account CustomerHeadOffice Head Office GroupingDunningArea Dunning Area GroupingDunningLevel Dunning Level ReferenceDocumentCompanyCode Company Code JournalEntry Journal Entry FiscalYear Fiscal Year JournalEntryItem Posting View Item
Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Financial Operations |
| Application Component | FI-AR-AR-C-2CL |
| Capabilities | Data Source for Data Extraction,Data Source in SQL Select |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Not Released |
| Package | Financial Operations for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view provides details about dunning data on item level.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which journal entry was dunned?</p></li> <li><p>What was the last dunning date?</p></li> </ul> <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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mhnd | mhnd | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_CompanyCode | _DocumentCompanyCode | $projection.ReferenceDocumentCompanyCode = _DocumentCompanyCode.CompanyCode |
| [1..1] | I_FinancialAccountType | _FinancialAccountType | $projection.FinancialAccountType = _FinancialAccountType.FinancialAccountType |
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [1..1] | I_DunningArea | _DunningArea | $projection.CompanyCode = _DunningArea.CompanyCode and $projection.GroupingDunningArea = _DunningArea.DunningArea |
| [1..1] | I_Currency | _Currency | $projection.TransactionCurrency = _Currency.Currency |
| [1..1] | I_JournalEntry | _JournalEntry | $projection.ReferenceDocumentCompanyCode = _JournalEntry.CompanyCode and $projection.FiscalYear = _JournalEntry.FiscalYear and $projection.JournalEntry = _JournalEntry.AccountingDocument |
| [0..1] | I_DunningBlockingReasonCode | _DunningBlockingReason | $projection.DunningBlockingReason = _DunningBlockingReason.DunningBlockingReason |
| [0..1] | I_FiscalYearForCompanyCode | _FiscalYear | $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.sapObjectNodeType.name | DunningNotice | view | |
| AbapCatalog.sqlViewName | IDUNNINGENTRITM | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Dunning Entry Item | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataExtraction.enabled | true | view |
Fields (59)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DunningRunDate | Dunning Run Date | ||
| KEY | DunningRun | Dunning Run Identification | ||
| KEY | FinancialAccountType | Account Type | ||
| KEY | CompanyCode | Company Code | ||
| KEY | Customer | mhnd | kunnr | Customer Number |
| KEY | Supplier | Supplier | ||
| KEY | OneTimeAcctBankAccount | Bank Account Number | ||
| KEY | CustomerHeadOffice | mhnd | sknrze | Head Office Account Number (in branch accounts) |
| KEY | GroupingDunningArea | mhnd | smaber | Dunning Area |
| KEY | GroupingDunningLevel | mhnd | smahsk | Dunning Level |
| KEY | ReferenceDocumentCompanyCode | Company Code | ||
| KEY | JournalEntry | Journal Entry | ||
| KEY | FiscalYear | Fiscal Year | ||
| KEY | JournalEntryItem | Journal Entry Posting View Item | ||
| BusinessArea | Business Area | |||
| DocumentReferenceID | mhnd | xblnr | Reference Document Number | |
| PostingDate | Posting Date | |||
| DocumentDate | Journal Entry Date | |||
| AccountingDocumentCreationDate | Accounting Document Entry Date | |||
| DueCalculationBaseDate | Baseline Date for Due Date Calculation | |||
| NetDueDate | Due Date for Net Payment | |||
| AccountingDocumentType | Journal Entry Type | |||
| PostingKey | Posting Key | |||
| DunningKey | Dunning Key | |||
| DunningBlockingReason | Dunning Block | |||
| DunningArea | Dunning Area | |||
| LastDunningDate | Date of Last Dunning Notice | |||
| OldDunningLevel | mhnd | mahns | Old Dunning Level | |
| DunningLevel | Dunning Level | |||
| PaymentBlockingReason | Payment Block on Item | |||
| DunningItemIsPayable | Items Not to be Dunned | |||
| NetDueArrearsDays | Days in Arrears by Net Due Date | |||
| SpecialGLTransactionType | Special G/L Transaction Type | |||
| SpecialGLCode | Special G/L Indicator | |||
| DebitCreditCode | Debit/Credit Code | |||
| TransactionCurrency | Transaction Currency | |||
| AmountInCompanyCodeCurrency | Amount in Company Code Currency | |||
| AmountInTransactionCurrency | Amount in Transaction Currency | |||
| BranchAccount | Account Number of the Branch | |||
| SalesOrganization | mhnd | vkorg | Sales Organization | |
| DistributionChannel | mhnd | vtweg | Distribution Channel | |
| Division | mhnd | spart | Source supplier | |
| InvoiceReference | Invoice Reference | |||
| InvoiceReferenceFiscalYear | Invoice Reference Fiscal Year | |||
| InvoiceItemReference | Invoice Item Reference | |||
| TreasuryContract | mhnd | vertn | Contract Number | |
| TreasuryContractType | mhnd | vertt | Contract Type | |
| SupplierPaymentMethod | Payment Method | |||
| CompanyCodeCurrency | _CompanyCode | Currency | Valuation Crcy | |
| _CompanyCode | _CompanyCode | |||
| _Customer | _Customer | |||
| _Supplier | _Supplier | |||
| _FinancialAccountType | _FinancialAccountType | |||
| _DunningArea | _DunningArea | |||
| _Currency | _Currency | |||
| _JournalEntry | _JournalEntry | |||
| _DocumentCompanyCode | _DocumentCompanyCode | |||
| _DunningBlockingReason | _DunningBlockingReason | |||
| _FiscalYear | _FiscalYear |
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_DunningEntryItem.
-- 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: IDUNNINGENTRITM
CREATE VIEW I_DunningEntryItem AS
SELECT
cast(mhnd.laufd as farp_laufd_mhn preserving type) AS DunningRunDate,
cast(mhnd.laufi as farp_laufi_mhn preserving type) AS DunningRun,
cast(mhnd.koart as farp_koart preserving type) AS FinancialAccountType,
cast(mhnd.bukrs as fis_bukrs preserving type) AS CompanyCode,
mhnd.kunnr AS Customer,
cast(mhnd.lifnr as md_supplier preserving type) AS Supplier,
cast(mhnd.cpdky as bankn) AS OneTimeAcctBankAccount,
mhnd.sknrze AS CustomerHeadOffice,
mhnd.smaber AS GroupingDunningArea,
mhnd.smahsk AS GroupingDunningLevel,
cast(mhnd.bbukrs as fis_bukrs preserving type) AS ReferenceDocumentCompanyCode,
cast(mhnd.belnr as fis_belnr preserving type) AS JournalEntry,
cast(mhnd.gjahr as fis_gjahr preserving type) AS FiscalYear,
cast(mhnd.buzei as fis_buzei preserving type) AS JournalEntryItem,
cast(mhnd.gsber as fis_rbusa preserving type ) AS BusinessArea,
mhnd.xblnr AS DocumentReferenceID,
cast(mhnd.budat as fis_budat preserving type) AS PostingDate,
cast(mhnd.bldat as fis_bldat preserving type) AS DocumentDate,
cast(mhnd.cpudt as farp_cpudt preserving type) AS AccountingDocumentCreationDate,
cast(mhnd.zfbdt as dzfbdt preserving type) AS DueCalculationBaseDate,
cast(mhnd.faedt as farp_netdt preserving type) AS NetDueDate,
cast(mhnd.blart as farp_blart preserving type) AS AccountingDocumentType,
cast(mhnd.bschl as fis_bschl preserving type) AS PostingKey,
cast(mhnd.mschl as farp_mschl preserving type) AS DunningKey,
cast(mhnd.mansp as farp_mansp preserving type) AS DunningBlockingReason,
cast(mhnd.maber as farp_maber preserving type) AS DunningArea,
cast(mhnd.madat as farp_madat preserving type) AS LastDunningDate,
mhnd.mahns AS OldDunningLevel,
cast(mhnd.mahnn as farp_mahns_d preserving type) AS DunningLevel,
cast(mhnd.zlspr as farp_dzlspr preserving type) AS PaymentBlockingReason,
cast(mhnd.xzalb as farp_xzalb_mhnd preserving type) AS DunningItemIsPayable,
cast(mhnd.verzn as farp_verzn preserving type) AS NetDueArrearsDays,
cast(mhnd.umsks as farp_umsks preserving type) AS SpecialGLTransactionType,
cast(mhnd.umskz as fac_umskz preserving type) AS SpecialGLCode,
cast(mhnd.shkzg as fis_shkzg preserving type) AS DebitCreditCode,
cast(mhnd.waers as fis_rwcur preserving type) AS TransactionCurrency,
cast(mhnd.dmshb as fis_hsl preserving type) AS AmountInCompanyCodeCurrency,
cast(mhnd.wrshb as fis_wsl preserving type) AS AmountInTransactionCurrency,
cast(mhnd.filkd as farp_filkd preserving type) AS BranchAccount,
mhnd.vkorg AS SalesOrganization,
mhnd.vtweg AS DistributionChannel,
mhnd.spart AS Division,
cast(mhnd.rebzg as fis_rebzg preserving type) AS InvoiceReference,
cast(mhnd.rebzj as fis_rebzj preserving type) AS InvoiceReferenceFiscalYear,
cast(mhnd.rebzz as fis_rebzz preserving type) AS InvoiceItemReference,
mhnd.vertn AS TreasuryContract,
mhnd.vertt AS TreasuryContractType,
cast(mhnd.zlsch as farp_schzw_bseg preserving type) AS SupplierPaymentMethod,
_CompanyCode.Currency AS CompanyCodeCurrency
FROM mhnd
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _DocumentCompanyCode ON ReferenceDocumentCompanyCode = _DocumentCompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_FinancialAccountType AS _FinancialAccountType ON FinancialAccountType = _FinancialAccountType.FinancialAccountType -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_DunningArea AS _DunningArea ON CompanyCode = _DunningArea.CompanyCode AND GroupingDunningArea = _DunningArea.DunningArea -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency -- association [1..1]
LEFT OUTER JOIN I_JournalEntry AS _JournalEntry ON ReferenceDocumentCompanyCode = _JournalEntry.CompanyCode AND FiscalYear = _JournalEntry.FiscalYear AND JournalEntry = _JournalEntry.AccountingDocument -- association [1..1]
LEFT OUTER JOIN I_DunningBlockingReasonCode AS _DunningBlockingReason ON DunningBlockingReason = _DunningBlockingReason.DunningBlockingReason -- association [0..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA