P_OpenDisputeProcessingTime1

DDL: P_OPENDISPUTEPROCESSINGTIME1 SQL: POPNDISPPRCTIME1 Type: view COMPOSITE

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

Data Sources (1)

SourceAliasJoin Type
P_OpenDisputeCase1 P_OpenDisputeCase1 from

Parameters (3)

NameTypeDefault
P_KeyDate sydate
P_DisplayCurrency vdm_v_display_currency
P_ExchangeRateType kurst_curr

Annotations (4)

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

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY DisputeCaseUUID DisputeCaseUUID UUID
CaseID CaseID Case ID
CompanyCode CompanyCode Receiver Company Code
Customer Customer Sold-to Party
DisputeCaseProcessor DisputeCaseProcessor Processor
DisputeCaseProcessorFullName DisputeCaseProcessorFullName
DisputeCaseRootCause DisputeCaseRootCause Root Cause Code
DisputeCaseCoordinator DisputeCaseCoordinator Coordinator
DsputCaseCoordinatorFullName DsputCaseCoordinatorFullName
DisputeCaseReason DisputeCaseReason Reason
Status Status Workflow Status
CaseProcessingStatus CaseProcessingStatus
DisputeCasePriority DisputeCasePriority
StatusProfile StatusProfile Status Profile
CaseType CaseType Upper/Lowercase
DisputedAmount DisputedAmount Disputed Amount
Currency Currency Valuation Crcy
CaseCreationDate CaseCreationDate
TodayDate TodayDate
ProcessingDays
DisputedAmountInDisplayCrcy DisputedAmountInDisplayCrcy
DisplayCurrency DisplayCurrency Display Currency
_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_OpenDisputeProcessingTime1.
-- 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: POPNDISPPRCTIME1
-- Parameters: P_KeyDate : sydate, P_DisplayCurrency : vdm_v_display_currency, P_ExchangeRateType : kurst_curr

CREATE VIEW P_OpenDisputeProcessingTime1 AS
SELECT
  DisputeCaseUUID,
  CaseID,
  CompanyCode,
  Customer,
  DisputeCaseProcessor,
  DisputeCaseProcessorFullName,
  DisputeCaseRootCause,
  DisputeCaseCoordinator,
  DsputCaseCoordinatorFullName,
  DisputeCaseReason,
  Status,
  CaseProcessingStatus,
  DisputeCasePriority,
  StatusProfile,
  CaseType,
  DisputedAmount,
  Currency,
  CaseCreationDate,
  TodayDate,
  dats_days_between( CaseCreationDate, TodayDate ) AS ProcessingDays,
  DisputedAmountInDisplayCrcy,
  DisplayCurrency
FROM P_OpenDisputeCase1
;