I_ResolvedDisputeCase

DDL: I_RESOLVEDDISPUTECASE SQL: IRESLVDDISPCASE Type: view COMPOSITE Package: UDM_DM_CDS

Resolved Dispute Case - Cube

I_ResolvedDisputeCase (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Financial Operations

I_ResolvedDisputeCase is a Composite CDS View (Cube) that provides data about "Resolved Dispute Case - Cube" in SAP S/4HANA. It reads from 1 data source (P_ResolvedDisputeCase3) and exposes 55 fields with key field DisputeCaseUUID. It has 15 associations to related views. Part of development package UDM_DM_CDS.

SAP Help Documentation

CategoryCDS Views for Dispute Resolution
Data CategoryCube
Purpose
This CDS view is designed to provide a comprehensive overview of resolved dispute cases within an organization. It aggregates and presents data related to dispute cases, including their resolution status, processing details, and financial implications over various time periods. The view is structured to support analytical processing and reporting, enabling users to gain insights into the efficiency and effectiveness of dispute resolution processes in SAP Dispute Management . This CDS view provides the data to answer the following business questions: How many dispute cases have been resolved in the current year, month, and quarter? What are the resolving days for dispute cases over different time periods such as the last 12 months, current month, last month, and current year? What is the total amount of money involved in resolved dispute cases in the display currency for the last 12 months, current month, last month, current year, and last quarter? What are the details of the dispute cases, including customer information, company code, case type, reason, status, priority, and root cause? Who are the processors and coordinators involved in resolving these dispute cases? How does the resolution of dispute cases vary across different customer account groups and authorization groups? What is the trend in dispute case resolution over different periods, and how does it impact the organization's financials? 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 ) KTOKD ( Customer Account Group ) BUKRS ( Company Code ) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Parameters The parameters of the CDS view are as follows: P_ExchangeRateType : This parameter is used to set the exchange rate type for currency conversion. Default value: M ( Standard translation at average rate ) P_DisplayCurrency : This parameter is used to define the currency in which amounts are displayed. Default value: USD P_KeyDate : This parameter is used to specify the key date for data extraction. Important Fields Important fields in this view include the following: Field Name Description DisputeCaseUUID UUID in Character Format Customer Key of Customer in Accounts Receivable Accounting CaseID Case ID CompanyCode Company Code IsSolvedCurrentYear Solved in current year

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-DM-2CL
CapabilitiesData Provider for Analytical Queries,Data Source in SQL Select,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageFinancial Operations for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view is designed to provide a comprehensive overview of resolved dispute cases within an organization. It aggregates and presents data related to dispute cases, including their resolution status, processing details, and financial implications over various time periods. The view is structured to support analytical processing and reporting, enabling users to gain insights into the efficiency and effectiveness of dispute resolution processes in SAP Dispute Management.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>How many dispute cases have been resolved in the current year, month, and quarter?</p></li> <li><p>What are the resolving days for dispute cases over different time periods such as the last 12 months, current month, last month, and current year?</p></li> <li><p>What is the total amount of money involved in resolved dispute cases in the display currency for the last 12 months, current month, last month, current year, and last quarter?</p></li> <li><p>What are the details of the dispute cases, including customer information, company code, case type, reason, status, priority, and root cause?</p></li> <li><p>Who are the processors and coordinators involved in resolving these dispute cases?</p></li> <li><p>How does the resolution of dispute cases vary across different customer account groups and authorization groups?</p></li> <li><p>What is the trend in dispute case resolution over different periods, and how does it impact the organization's financials?</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

Data Sources (1)

SourceAliasJoin Type
P_ResolvedDisputeCase3 P_ResolvedDisputeCase3 from

Parameters (3)

NameTypeDefault
P_KeyDate sydate
P_DisplayCurrency vdm_v_display_currency
P_ExchangeRateType kurst_curr

Associations (15)

CardinalityTargetAliasCondition
[1..1] I_CaseAttributes _CaseUUID _CaseUUID.CaseUUID = $projection.DisputeCaseUUID
[0..1] I_CompanyCode _Company _Company.CompanyCode = $projection.CompanyCode
[0..1] I_Customer _Customer _Customer.Customer = $projection.Customer
[0..1] I_Currency _DisplayCurrency $projection.DisplayCurrency = _DisplayCurrency.Currency
[0..1] I_CaseReason _CaseReason $projection.CaseType = _CaseReason.CaseType and $projection.DisputeCaseReason = _CaseReason.CaseReason
[0..1] I_CaseType _CaseType $projection.CaseType = _CaseType.CaseType
[0..1] I_CaseStatus _CaseStatus $projection.Status = _CaseStatus.Status
[0..1] I_CaseStatProfile _StatProf $projection.StatusProfile = _StatProf.CaseStatusProfile
[0..1] I_CaseIndivStatus _StatusProfile $projection.StatusProfile = _StatusProfile.CaseStatusProfile and $projection.CaseProcessingStatus = _StatusProfile.CaseStatus
[0..1] I_CasePriority _Prio $projection.DisputeCasePriority = _Prio.CasePriority
[0..1] I_RootCause _RootCause $projection.CaseType = _RootCause.CaseType and $projection.DisputeCaseRootCause = _RootCause.DisputeCaseRootCause
[0..1] I_DisputeCaseContact _CaseProcessor $projection.DisputeCaseProcessor = _CaseProcessor.UserID
[0..1] I_DisputeCaseContact _CaseCoordinator $projection.DisputeCaseCoordinator = _CaseCoordinator.UserID
[0..1] I_User _Processor $projection.DisputeCaseProcessor = _Processor.UserID
[0..1] I_User _Coordinator $projection.DisputeCaseCoordinator = _Coordinator.UserID

Annotations (15)

NameValueLevelField
EndUserText.label Resolved Dispute Case - Cube view
AbapCatalog.sqlViewName IRESLVDDISPCASE view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey DisputeCaseUUID view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (55)

KeyFieldSource TableSource FieldDescription
KEY DisputeCaseUUID DisputeCaseUUID UUID in Character Format
Customer Customer Key of Customer in Accounts Receivable Accounting
CaseID CaseID Case ID
CompanyCode CompanyCode Receiver Company Code
CustomerAccountGroup _Customer CustomerAccountGroup Customer Account Group
CustomerBasicAuthorizationGrp _Customer AuthorizationGroup Authorization Group
DisputeCaseProcessor DisputeCaseProcessor Processor
DisputeCaseProcessorFullName Full Name of Processor
DisputeCaseReason Reason for Case
CaseType CaseType Upper/Lowercase
DisputeCaseRootCause Root Cause Code
DisputeCaseCoordinator Coordinator of Dispute Case
DsputCaseCoordinatorFullName Fullname of Coordinator
Status Status Case: System Status
DisputeCasePriority DisputeCasePriority Priority
StatusProfile Case: Status Profile
CaseProcessingStatus Case: Status
DisplayCurrency Display Currency
CaseCreationDate Created On
CaseClosingDate Closed On
CurrentYear Current Year
CurrentMonth Current Month
CurrentQuarter Current Quarter
LastQuarter Last Quarter
CaseClosingYear Closing Year
CaseClosingMonth Closing Month
CaseClosingQuarter Closing Quarter
IsSolvedCurrentYear Solved in current year
IsSolvedCurrentMonth Solved in current month
IsSolvedLastMonth Solved in Last Month
IsSolvedLastQuarter Solved in Last Quarter
IsSolvedLast12Months Solved in last 12 months
Last12MonthsResolvingDays Number of Days in Last 12 Months for solving Dispute Cases
CurrentMonthResolvingDays Number of Days in Current Month for solving Dispute Cases
LastMonthResolvingDays Number of Days in Last Month for solving Dispute Cases
CurrentYearResolvingDays Number of Days in Current Year for solving Dispute Cases
Last12MnthsSlvdAmtInDspCrcy Solved Amount in Last 12 Months
CurMonthSolvedAmtInDspCrcy Solved Amount Current Month
LastMonthSolvedAmtInDspCrcy Solved Amount In Last Month
CurYearSolvedAmtInDspCrcy Solved Amount Current Year
_CaseUUID _CaseUUID
_Customer _Customer
_Company _Company
_CaseType _CaseType
_CaseReason _CaseReason
_CaseStatus _CaseStatus
_StatProf _StatProf
_StatusProfile _StatusProfile
_Prio _Prio
_RootCause _RootCause
_DisplayCurrency _DisplayCurrency
_CaseProcessor _CaseProcessor
_CaseCoordinator _CaseCoordinator
_Processor _Processor
_Coordinator _Coordinator

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_ResolvedDisputeCase.
-- 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: IRESLVDDISPCASE
-- Parameters: P_KeyDate : sydate, P_DisplayCurrency : vdm_v_display_currency, P_ExchangeRateType : kurst_curr

CREATE VIEW I_ResolvedDisputeCase AS
SELECT
  DisputeCaseUUID,
  Customer,
  CaseID,
  CompanyCode,
  _Customer.CustomerAccountGroup AS CustomerAccountGroup,
  _Customer.AuthorizationGroup AS CustomerBasicAuthorizationGrp,
  DisputeCaseProcessor,
  cast( DisputeCaseProcessorFullName as farp_processor_full_name preserving type ) AS DisputeCaseProcessorFullName,
  cast( DisputeCaseReason as scmg_reason_code preserving type ) AS DisputeCaseReason,
  CaseType,
  cast( DisputeCaseRootCause as udm_root_ccode preserving type ) AS DisputeCaseRootCause,
  cast( DisputeCaseCoordinator as udm_coordinator preserving type ) AS DisputeCaseCoordinator,
  cast( DsputCaseCoordinatorFullName as farp_coordinator_full_name preserving type ) AS DsputCaseCoordinatorFullName,
  Status,
  DisputeCasePriority,
  cast( StatusProfile as scmgstatusprofid preserving type ) AS StatusProfile,
  cast( CaseProcessingStatus as scmgstatusonr preserving type) AS CaseProcessingStatus,
  cast( DisplayCurrency as disp_curr preserving type ) AS DisplayCurrency,
  cast( CaseCreationDate as udm_create_date preserving type ) AS CaseCreationDate,
  cast( CaseClosingDate as udm_closing_date preserving type ) AS CaseClosingDate,
  cast( CurrentYear as currentyear preserving type ) AS CurrentYear,
  cast( CurrentMonth as currentmonth preserving type ) AS CurrentMonth,
  cast( CurrentQuarter as currentquarter) AS CurrentQuarter,
  cast( LastQuarter as lastquarter ) AS LastQuarter,
  cast( CaseClosingYear as caseclosingyear preserving type ) AS CaseClosingYear,
  cast( CaseClosingMonth as caseclosingmonth preserving type ) AS CaseClosingMonth,
  cast( CaseClosingQuarter as caseclosingquarter ) AS CaseClosingQuarter,
  cast( IsSolvedCurrentYear as farp_solvedincurrentyear ) AS IsSolvedCurrentYear,
  cast( IsSolvedCurrentMonth as farp_solvedincurrentmonth ) AS IsSolvedCurrentMonth,
  cast( IsSolvedLastMonth as farp_solvedinlastmonth ) AS IsSolvedLastMonth,
  cast( IsSolvedLastQuarter as farp_solvedinlastquarter ) AS IsSolvedLastQuarter,
  cast( IsSolvedLast12Months as farp_solvedinlast12months) AS IsSolvedLast12Months,
  cast( Last12MonthsResolvingDays as farp_last12monthsresolvingdays preserving type ) AS Last12MonthsResolvingDays,
  cast( CurrentMonthResolvingDays as farp_currentmonthresolvingdays preserving type ) AS CurrentMonthResolvingDays,
  cast( LastMonthResolvingDays as farp_lastmonthresolvingdays preserving type ) AS LastMonthResolvingDays,
  cast( CurrentYearResolvingDays as farp_currentyearresolvingdays preserving type ) AS CurrentYearResolvingDays,
  cast( OriginalAmountInDisplayCrcy as farp_solvedamtlast12months ) AS Last12MnthsSlvdAmtInDspCrcy,
  cast( CurMonthSolvedAmtInDspCrcy as farp_solvedamtcurrentmonth ) AS CurMonthSolvedAmtInDspCrcy,
  cast( LastMonthSolvedAmtInDspCrcy as farp_solvedamtlastmonth ) AS LastMonthSolvedAmtInDspCrcy,
  cast( CurrentYearSolvedAmtInDspCrcy as farp_solvedamtcurrentyear ) AS CurYearSolvedAmtInDspCrcy
FROM P_ResolvedDisputeCase3
LEFT OUTER JOIN I_CaseAttributes AS _CaseUUID ON _CaseUUID.CaseUUID = DisputeCaseUUID  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _Company ON _Company.CompanyCode = CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON _Customer.Customer = Customer  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DisplayCurrency ON DisplayCurrency = _DisplayCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_CaseReason AS _CaseReason ON CaseType = _CaseReason.CaseType AND DisputeCaseReason = _CaseReason.CaseReason  -- association [0..1]
LEFT OUTER JOIN I_CaseType AS _CaseType ON CaseType = _CaseType.CaseType  -- association [0..1]
LEFT OUTER JOIN I_CaseStatus AS _CaseStatus ON Status = _CaseStatus.Status  -- association [0..1]
LEFT OUTER JOIN I_CaseStatProfile AS _StatProf ON StatusProfile = _StatProf.CaseStatusProfile  -- association [0..1]
LEFT OUTER JOIN I_CaseIndivStatus AS _StatusProfile ON StatusProfile = _StatusProfile.CaseStatusProfile AND CaseProcessingStatus = _StatusProfile.CaseStatus  -- association [0..1]
LEFT OUTER JOIN I_CasePriority AS _Prio ON DisputeCasePriority = _Prio.CasePriority  -- association [0..1]
LEFT OUTER JOIN I_RootCause AS _RootCause ON CaseType = _RootCause.CaseType AND DisputeCaseRootCause = _RootCause.DisputeCaseRootCause  -- association [0..1]
LEFT OUTER JOIN I_DisputeCaseContact AS _CaseProcessor ON DisputeCaseProcessor = _CaseProcessor.UserID  -- association [0..1]
LEFT OUTER JOIN I_DisputeCaseContact AS _CaseCoordinator ON DisputeCaseCoordinator = _CaseCoordinator.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _Processor ON DisputeCaseProcessor = _Processor.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _Coordinator ON DisputeCaseCoordinator = _Coordinator.UserID  -- association [0..1]
;