C_EmailDunningEntryData
Email Data For Dunning Entry
C_EmailDunningEntryData is a Consumption CDS View that provides data about "Email Data For Dunning Entry" in SAP S/4HANA. It reads from 3 data sources (I_AccountingClerk, I_UserContactCard, I_DunningEntry) and exposes 23 fields with key fields DunningRunDate, DunningRun, FinancialAccountType, CompanyCode, Customer. Part of development package ODATA_MANAGE_DUNNING_PROPOSALS.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_AccountingClerk | _AccountingClerk | left_outer |
| I_UserContactCard | _UserData | inner |
| I_DunningEntry | Dunning | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Email Data For Dunning Entry | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DunningRunDate | I_DunningEntry | DunningRunDate | |
| KEY | DunningRun | I_DunningEntry | DunningRun | |
| KEY | FinancialAccountType | I_DunningEntry | FinancialAccountType | Fin. Account Type |
| KEY | CompanyCode | I_DunningEntry | CompanyCode | Receiver Company Code |
| KEY | Customer | I_DunningEntry | Customer | Sold-to Party |
| KEY | Supplier | I_DunningEntry | Supplier | Supplier |
| KEY | OneTimeAcctBankAccount | I_DunningEntry | OneTimeAcctBankAccount | |
| KEY | CustomerHeadOffice | I_DunningEntry | CustomerHeadOffice | Head Office |
| KEY | GroupingDunningArea | I_DunningEntry | GroupingDunningArea | Dunning Area |
| KEY | GroupingDunningLevel | I_DunningEntry | GroupingDunningLevel | |
| KEY | DunningClerk | I_DunningEntry | DunningClerk | Dunning Clerk |
| UserID | ||||
| CompanyCodeName | ||||
| FirstName | I_UserContactCard | FirstName | First Name | |
| LastName | I_UserContactCard | LastName | Last Name | |
| FullName | I_UserContactCard | FullName | Name | |
| CustomerName | ||||
| DunningProcedure | ||||
| DunningLevel | I_DunningEntry | DunningLevel | Dunning Level | |
| DueLineItemsTotalInDunCrcy | ||||
| DunningCurrency | I_DunningEntry | DunningCurrency | ||
| PrintIsReal | I_DunningEntry | DunningNoticeIsToBeSent | To Be Sent | |
| _Customer | I_DunningEntry | _Customer |
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 C_EmailDunningEntryData.
-- 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 C_EmailDunningEntryData AS
SELECT
Dunning.DunningRunDate AS DunningRunDate,
Dunning.DunningRun AS DunningRun,
Dunning.FinancialAccountType AS FinancialAccountType,
Dunning.CompanyCode AS CompanyCode,
Dunning.Customer AS Customer,
Dunning.Supplier AS Supplier,
Dunning.OneTimeAcctBankAccount AS OneTimeAcctBankAccount,
Dunning.CustomerHeadOffice AS CustomerHeadOffice,
Dunning.GroupingDunningArea AS GroupingDunningArea,
Dunning.GroupingDunningLevel AS GroupingDunningLevel,
Dunning.DunningClerk AS DunningClerk,
cast (_AccountingClerk.UserID as farp_mydunnproposal_userid preserving type) AS UserID,
Dunning._CompanyCode.CompanyCodeName AS CompanyCodeName,
_UserData.FirstName AS FirstName,
_UserData.LastName AS LastName,
_UserData.FullName AS FullName,
Dunning._Customer.CustomerName AS CustomerName,
cast (Dunning.DunningProcedure as farp_mydunningproposal_mahna preserving type) AS DunningProcedure,
Dunning.DunningLevel AS DunningLevel,
cast (Dunning.DueLineItemsTotalInDunCrcy as farp_mydunnproposal_faebt preserving type) AS DueLineItemsTotalInDunCrcy,
Dunning.DunningCurrency AS DunningCurrency,
Dunning.DunningNoticeIsToBeSent AS PrintIsReal,
Dunning._Customer AS _Customer
FROM I_DunningEntry AS Dunning
LEFT OUTER JOIN I_AccountingClerk AS _AccountingClerk ON /* join condition not captured in parsed metadata */
INNER JOIN I_UserContactCard AS _UserData ON /* join condition not captured in parsed metadata */
;
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