P_SolvedDisputeStatusDuration6

DDL: P_SOLVEDDISPUTESTATUSDURATION6 SQL: PSLVDDSPSTSDURN6 Type: view COMPOSITE

P_SolvedDisputeStatusDuration6 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_SolvedDisputeStatusDuration5) and exposes 7 fields.

Data Sources (1)

SourceAliasJoin Type
P_SolvedDisputeStatusDuration5 P_SolvedDisputeStatusDuration5 from

Annotations (7)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PSLVDDSPSTSDURN6 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (7)

KeyFieldSource TableSource FieldDescription
CaseID CaseID Case ID
LastChangeDateTime LastChangeDateTime Timestamp
StatusBeginDateTime StatusBeginDateTime
clientNULLasLastChangeDate
clientNULLasStatusBeginDate
ChangeDocOldFieldValueText ChangeDocOldFieldValueText
ChangeDocNewFieldValueText ChangeDocNewFieldValueText

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_SolvedDisputeStatusDuration6.
-- 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: PSLVDDSPSTSDURN6

CREATE VIEW P_SolvedDisputeStatusDuration6 AS
SELECT
  CaseID,
  LastChangeDateTime,
  StatusBeginDateTime,
  tstmp_to_dats( LastChangeDateTime , abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as LastChangeDate AS clientNULLasLastChangeDate,
  tstmp_to_dats( StatusBeginDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as StatusBeginDate AS clientNULLasStatusBeginDate,
  ChangeDocOldFieldValueText,
  ChangeDocNewFieldValueText
FROM P_SolvedDisputeStatusDuration5
;