P_OpenDisputeProcessingTime3

DDL: P_OPENDISPUTEPROCESSINGTIME3 SQL: POPNDISPPRCTIME3 Type: view COMPOSITE

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

Data Sources (1)

SourceAliasJoin Type
P_OpenDisputeProcessingTime2 P_OpenDisputeProcessingTime2 from

Parameters (3)

NameTypeDefault
P_KeyDate sydate
P_DisplayCurrency vdm_v_display_currency
P_ExchangeRateType kurst_curr

Annotations (4)

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

Fields (32)

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
DisputeCaseRootCause DisputeCaseRootCause Root Cause Code
DisputeCaseCoordinator DisputeCaseCoordinator Coordinator
DsputCaseCoordinatorFullName DsputCaseCoordinatorFullName
DisputeCaseReason DisputeCaseReason
Status Status Workflow Status
DisputeCasePriority DisputeCasePriority
StatusProfile StatusProfile Status Profile
CaseProcessingStatus CaseProcessingStatus
CaseType CaseType Upper/Lowercase
DisputedAmount DisputedAmount Disputed Amount
Currency Currency Valuation Crcy
CaseCreationDate CaseCreationDate
TodayDate TodayDate
ProcessingDays ProcessingDays
DisputedAmountInDisplayCrcy DisputedAmountInDisplayCrcy
DisplayCurrency DisplayCurrency Display Currency
50endendendendendendasProcessingDaysText
CaseIsCrtedInFirstIntvl CaseIsCrtedInFirstIntvl
CaseIsCrtedInSecondIntvl CaseIsCrtedInSecondIntvl
CaseIsCrtedInThirdIntvl CaseIsCrtedInThirdIntvl
CaseIsCrtedInFourthIntvl CaseIsCrtedInFourthIntvl
CaseIsCrtedInFifthIntvl CaseIsCrtedInFifthIntvl
CaseIsCrtedInSixthIntvl CaseIsCrtedInSixthIntvl
CaseIsCrtedInSeventhIntvl CaseIsCrtedInSeventhIntvl
_Customer _Customer
_CompanyCode _CompanyCode

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

CREATE VIEW P_OpenDisputeProcessingTime3 AS
SELECT
  DisputeCaseUUID,
  CaseID,
  CompanyCode,
  Customer,
  DisputeCaseProcessor,
  DisputeCaseProcessorFullName,
  DisputeCaseRootCause,
  DisputeCaseCoordinator,
  DsputCaseCoordinatorFullName,
  DisputeCaseReason,
  Status,
  DisputeCasePriority,
  StatusProfile,
  CaseProcessingStatus,
  CaseType,
  DisputedAmount,
  Currency,
  CaseCreationDate,
  TodayDate,
  ProcessingDays,
  DisputedAmountInDisplayCrcy,
  DisplayCurrency,
  case when CaseIsCrtedInFirstIntvl = 1 then 'A. 0' else case when CaseIsCrtedInSecondIntvl = 1 then 'B. 1-2' else case when CaseIsCrtedInThirdIntvl = 1 then 'C. 3-5' else case when CaseIsCrtedInFourthIntvl = 1 then 'D. 6-10' else case when CaseIsCrtedInFifthIntvl = 1 then 'E. 11-20' else case when CaseIsCrtedInSixthIntvl = 1 then 'F. 21-50' else 'G. >50' end end end end end end as ProcessingDaysText AS 50endendendendendendasProcessingDaysText,
  CaseIsCrtedInFirstIntvl,
  CaseIsCrtedInSecondIntvl,
  CaseIsCrtedInThirdIntvl,
  CaseIsCrtedInFourthIntvl,
  CaseIsCrtedInFifthIntvl,
  CaseIsCrtedInSixthIntvl,
  CaseIsCrtedInSeventhIntvl
FROM P_OpenDisputeProcessingTime2
;