I_CADunningReduction
Mahnkürzungen
I_CADunningReduction is a Basic CDS View that provides data about "Mahnkürzungen" in SAP S/4HANA. It reads from 1 data source (fkkmareduct) and exposes 18 fields with key fields CAMassRunDate, CAMassRunID, BusinessPartner, ContractAccount, CADunningCounter. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fkkmareduct | fkkmareduct | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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_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) |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Mahnkürzungen | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | ICADUNNREDUCTION | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CAMassRunDate | laufd | Run On | |
| KEY | CAMassRunID | Settlement ID | ||
| KEY | BusinessPartner | Tech. BPartner | ||
| KEY | ContractAccount | Tech. CtrAcct | ||
| KEY | CADunningCounter | mazae | Dunning counter | |
| KEY | CADunningReductionType | obj1t | Object Type | |
| KEY | DisputeCaseUUID | obj1r | Character field, length 32 | |
| CADisputeCase | Ref. Int. Rate | |||
| CADisputeCaseExternalRef | ext_ref | External Reference | ||
| CAAmountInLocalCurrency | betrh | Local Crcy Amt | ||
| CADunningReductionAmount | Reduction Amt | |||
| TransactionCurrency | Transaction Currency | |||
| LocalCurrency | Local Currency | |||
| CADisputeType | reason | Sp.Tax Code Reason | ||
| _BusinessPartner | _BusinessPartner | |||
| _CAPartner | _CAPartner | |||
| _CAHeader | _CAHeader | |||
| _DunHeader | _DunHeader |
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_CADunningReduction.
-- 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: ICADUNNREDUCTION
CREATE VIEW I_CADunningReduction AS
SELECT
laufd AS CAMassRunDate,
cast(laufi as laufi_kk preserving type) AS CAMassRunID,
cast(gpart as bu_partner preserving type) AS BusinessPartner,
cast(vkont as vkont_gfn_kk preserving type) AS ContractAccount,
mazae AS CADunningCounter,
obj1t AS CADunningReductionType,
obj1r AS DisputeCaseUUID,
cast(int_ref as fdm_ext_key) AS CADisputeCase,
ext_ref AS CADisputeCaseExternalRef,
betrh AS CAAmountInLocalCurrency,
cast(betrw as rsalm_kk preserving type) AS CADunningReductionAmount,
cast(waers as fis_rwcur preserving type) AS TransactionCurrency,
cast(hwaer as fc_curr preserving type) AS LocalCurrency,
reason AS CADisputeType
FROM fkkmareduct
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_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]
;
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