P_WrntySuplrClaimVersionMax

DDL: P_WRNTYSUPLRCLAIMVERSIONMAX SQL: PWTYSUPLRCLMVRNM Type: view COMPOSITE

Maximum warranty claim version

P_WrntySuplrClaimVersionMax is a Composite CDS View that provides data about "Maximum warranty claim version" in SAP S/4HANA. It reads from 1 data source (I_WrntyClaimVersion) and exposes 3 fields with key field WrntyClaimHeaderUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_WrntyClaimVersion I_WrntyClaimVersion from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_WrntyClaimHeader _WrntyClaimHeader $projection.WrntyClaimHeaderUUID = _WrntyClaimHeader.WrntyClaimHeaderUUID

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PWTYSUPLRCLMVRNM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Maximum warranty claim version view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY WrntyClaimHeaderUUID WrntyClaimHeaderUUID Internal Number
WrntyVersionNumber
_WrntyClaimHeader _WrntyClaimHeader

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_WrntySuplrClaimVersionMax.
-- 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: PWTYSUPLRCLMVRNM

CREATE VIEW P_WrntySuplrClaimVersionMax AS
SELECT
  WrntyClaimHeaderUUID,
  max(WrntyVersionNumber) AS WrntyVersionNumber
FROM I_WrntyClaimVersion
LEFT OUTER JOIN I_WrntyClaimHeader AS _WrntyClaimHeader ON WrntyClaimHeaderUUID = _WrntyClaimHeader.WrntyClaimHeaderUUID  -- association [1..1]
;