C_CADunningNoticeDunReduction

DDL: C_CADUNNINGNOTICEDUNREDUCTION SQL: CCADUNNREDUCTION Type: view CONSUMPTION Package: ODATA_O2C_FICA_DUNNOTICE_MAINT

Consumption View for Dunning Reduction

C_CADunningNoticeDunReduction is a Consumption CDS View that provides data about "Consumption View for Dunning Reduction" in SAP S/4HANA. It reads from 1 data source (I_CADunningReduction) and exposes 15 fields with key fields CAMassRunDate, CAMassRunID, BusinessPartner, ContractAccount, CADunningCounter. It is exposed through 2 OData services (ASQL_F8301, UI_CAACCOUNTBALANCE_DISPLAY). Part of development package ODATA_O2C_FICA_DUNNOTICE_MAINT.

Data Sources (1)

SourceAliasJoin Type
I_CADunningReduction I_CADunningReduction from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CCADUNNREDUCTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Consumption View for Dunning Reduction view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F8301 ASQL_F8301 C2 NOT_RELEASED
UI_CAACCOUNTBALANCE_DISPLAY UI_CAACCOUNTBALANCE_DISPLAY V4 C1 NOT_RELEASED

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CAMassRunDate CAMassRunDate Date ID
KEY CAMassRunID CAMassRunID Run ID
KEY BusinessPartner BusinessPartner Issuing Authority
KEY ContractAccount ContractAccount Contract Acct
KEY CADunningCounter CADunningCounter Dunning counter
KEY CADunningReductionType CADunningReductionType Object Type
KEY DisputeCaseUUID DisputeCaseUUID UUID
CADisputeCase CADisputeCase Dispute Case
CADisputeCaseExternalRef External Reference
CADunningReductionAmount CADunningReductionAmount Dunning Reduction Amount
TransactionCurrency TransactionCurrency Transaction Currency
CADisputeType Dispute Type
CADisputeTypeName
CAAuthorizationGroup
CAProviderContractAuthznGroup

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_CADunningNoticeDunReduction.
-- 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: CCADUNNREDUCTION

CREATE VIEW C_CADunningNoticeDunReduction AS
SELECT
  CAMassRunDate,
  CAMassRunID,
  BusinessPartner,
  ContractAccount,
  CADunningCounter,
  CADunningReductionType,
  DisputeCaseUUID,
  CADisputeCase,
  cast(CADisputeCaseExternalRef as ext_ref preserving type) AS CADisputeCaseExternalRef,
  CADunningReductionAmount,
  TransactionCurrency,
  cast(CADisputeType as reason_gfn preserving type) AS CADisputeType,
  _CADisputeType._Text[1:Language = $session.system_language].CADisputeTypeName AS CADisputeTypeName,
  _DunHeader._CAPartner.CAAuthorizationGroup AS CAAuthorizationGroup,
  _DunHeader._ProviderContract.CAAuthorizationGroup AS CAProviderContractAuthznGroup
FROM I_CADunningReduction
;