P_ResolvedDisputeCase3

DDL: P_RESOLVEDDISPUTECASE3 SQL: PRESLVDDISPCASE3 Type: view COMPOSITE

P_ResolvedDisputeCase3 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_ResolvedDisputeCase2) and exposes 31 fields with key field DisputeCaseUUID.

Data Sources (1)

SourceAliasJoin Type
P_ResolvedDisputeCase2 P_ResolvedDisputeCase2 from

Parameters (3)

NameTypeDefault
P_KeyDate sydate
P_DisplayCurrency vdm_v_display_currency
P_ExchangeRateType kurst_curr

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName PRESLVDDISPCASE3 view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY DisputeCaseUUID DisputeCaseUUID UUID
CaseID CaseID Case ID
CompanyCode CompanyCode Receiver Company Code
Customer Customer Sold-to Party
DisputeCaseProcessor DisputeCaseProcessor
DisputeCaseProcessorFullName DisputeCaseProcessorFullName
DisputeCaseReason DisputeCaseReason
DisputeCasePriority DisputeCasePriority
DisputeCaseRootCause DisputeCaseRootCause Root Cause Code
DisputeCaseCoordinator DisputeCaseCoordinator Coordinator
DsputCaseCoordinatorFullName DsputCaseCoordinatorFullName
Status Status Workflow Status
StatusProfile StatusProfile Status Profile
CaseProcessingStatus CaseProcessingStatus
CaseType CaseType Upper/Lowercase
OriginalAmountInDisplayCrcy OriginalAmountInDisplayCrcy
DisplayCurrency DisplayCurrency Display Currency
CaseCreationDate CaseCreationDate
CaseClosingDate CaseClosingDate
CurrentYear CurrentYear
CurrentMonth CurrentMonth
CurrentQuarter CurrentQuarter
LastQuarter LastQuarter
CaseClosingYear CaseClosingYear
CaseClosingMonth CaseClosingMonth
CaseClosingQuarter CaseClosingQuarter
IsSolvedCurrentYear IsSolvedCurrentYear
IsSolvedCurrentMonth IsSolvedCurrentMonth
IsSolvedLastMonth IsSolvedLastMonth
IsSolvedLast12Months IsSolvedLast12Months
Last12MonthsResolvingDays

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

CREATE VIEW P_ResolvedDisputeCase3 AS
SELECT
  DisputeCaseUUID,
  CaseID,
  CompanyCode,
  Customer,
  DisputeCaseProcessor,
  DisputeCaseProcessorFullName,
  DisputeCaseReason,
  DisputeCasePriority,
  DisputeCaseRootCause,
  DisputeCaseCoordinator,
  DsputCaseCoordinatorFullName,
  Status,
  StatusProfile,
  CaseProcessingStatus,
  CaseType,
  OriginalAmountInDisplayCrcy,
  DisplayCurrency,
  CaseCreationDate,
  CaseClosingDate,
  CurrentYear,
  CurrentMonth,
  CurrentQuarter,
  LastQuarter,
  CaseClosingYear,
  CaseClosingMonth,
  CaseClosingQuarter,
  IsSolvedCurrentYear,
  IsSolvedCurrentMonth,
  IsSolvedLastMonth,
  IsSolvedLast12Months,
  dats_days_between( CaseCreationDate, CaseClosingDate ) AS Last12MonthsResolvingDays
FROM P_ResolvedDisputeCase2
;