I_CADunningNoticeActivity
Mahnhistorie Mahnaktivität
I_CADunningNoticeActivity is a Basic CDS View that provides data about "Mahnhistorie Mahnaktivität" in SAP S/4HANA. It reads from 2 data sources (fkkmactivities, fkkmakt) and exposes 13 fields with key fields CAMassRunDate, CAMassRunID, BusinessPartner, ContractAccount, CADunningCounter. It has 5 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| fkkmactivities | Activity | from |
| fkkmakt | OptionalActivity | left_outer |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CADunningHeader | _DunHeader | ($projection.CAMassRunDate = _DunHeader.CAMassRunDate and $projection.CAMassRunID = _DunHeader.CAMassRunID and $projection.BusinessPartner = _DunHeader.BusinessPartner and $projection.ContractAccount = _DunHeader.ContractAccount and $projection.CADunningCounter = _DunHeader.CADunningCounter) |
| [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 |
| [1..1] | I_CADunningActivity | _DunningActivity | $projection.CADunningActivity = _DunningActivity.CADunningActivity |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Mahnhistorie Mahnaktivität | 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 | ICADUNNTCACTVT | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CAMassRunDate | fkkmactivities | laufd | Run On |
| KEY | CAMassRunID | |||
| KEY | BusinessPartner | |||
| KEY | ContractAccount | |||
| KEY | CADunningCounter | fkkmactivities | mazae | Dunning counter |
| KEY | CADunningActivitySequenceNmbr | fkkmactivities | akzae | Activ. Counter |
| CADunningActivity | fkkmactivities | ackey | Activity | |
| atextendasCADunningActivityName | ||||
| _DunHeader | _DunHeader | |||
| _BusinessPartner | _BusinessPartner | |||
| _CAHeader | _CAHeader | |||
| _CAPartner | _CAPartner | |||
| _DunningActivity | _DunningActivity |
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_CADunningNoticeActivity.
-- 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: ICADUNNTCACTVT
CREATE VIEW I_CADunningNoticeActivity AS
SELECT
Activity.laufd AS CAMassRunDate,
cast(Activity.laufi as laufi_kk preserving type ) AS CAMassRunID,
cast(Activity.gpart as bu_partner preserving type ) AS BusinessPartner,
cast(Activity.vkont as vkont_gfn_kk preserving type ) AS ContractAccount,
Activity.mazae AS CADunningCounter,
Activity.akzae AS CADunningActivitySequenceNmbr,
Activity.ackey AS CADunningActivity,
case when atext is null then _DunningActivity._Text[1:Language = $session.system_language ].CADunningActivityName else OptionalActivity.atext end as CADunningActivityName AS atextendasCADunningActivityName
FROM fkkmactivities AS Activity
LEFT OUTER JOIN fkkmakt AS OptionalActivity ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CADunningHeader AS _DunHeader ON (CAMassRunDate = _DunHeader.CAMassRunDate AND CAMassRunID = _DunHeader.CAMassRunID AND BusinessPartner = _DunHeader.BusinessPartner AND ContractAccount = _DunHeader.ContractAccount AND CADunningCounter = _DunHeader.CADunningCounter) -- 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_CADunningActivity AS _DunningActivity ON CADunningActivity = _DunningActivity.CADunningActivity -- association [1..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