P_OpenClosedDisputeCase3

DDL: P_OPENCLOSEDDISPUTECASE3 SQL: POPNCLSDISPCASE3 Type: view COMPOSITE Package: UDM_DM_CDS

Open and Closed Dispute Cases3

P_OpenClosedDisputeCase3 is a Composite CDS View that provides data about "Open and Closed Dispute Cases3" in SAP S/4HANA. It reads from 1 data source (P_OpenClosedDisputeCase2) and exposes 29 fields with key field DisputeCaseUUID. Part of development package UDM_DM_CDS.

Data Sources (1)

SourceAliasJoin Type
P_OpenClosedDisputeCase2 P_OpenClosedDisputeCase2 from

Parameters (3)

NameTypeDefault
P_KeyDate sydate
P_DisplayCurrency vdm_v_display_currency
P_ExchangeRateType kurst_curr

Annotations (4)

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

Fields (29)

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
StatusProfile StatusProfile Status Profile
CaseProcessingStatus CaseProcessingStatus
CaseType CaseType Upper/Lowercase
Today Today
Before5DaysDate Before5DaysDate
FirstDayOfCurrentMonthDate FirstDayOfCurrentMonthDate
CurrentDay
DisplayCurrency DisplayCurrency Display Currency
CaseCreationDate CaseCreationDate
CaseClosingDate CaseClosingDate
IsCreatedToday IsCreatedToday
IsSolvedToday IsSolvedToday
IsCreatedLast5Days IsCreatedLast5Days
IsSolvedLast5Days IsSolvedLast5Days
IsCreatedCurrentMonth IsCreatedCurrentMonth
IsSolvedCurrentMonth IsSolvedCurrentMonth
_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_OpenClosedDisputeCase3.
-- 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: POPNCLSDISPCASE3
-- Parameters: P_KeyDate : sydate, P_DisplayCurrency : vdm_v_display_currency, P_ExchangeRateType : kurst_curr

CREATE VIEW P_OpenClosedDisputeCase3 AS
SELECT
  DisputeCaseUUID,
  CaseID,
  CompanyCode,
  Customer,
  DisputeCaseProcessor,
  DisputeCaseProcessorFullName,
  DisputeCaseRootCause,
  DisputeCaseCoordinator,
  DsputCaseCoordinatorFullName,
  DisputeCaseReason,
  Status,
  StatusProfile,
  CaseProcessingStatus,
  CaseType,
  Today,
  Before5DaysDate,
  FirstDayOfCurrentMonthDate,
  DATS_DAYS_BETWEEN(FirstDayOfCurrentMonthDate,Today) + 1 AS CurrentDay,
  DisplayCurrency,
  CaseCreationDate,
  CaseClosingDate,
  IsCreatedToday,
  IsSolvedToday,
  IsCreatedLast5Days,
  IsSolvedLast5Days,
  IsCreatedCurrentMonth,
  IsSolvedCurrentMonth
FROM P_OpenClosedDisputeCase2
;